chore: lint mdx in lint-staged
This commit is contained in:
@@ -167,7 +167,7 @@
|
|||||||
"pnpm": ">=8"
|
"pnpm": ">=8"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{md,yml,json}": "prettier --write",
|
"*.{md,mdx,yml,json}": "prettier --write",
|
||||||
"*.{js,jsx,ts,tsx}": [
|
"*.{js,jsx,ts,tsx}": [
|
||||||
"prettier --write",
|
"prettier --write",
|
||||||
"eslint --cache --fix"
|
"eslint --cache --fix"
|
||||||
|
|||||||
Reference in New Issue
Block a user