Skip to content

Commit 9d29fcf

Browse files
committed
chore: Run prettier only on js files
1 parent 2d5bf09 commit 9d29fcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
"precommit": "lint-staged"
6969
},
7070
"lint-staged": {
71-
"*.{json,md}": ["prettier-eslint --write", "git add"],
72-
"*.{js}": ["prettier-eslint --write", "eslint --fix", "git add"]
71+
"*.{js}": ["prettier-eslint --write", "git add"]
7372
},
7473
"jest": {
7574
"testEnvironment": "node",

0 commit comments

Comments
 (0)