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