import tseslint from 'typescript-eslint' export default tseslint.config( { ignores: ['**/dist/**', '**/node_modules/**', '**/.next/**', '**/.turbo/**'], }, ...tseslint.configs.recommended, { rules: { '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, ], '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }], '@typescript-eslint/no-non-null-assertion': 'warn', }, }, )