Skip to content

Commit da965b7

Browse files
committed
refactor(lint-staged): Run prettier only for modified files
1 parent bb79736 commit da965b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"lint-staged": {
6868
"{test,src}/**/*.{js,jsx,ts,tsx}": [
69-
"npm run format",
69+
"prettier --tab-width 4 --single-quote --write",
7070
"git add"
7171
]
7272
},

0 commit comments

Comments
 (0)