import globals from 'globals'; import pluginJs from '@eslint/js'; import tseslint from 'typescript-eslint'; import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; export default [ { languageOptions: { globals: { ...globals.browser, ...globals.node } } }, { ignores: ['**/node_modules', '**/dist', '**/wasm'] }, pluginJs.configs.recommended, ...tseslint.configs.recommended, eslintPluginPrettierRecommended, { rules: { '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_', }, ], }, }, ];