jinjalint
jinjalint copied to clipboard
A linter for Jinja-like templates
Related to #1. This documents the available config options and CLI flags. There aren't many of either, but this will make it that much faster for people looking into this...
the requirements.txt state a strict equality on 17.2.0 , is it necessary ? as it seems to make jinjalint incompatible with other popular tool (I can provide a PR if...
How can i exclude a file from being linted? @motet-a Or, could I have multiple config files for the same project? Also is there more documentation on what I can...
jinjalint reports no syntax error with this code ```jinja2 {% for a, b, in [(1, 1), (2, 2)] %} {% endfor %} ``` while actual jinja reports ``` Syntax error...
``` {% call a('b') %} blah blah {% endcall %} {# comment #} ``` The above jinja code causes ``` jinjalint test.html test.html:1:0: Expected at most one space at the...
I am getting the error `An inline parent element must only contain inline children` on the file : ```html {% include "parts/html_head.html" %} {% include "parts/header.html" %} {% include "parts/get_the_app.html"...
Given the following Django template, ```html {% if has_sidebar %} {% else %} {% endif %} Main content {% if has_sidebar %} Sidebar ``` Jinjalint will produce the following parse...
`codecov` seems to do a great job.