import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import prettierConfig from 'eslint-config-prettier'; export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommended, prettierConfig, { rules: { '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_' }, ], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'warn', }, }, { ignores: [ 'node_modules/**', 'dist/**', '.next/**', '.steering/**', 'data/**', 'backups/**', 'playwright-report/**', 'test-results/**', 'next-env.d.ts', 'scripts/**/*.mjs', 'public/**', ], } );