Skip to content

Commit 1d3e433

Browse files
epicfaaceedi9999
authored andcommitted
fix: run lint-staged only on the changed files (rjsf-team#1373)
1 parent c8c0249 commit 1d3e433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi --tab-width 2",
2525
"lint-staged": {
2626
"{playground,src,test}/**/*.js": [
27-
"npm run lint",
28-
"npm run cs-format",
27+
"eslint --fix",
28+
"prettier --jsx-bracket-same-line --trailing-comma es5 --use-tabs false --semi --tab-width 2 --write",
2929
"git add"
3030
]
3131
},

0 commit comments

Comments
 (0)