import globals from 'globals' import tseslint from 'typescript-eslint' export default tseslint.config( { ignores: ['node_modules/**'] }, { files: ['**/*.ts'], extends: [...tseslint.configs.recommended], languageOptions: { globals: { ...globals.node, ...globals.es2022 }, }, rules: { '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_' }, ], }, }, )