diff --git a/web/.lintstagedrc.json b/web/.lintstagedrc.json index ab33c2b3..f1750706 100644 --- a/web/.lintstagedrc.json +++ b/web/.lintstagedrc.json @@ -1,4 +1,4 @@ { - "*.{js,jsx,ts,tsx}": ["next lint --fix --file", "next lint --file"], + "*.{js,jsx,ts,tsx}": ["eslint --fix"], "**/*": ["bash -c 'cd \"$(pwd)\" && next build"] } diff --git a/web/package.json b/web/package.json index 8178da3b..a45d8995 100644 --- a/web/package.json +++ b/web/package.json @@ -6,7 +6,8 @@ "dev": "next dev --turbopack", "build": "next build", "start": "next start", - "lint": "next lint", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "lint-staged": "lint-staged" }, "lint-staged": {