import js from '@eslint/js'; import next from 'eslint-config-next'; import tseslint from 'typescript-eslint'; export default tseslint.config( { ignores: ['.next/**', 'node_modules/**', 'coverage/**', 'next-env.d.ts', 'prisma/generated/**'], }, js.configs.recommended, ...tseslint.configs.recommended, ...next, { rules: { '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], // `verbatimModuleSyntax` in tsconfig.json already enforces explicit type // imports at compile time, so the typed-linting rule would only duplicate it. }, }, );