import globals from 'globals' import tseslint from 'typescript-eslint' export default tseslint.config( // pkg/ and pkg-proofs/ are the wasm-bindgen outputs, types/ the ts-rs output: generated, never linted. { ignores: ['node_modules/**', 'pkg/**', 'pkg-proofs/**', 'types/**'] }, { 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: '^_' }, ], }, }, )