Skip to content

Commit

Permalink
fix: lint-staged configuration (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Jul 16, 2019
1 parent 27f9940 commit 67fb0bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions templates/lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module.exports = {
ignore: ['package-lock.json', 'CHANGELOG.md'],
linters: {
'*.js': ['prettier --write', 'eslint --fix', 'git add'],
'*.{json,md,yml,css}': ['prettier --write', 'git add'],
},
'*.js': ['prettier --write', 'eslint --fix', 'git add'],
'*.{json,md,yml,css}': ['prettier --write', 'git add'],
};

0 comments on commit 67fb0bc

Please sign in to comment.