Skip to content

Commit

Permalink
fix: run lint-staged only on the changed files (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
epicfaace authored and edi9999 committed Jul 30, 2019
1 parent c8c0249 commit 1d3e433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi --tab-width 2",
"lint-staged": {
"{playground,src,test}/**/*.js": [
"npm run lint",
"npm run cs-format",
"eslint --fix",
"prettier --jsx-bracket-same-line --trailing-comma es5 --use-tabs false --semi --tab-width 2 --write",
"git add"
]
},
Expand Down

0 comments on commit 1d3e433

Please sign in to comment.