We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python --version
djlint --version
This block of code gets collapsed to one line
{% for class in classes %} console.log("{{ class }}") {% endfor %}
i.e. {% for class in classes %}console.log("{{ class }}"){% endfor %}
{% for class in classes %}console.log("{{ class }}"){% endfor %}
which results in a syntax error.
I've tried a bunch of configurations but can't seem to stop this behaviour.
I am using djlint in a pre-commit hook to lint and format my code.
Trying to ignore the section of code using djlint:off doesn't work either, it just gets formatted regardless.
[tool.djlint] profile = "django" ignore = "H031,T003,H021,H030,H005,H006,D018,H023,H019" indent_size=2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System Info
python --version
) 3.12.7djlint --version
) 1.36.3Issue
This block of code gets collapsed to one line
i.e.
{% for class in classes %}console.log("{{ class }}"){% endfor %}
which results in a syntax error.
I've tried a bunch of configurations but can't seem to stop this behaviour.
I am using djlint in a pre-commit hook to lint and format my code.
Trying to ignore the section of code using djlint:off doesn't work either, it just gets formatted regardless.
The text was updated successfully, but these errors were encountered: