import js from '@eslint/js'; import ts from 'typescript-eslint'; export default ts.config( { ignores: ['dist/', 'node_modules/'] }, js.configs.recommended, ...ts.configs.recommended, { rules: { '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/consistent-type-imports': 'error', 'no-console': ['warn', { allow: ['error', 'warn'] }], }, }, );