Skip to content

Commit

Permalink
better prettier commands
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekbh committed Jun 6, 2019
1 parent 2a539a1 commit 945f2da
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@
"webpack-cli": "^3.2.1"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write --config ./.prettierrc",
"git add"
],
"tests/**/*.js": [
"prettier --write --config ./.prettierrc",
"{src, tests}/**/*.js": [
"prettier --write",
"git add"
]
},
Expand Down

0 comments on commit 945f2da

Please sign in to comment.