From bfc8ba851a78124a60cf339f733d5aa9a387a79b Mon Sep 17 00:00:00 2001 From: Stefan Hildebrandt <695494+hildebrandttk@users.noreply.github.com> Date: Fri, 19 Jun 2026 20:32:17 +0200 Subject: [PATCH] chore: switch lint scripts from removed next lint to eslint Next 16 removed the `next lint` subcommand, so `npm run lint` failed with "Invalid project directory provided, no such directory: .../lint". Point the lint and lint:fix scripts at ESLint directly, using the existing flat config (eslint.config.mjs). --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aff78e62..5edfb35c 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "dev": "next dev --turbopack", "build": "next build --turbopack", "start": "next start", - "lint": "next lint", - "lint:fix": "next lint --fix", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "test:translations": "vitest run --no-isolate lib/__tests__/translations.test.ts", "prepare": "husky", "typecheck": "tsc --noEmit"