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 5b68c37 commit 8efb22fCopy full SHA for 8efb22f
.config/.lintstagedrc-prettier.js
@@ -0,0 +1,3 @@
1
+export default {
2
+ '**/*': 'prettier --write --ignore-unknown'
3
+};
.husky/pre-commit
@@ -2,5 +2,5 @@ echo "### npm run general lintings ###"
concurrently "node ./scripts/check-commit-mail.js" "node ./scripts/cypress/component-check.js" "node ./scripts/angular-module-component-check.js" "npx validate-branch-name"
echo "### lint staged files ###"
4
lint-staged
5
-prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's|( |&)|\\ |g') --write --ignore-unknown
+lint-staged --config .config/.lintstagedrc-prettier.js
6
git update-index --again
0 commit comments