1
0
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:
Matthias Kretschmann 2023-10-30 13:37:40 +00:00
parent d8e22cdece
commit a3e623d89c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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": {