We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb7b80 commit 0df1ae9Copy full SHA for 0df1ae9
lint-staged.config.js
@@ -1,4 +1,4 @@
1
module.exports = {
2
- "*.js": ["eslint --fix", "prettier --write"],
3
- "*.{json,md,yml,css,ts}": ["prettier --write"],
+ "*": ["prettier --write --ignore-unknown"],
+ "*.{js}": ["eslint --cache --fix"],
4
};
0 commit comments