fix(ci): correct pre-commit to only run on appropriate files
This commit is contained in:
parent
99e21a098b
commit
af34d91432
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
"check": "astro check"
|
"check": "astro check"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*": [
|
"*.{js,ts,jsx,tsx,json,css,scss,md,astro,html}": [
|
||||||
"prettier --write",
|
"prettier --write",
|
||||||
"astro check"
|
"astro check"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue