fix: lint md files
This commit is contained in:
parent
7b21a5b384
commit
55b45b8305
7 changed files with 43 additions and 36 deletions
|
@ -55,15 +55,15 @@
|
|||
"tailwindcss": "^3.0.18"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{js,jsx,ts,tsx,json}": [
|
||||
"**/*.{js,ts,json}": [
|
||||
"npx prettier --write",
|
||||
"npx eslint --fix"
|
||||
],
|
||||
"**/*.scss": [
|
||||
"npx prettier --write"
|
||||
],
|
||||
"**/*.md": [
|
||||
"npx markdownlint --fix"
|
||||
"**/*.{md,markdown}": [
|
||||
"npx markdownlint --config ./markdownlint.config.json --fix"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue