We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a09494 commit 5bccd5fCopy full SHA for 5bccd5f
1 file changed
lint-staged.config.js
@@ -0,0 +1,7 @@
1
+// lint-staged.config.js
2
+module.exports = {
3
+ "src/**/*.{js,jsx}": ["eslint --fix", "prettier --write"],
4
+ "tests/**/*.{js,jsx}": ["eslint --fix", "prettier --write"],
5
+ "*.json": ["prettier --write"]
6
+ };
7
+
0 commit comments