Closed Flowtter closed 1 year ago
Just adding my 2cents here, but why adding another linter (djlint
) instead of adding a new plugin for eslint for handlebars?
See this plugin.
Just adding my 2cents here, but why adding another linter (
djlint
) instead of adding a new plugin for eslint for handlebars?See this plugin.
My initial goal was to use a specific linter for each language. That was wrong. I think I'll use Prettier at the end since it has a plugin for handlebars, stylelint, editorconfig and eslint.
Choosing djlint
was a poor choice, and I'll take the time to fix this PR ASAP.
This PR reformat all the code and add pre-commit checks and GitHub actions tests.
![image](https://user-images.githubusercontent.com/34689945/194836220-48c77d3e-5741-4fef-8f50-035678c7c70a.png)
You'll also need to merge it without a rebase to keep the hash of the commit for the git-blame-ignore-revs.