Skip to content

Commit

Permalink
fix(linter): Remove eslint for *.json files
Browse files Browse the repository at this point in the history
- eslint does not support json files. It causes errors during pre-commit hook
  • Loading branch information
lzhuor committed Aug 1, 2018
1 parent 209da76 commit 175de97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@
},
"lint-staged": {
"linters": {
"*.{js,json}": [
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"concurrent": false,
Expand Down

0 comments on commit 175de97

Please sign in to comment.