{ "env": { "browser": true, "es2021": true, "jest": true }, "extends": [ "eslint:recommended", "plugin:react/recommended", "standard-with-typescript", "prettier" ], "overrides": [], "parserOptions": { "ecmaVersion": "latest", "ecmaFeatures": { "jsx": true }, "sourceType": "module", "project": "./tsconfig.json" }, "ignorePatterns": ["index.js", "**/PaymentMethods/Icons/code/code.js"], "plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"], "rules": { "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "off", "react/prop-types": "off", "react/react-in-jsx-scope": "off", "@typescript-eslint/naming-convention": [ "error", { "selector": "variableLike", "format": ["camelCase", "snake_case", "PascalCase", "UPPER_CASE"], "leadingUnderscore": "allow" } ] }, "settings": { "import/resolver": { "typescript": {} }, "react": { "version": "detect" } } }