Skip to content

Commit d388dc1

Browse files
authored
chore: revert oxlint --fix-dangerously in pre-commit hook (tldraw#8427)
Reverts tldraw#8414 which added `oxlint --fix-dangerously` to the lint-staged pre-commit hook. ### Change type - [x] `other` ### Test plan - [x] Pre-commit hook runs without `--fix-dangerously` ### Code changes | Section | LOC change | | -------------- | ---------- | | Config/tooling | +1 / -5 |
1 parent 2e3b042 commit d388dc1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,7 @@
8383
},
8484
"packageManager": "yarn@4.12.0",
8585
"lint-staged": {
86-
"*.{js,jsx,ts,tsx}": [
87-
"oxlint --fix-dangerously --no-error-on-unmatched-pattern",
88-
"oxfmt --write --no-error-on-unmatched-pattern"
89-
],
90-
"*.{cjs,mjs,css,md,mdx,html,yml,yaml}": [
86+
"*.{js,jsx,ts,tsx,cjs,mjs,css,md,mdx,html,yml,yaml}": [
9187
"oxfmt --no-error-on-unmatched-pattern"
9288
]
9389
},

0 commit comments

Comments
 (0)