Skip to content

Commit 0df1ae9

Browse files
authored
fix: expand lint-staged, use eslint cache (#1399)
1 parent 5eb7b80 commit 0df1ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lint-staged.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
2-
"*.js": ["eslint --fix", "prettier --write"],
3-
"*.{json,md,yml,css,ts}": ["prettier --write"],
2+
"*": ["prettier --write --ignore-unknown"],
3+
"*.{js}": ["eslint --cache --fix"],
44
};

0 commit comments

Comments
 (0)