import js from '@eslint/js'; import tseslint from 'typescript-eslint'; export default tseslint.config( { ignores: ['dist/**', 'coverage/**', 'node_modules/**'], }, js.configs.recommended, ...tseslint.configs.recommended, { languageOptions: { globals: { console: 'readonly', process: 'readonly', Buffer: 'readonly', }, }, rules: { '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_', }], }, }, );