mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
tweak lint-staged
This commit is contained in:
parent
d8e22cdece
commit
a3e623d89c
@ -31,14 +31,14 @@
|
||||
"lint:staged": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,astro}": [
|
||||
"npm run lint:js"
|
||||
"*.{ts,tsx,astro.json}": [
|
||||
"eslint"
|
||||
],
|
||||
"*.css": [
|
||||
"npm run lint:css"
|
||||
"stylelint --config '.config/.stylelintrc.json'"
|
||||
],
|
||||
"*.md": [
|
||||
"npm run lint:md"
|
||||
"markdownlint --config '.config/.markdownlint.json'"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user