Skip to content

Commit

Permalink
fix: lint staged was running on all files and not on staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Dec 20, 2024
1 parent 9a22abf commit 7b429ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"*.ts": ["yarn prettier:fix"],
"*.tsx": ["yarn prettier:fix"],
"**/*.{js,jsx,ts,tsx,mjs,cjs,md,yml,json}": ["prettier --write"],
"*.tsx": ["prettier --write"],
"apps/mobile/assets/fonts/safe-icons/selection.json": [
"node ./apps/mobile/scripts/generateIconTypes.js",
"git add ./apps/mobile/src/types/iconTypes.ts"
Expand Down

0 comments on commit 7b429ec

Please sign in to comment.