Add prettier pre-commit hook
This commit is contained in:
parent
044a7f1c06
commit
71269377b4
7 changed files with 235 additions and 167 deletions
|
@ -13,3 +13,9 @@ repos:
|
|||
hooks:
|
||||
- id: djlint-django
|
||||
args: ["--reformat"]
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.0-alpha.6"
|
||||
hooks:
|
||||
- id: prettier
|
||||
types_or: ["css", "javascript"]
|
||||
exclude: "fontawesome/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue