Skip to content

Commit

Permalink
fix: update lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateu Aguiló Bosch committed Nov 2, 2018
1 parent 529cb5b commit ef4f888
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 226 deletions.
7 changes: 5 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
'*.js': ['eslint --fix', 'prettier --write', 'git add'],
'*.md': ['npm run documentation --', 'git add *.md'],
linters: {
'*.js': ['npm run prettier --', 'git add'],
'.emdaer/**/*.md': ['npm run documentation --', 'git add *.md'],
},
ignore: ['lib/**/*.js'],
};
Loading

0 comments on commit ef4f888

Please sign in to comment.