{ "extends": [ "airbnb", "plugin:flowtype/recommended", "plugin:prettier/recommended" ], "plugins": ["flowtype", "react-hooks"], "parser": "babel-eslint", "env": { "browser": true }, "rules": { "jsx-a11y/anchor-is-valid": [ "error", { "components": ["Link"], "specialLink": ["onClick"] } ], "arrow-parens": "off", "flowtype/generic-spacing": "off", "flowtype/space-after-type-colon": "off", "react/self-closing-comp": "off", "class-methods-use-this": "off", "consistent-return": "off", "func-names": "off", "func-style": ["warn", "declaration", { "allowArrowFunctions": true }], "import/no-extraneous-dependencies": ["error", { "devDependencies": true }], "import/no-unresolved": [2, { "ignore": ["#iefix$"] }], "no-alert": "off", "no-confusing-arrow": "off", "no-plusplus": "off", "no-unused-vars": [ "error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true } ], "no-prototype-builtins": "off", "no-underscore-dangle": "off", "strict": "off", "global-require": "off", "react/jsx-filename-extension": "off", "react/require-default-props": "off", "react/jsx-closing-bracket-location": "off", "react/sort-comp": "off", "react/jsx-pascal-case": "off", "import/prefer-default-export": "off", "function-paren-newline": "off", "object-curly-newline": "off", "flowtype/require-valid-file-annotation": [ "error", "always", { "annotationStyle": "line" } ], "react/jsx-one-expression-per-line": "off", "react/destructuring-assignment": "off", "react/jsx-wrap-multilines": "off", "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn", "react/jsx-props-no-spreading": "off", "react/jsx-curly-newline": "off" }, "parserOptions": { "sourceType": "module" }, "globals": { "it": true, "expect": true, "describe": true, "beforeEach": true, "before": true, "afterEach": true, "after": true, "jest": true, "$Keys": true, "$Subtype": true, "SyntheticEvent": true, "SyntheticInputEvent": true, "SyntheticFocusEvent": true, "SyntheticKeyboardEvent": true } }