Skip to content

Commit f0e605f

Browse files
authored
fix(precommit-hook): fixed pre commit hook to use lint-staged (#666)
1 parent 4c85e34 commit f0e605f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun lint
1+
bunx lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"lint-staged": {
5050
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
51-
"biome check --files-ignore-unknown=true"
51+
"biome check --write --files-ignore-unknown=true"
5252
],
5353
"!.github/*.md": []
5454
}

0 commit comments

Comments
 (0)