chore: prettier then eslint on lint-staged
This commit is contained in:
parent
64ff5a0996
commit
abff8c4082
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@
|
|||
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
|
||||
"lint-staged": {
|
||||
"*.{js,mjs,astro,ts}": [
|
||||
"eslint --cache --fix",
|
||||
"prettier --write"
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
],
|
||||
"*.json": [
|
||||
"prettier --write"
|
||||
|
|
Loading…
Reference in a new issue