diff --git a/web/.lintstagedrc.json b/web/.lintstagedrc.json index d9209d1f..123ba0ab 100644 --- a/web/.lintstagedrc.json +++ b/web/.lintstagedrc.json @@ -1,3 +1,6 @@ { - "*.{js,jsx,ts,tsx}": ["pnpm lint --fix", "pnpm lint"] + "*.{js,jsx,ts,tsx}": ["next lint --fix --file", "next lint --file"], + "**/*": [ + "bash -c 'cd \"$(pwd)\" && next build" + ] }