Skip to content

Commit

Permalink
Add Jinja2/HTML linting and formatting (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Mar 24, 2024
1 parent fcc9d26 commit c3c0e56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .djlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore": "H021,H030,H031"
}
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ repos:
hooks:
- id: prettier
types_or: [css, javascript]
- repo: https://github.com/djlint/djLint
rev: v1.34.1
hooks:
- id: djlint

0 comments on commit c3c0e56

Please sign in to comment.