chore: update lint-staged config
This commit is contained in:
parent
9e6c75502a
commit
2e427fc1cc
1 changed files with 3 additions and 3 deletions
|
@ -33,9 +33,9 @@
|
||||||
"vitest": "^2.1.8"
|
"vitest": "^2.1.8"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,mjs,ts}": [
|
"*.{js,ts,mjs,cjs,json,.*rc}": [
|
||||||
"prettier --write",
|
"npx prettier --write",
|
||||||
"eslint --fix"
|
"npx eslint --fix"
|
||||||
],
|
],
|
||||||
"*.json": [
|
"*.json": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
|
|
Loading…
Reference in a new issue