diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 8ff13f577..f8051dff8 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,6 +1,6 @@ { "apps/web/**/*.{ts,tsx}": [ - "bash -c 'cd apps/web && npx eslint --max-warnings=0 --fix'", + "bash -c 'cd apps/web && npx eslint --max-warnings=0 --fix \"$@\"' --", "bash -c 'cd apps/web && npx tsc --noEmit -p tsconfig.json'" ], "apps/web/**/*.{js,jsx,json,css,md}": ["prettier --write"],