1
0
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:
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": "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": {