Open iameru opened 2 years ago
Trying out curlylint, using it in pre-commit rev: "v0.13.1"
rev: "v0.13.1"
Im editing some jinja2 templating file. In it I have a block
... {% for xyz in xyzs %} <do>stuff</do> {% endfor %}
curlylint now complains:
Parse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 24:5 parse_error
jinja2 of course renders just fine.
for now I'll stop using it. Might drop in later again. In case you need more info let me know
That code works just fine:
Lint output:
Trying out curlylint, using it in pre-commit
rev: "v0.13.1"
Im editing some jinja2 templating file. In it I have a block
curlylint now complains:
jinja2 of course renders just fine.
for now I'll stop using it. Might drop in later again. In case you need more info let me know