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
I've:
False positive on H026 ruling when linting -- happens when "id" is part of a tag property.
With the following the rule procs: <input type="number" name="account_id" placeholder="enter account ID here" />
<input type="number" name="account_id" placeholder="enter account ID here" />
despite having no class or id tag - removing ID and account_ud fixes the issue linter, but I need those values for those tags.
class
id
ID
account_ud
It is to be said I am using pre-commit hooks, whose configuration is as thus:
{ "indent": 2, "ignore": "H030,H031", "profile": "jinja" }
with pre-commit hook as thus:
- repo: https://github.com/djlint/djLint rev: v1.35.2 hooks: - id: djlint-reformat-jinja - id: djlint-jinja
I saw a similar issue here, but it was fixed, I think this might be a related issue: #711
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've:
System Info
Issue
False positive on H026 ruling when linting -- happens when "id" is part of a tag property.
How To Reproduce
With the following the rule procs:
<input type="number" name="account_id" placeholder="enter account ID here" />
despite having no
class
orid
tag - removingID
andaccount_ud
fixes the issue linter, but I need those values for those tags.Contents of djlint.toml/.djlintrc/pyproject.toml [tool.djlint]
It is to be said I am using pre-commit hooks, whose configuration is as thus:
with pre-commit hook as thus:
Notes
I saw a similar issue here, but it was fixed, I think this might be a related issue: #711
The text was updated successfully, but these errors were encountered: