We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7955337 commit dc0840aCopy full SHA for dc0840a
.config/.lintstagedrc-prettier.js
@@ -0,0 +1,3 @@
1
+export default {
2
+ '**/*': 'prettier --write --ignore-unknown'
3
+};
.husky/pre-commit
@@ -1,2 +1,2 @@
-prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's|( |&)|\\ |g') --write --ignore-unknown
+lint-staged --config .config/.lintstagedrc-prettier.js
git update-index --again
0 commit comments