-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
I propose adding a linter and integrating it into GitHub Actions to prevent typical errors and issues in pull requests (PRs).
For example, to prevent issues like #127, it’s possible to use an automatic check with a tool such as j2lint.
P.S. Example of j2lint output on current j2 file with an error:
❯ j2lint roles/mirrorlist/templates/reflector-update.sh.j2
───────────────────────────────────────────────────── JINJA2 LINT ERRORS ──────────────────────────────────────────────────────
roles/mirrorlist/templates/reflector-update.sh.j2
└── roles/mirrorlist/templates/reflector-update.sh.j2:2 unexpected '}' (jinja-syntax-error)
Jinja2 linting finished with 1 error(s) and 0 warning(s)
Metadata
Metadata
Assignees
Labels
No labels