// @ts-check import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; /** @type {import('eslint').Linter.Config[]} */ export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, { languageOptions: { parserOptions: { projectService: true, }, }, rules: { '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, ], '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/consistent-type-imports': 'error', 'no-console': ['warn', { allow: ['warn', 'error'] }], }, }, { ignores: ['**/dist/**', '**/build/**', '**/.next/**', '**/.turbo/**', '**/node_modules/**'], }, );