Experimental HTML templates linting for Jinja, Nunjucks, Django templates, Twig, Liquid
patch_click
to fix compatibility issue with click 8.1.0. Fix #132 (#133). Thanks to @jmsmkn and @adamchainz!no_autofocus
and tabindex_no_positive
.This release comes with a blog post! Read on Quality-of-life improvements.
requirements.txt
(#68).Python 3.10.0a6+
).image_alt
rule no longer crashes when encountering template conditionals in img attributes (#57). Thanks to @adrien-delhorme.Release notes from the blog: Accessibility linting rules
django_forms_rendering
rule.image_alt
rule.no_autofocus
rule.tabindex_no_positive
rule.meta_viewport
rule.clipPath
.--print-config
.--print-config
flag running linting when no config is found for the given file.--rule
declarations.html_has_lang
not raising an error when the HTML element has no lang
but has other attributes.--print-config
CLI flag to print the configuration for the given file.html_has_lang
rule.aria_role
rule.parse-error
errors to parse_error
.<path />
.[tool.curlylint.rules]
.indent = 'tab'
.--rule
: curlylint --rule 'indent: 2' template-directory/
.py.typed
file and Typing :: Typed
classifier.--stdin-filepath
CLI flag to provide a pretend path when linting standard input.indent = 4
underneath [tool.curlylint.rules]
, instead of a top-level indent-size
configuration.--format
CLI parameter / format
config attribute.--format json --quiet
.stylish
reporter and make it the default. compact
is still available via --format compact
.indent
and parse-error
for the two existing checks.attrs
dependency from attrs==17.2.0
to attrs>=17.2.0
.viewBox
).