Skip to content

Commit

Permalink
fix: fix lint staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed May 7, 2019
1 parent d26c0d6 commit 4b7045d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
'lint-staged': {
linters: {
'*.{json,js}': ['eslint --fix', 'prettier --write', 'git add'],
},
linters: {
'*.{js}': ['eslint --fix', 'prettier --write', 'git add'],
},
};

0 comments on commit 4b7045d

Please sign in to comment.