{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json", "./cypress/tsconfig.json"], "ecmaFeatures": { "jsx": true } }, "settings": { "react": { "version": "detect" } }, "plugins": [ "react-hooks", "@typescript-eslint", "cypress", "prettier", "jest", "only-warn" ], "extends": [ "airbnb-typescript", "prettier", "plugin:cypress/recommended", "plugin:import/errors", "plugin:import/typescript", "plugin:import/warnings", "plugin:prettier/recommended" ], "env": { "jest": true }, "rules": { "prettier/prettier": ["warn"], "react/prop-types": "off", "react/require-default-props": "off", "react/jsx-boolean-value": "off", "react/jsx-props-no-spreading": "off", "react/button-has-type": "off", "@typescript-eslint/no-use-before-define": "off", "import/prefer-default-export": "off", "consistent-return": "off", "react-hooks/rules-of-hooks": "error", "arrow-body-style": ["warn", "as-needed"], "import/no-extraneous-dependencies": [ "error", { "devDependencies": [ "**/*.test.ts?(x)", "**/*.spec.ts?(x)", "**/*.stories.ts?(x)", "**/*.e2e.ts?(x)", "src/setupTests.ts", "**/__tests__/*", "**/__mocks__/*" ] } ] } }