import globals from "globals"; import pluginJs from "@eslint/js"; import tseslint from "typescript-eslint"; import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; export default [ {languageOptions: { globals: globals.browser }}, pluginJs.configs.recommended, ...tseslint.configs.recommended, pluginReactConfig,{ rules: { 'react/prop-types': 'off', '@typescript-eslint/no-unused-vars': [ 'warn', { argsIgnorePattern: '^_', caughtErrors: 'none' }, ], '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-var-requires': 'off', "@typescript-eslint/no-explicit-any": "off" }, ignores: ["src/index.tsx"] }, { ignores: ['stubs/**/*'] } ];