ghickman, 20 days ago What are folks using for linting and/or formatting #django templates these days?
What are folks using for linting and/or formatting #django templates these days?
webology, 20 days ago @ghickman Djhtml but I need to compare it against curlylint again.
@ghickman Djhtml but I need to compare it against curlylint again.
danjac, 20 days ago @ghickman djlint
@ghickman djlint
e11bits, 20 days ago @ghickman Nice, I could see myself using this as a pre-commit. @danjac How good is the formatting in your experience? Because the docs say: "Formatting is a beta tool." https://www.djlint.com/docs/integrations/
@ghickman Nice, I could see myself using this as a pre-commit.
@danjac How good is the formatting in your experience? Because the docs say: "Formatting is a beta tool."
https://www.djlint.com/docs/integrations/
danjac, 20 days ago @e11bits @ghickman it's fine. I use it with pre-commit and my IDE and works ok, you can use"djlint:off" comments to keep the original formatting when it doesn't quite do what you want. Unlike prettier it doesn't mess up Django template syntax.
@e11bits @ghickman it's fine. I use it with pre-commit and my IDE and works ok, you can use"djlint:off" comments to keep the original formatting when it doesn't quite do what you want. Unlike prettier it doesn't mess up Django template syntax.
Add comment