diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 87ca0645ac..315b1cc134 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -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"