Skip to content

Commit

Permalink
chore: expand lint-staged, use eslint cache
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv authored Dec 9, 2021
1 parent 46759e6 commit 08fa17c
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 08fa17c

Please sign in to comment.