{ "extends": ["react-app", "airbnb", "prettier", "prettier/react"], "plugins": ["json", "html", "import"], "overrides": [ { "files": ["**/*.test.{js,jsx,ts,tsx}"], "env": { "jest": true }, "globals": { "shallow": "readonly", "mount": "readonly", "React": "readonly", "renderer": "readonly", "renderJSON": "readonly", "defaultTheme": "readonly", "fetch": "readonly" }, "plugins": ["jest"], "rules": { "jest/no-disabled-tests": "warn", "jest/no-focused-tests": "error", "jest/no-identical-title": "error", "jest/prefer-to-have-length": "warn", "jest/valid-expect": "error" } }, { "files": ["**/stories/*.stories.js"], "rules": { "react/jsx-filename-extension": "off" } } ], "rules": { "import/no-extraneous-dependencies": ["error", { "devDependencies": true }], "no-console": "error", "no-trailing-spaces": "warn", "comma-dangle": ["error", "only-multiline"], "jsx-a11y/anchor-is-valid": "off", "react/jsx-props-no-spreading": "off" }, "settings": { "import/resolver": { "node": { "extensions": [".js", ".jsx", ".ts", ".tsx"] } } } }