Skip to content

Commit 456077a

Browse files
committed
chore(projects): update lint-staged config
1 parent 908bcd4 commit 456077a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
"pre-commit": "pnpm lint-staged"
6262
},
6363
"lint-staged": {
64-
"*.{js,json,ts}": [
65-
"eslint . --fix"
66-
]
64+
"*.{js,mjs,jsx,ts,mts,tsx,json,vue,svelte}": "eslint . --fix",
65+
"*.!{js,mjs,jsx,ts,mts,tsx,json,vue,svelte}": "format"
6766
}
6867
}

0 commit comments

Comments
 (0)