Skip to content

Commit

Permalink
chore: add precommit hook for prettier (#537)
Browse files Browse the repository at this point in the history
Co-authored-by: cpl121 <[email protected]>
  • Loading branch information
VmMad and cpl121 authored Jun 10, 2024
1 parent edbc85d commit 4a6acde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"{sdk,apps}/**/*.{ts,js,mjs,tsx}": "eslint -c ./linting/.eslintrc.precommit.js --fix"
"{sdk,apps}/**/*.{ts,js,mjs,tsx}": "eslint -c ./linting/.eslintrc.precommit.js --fix",
"{sdk,apps}/**/*.{ts,js,mjs,tsx,scss,css}": "prettier --write"
}

0 comments on commit 4a6acde

Please sign in to comment.