mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-09 06:54:07 +02:00
precommit only check prettier if html/css/js/json (#1786)
add precommit checks only for types
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user