Skip to content

Commit

Permalink
chore(script): adds prettier only to src files
Browse files Browse the repository at this point in the history
  • Loading branch information
sankhadeeproy007 committed Sep 11, 2019
1 parent 0ff77d9 commit a1757e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && pretty-quick --staged"
"pre-commit": "npm run lint && pretty-quick --staged --pattern \"src/**/*.{js, json}\""
}
},
"readmeFilename": "README.md",
Expand Down

0 comments on commit a1757e0

Please sign in to comment.