precommit only check prettier if html/css/js/json (#1786)
add precommit checks only for types
This commit is contained in:
parent
d66c83c91a
commit
28a55b2d41
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ repos:
|
||||||
rev: '50c5478ed9e10bf360335449280cf2a67f4edb7a'
|
rev: '50c5478ed9e10bf360335449280cf2a67f4edb7a'
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
types_or: [css, javascript, html, json]
|
||||||
args: ['lnbits']
|
args: ['lnbits']
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
rev: 6.0.0
|
rev: 6.0.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue