Skip to content

Commit

Permalink
chore: extend lint-staged, use eslint cache (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv authored Dec 9, 2021
1 parent 74f668e commit 671337d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
"*.js": ["eslint --fix", "prettier --write"],
"*.{json,md,yml,css,ts}": ["prettier --write"],
"*": ["prettier --write --ignore-unknown"],
"*.{js}": ["eslint --cache --fix"],
};

0 comments on commit 671337d

Please sign in to comment.