Skip to content

Commit b914e70

Browse files
authored
chore: auto format on pre-commit hook (#484)
1 parent 38590e1 commit b914e70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
},
3939
"lint-staged": {
4040
"*.@(js|ts|tsx)": [
41-
"oxlint -- --fix"
41+
"vite run lint --fix",
42+
"vite fmt --no-error-on-unmatched-pattern"
4243
],
4344
"*.rs": [
4445
"cargo fmt --"

0 commit comments

Comments
 (0)