{ "extends": [ "react-app", "eslint:recommended", "plugin:cypress/recommended", "plugin:react/recommended", "plugin:jsx-a11y/recommended" ], "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 9, "sourceType": "module", "ecmaFeatures": { "jsx": true, "forOf": true, "spread": true, "classes": true, "generators": true, "destructuring": true, "defaultParams": true, "arrowFunctions": true, "templateStrings": true, "experimentalObjectRestSpread": true } }, "settings": { "react": { "version": "latest" } }, "plugins": [ "react", "babel", "cypress", "jsx-a11y" ], "env": { "browser": true, "cypress/globals": true, "es6": true, "node": true }, "globals": { "document": false }, "rules": { "arrow-body-style": ["error", "as-needed"], "arrow-spacing": "warn", "block-scoped-var": "error", "comma-dangle": [1, "never"], "new-cap": "off", "eqeqeq": "warn", "jsx-quotes": [1, "prefer-single"], "jsx-a11y/no-autofocus": 0, "no-console": ["error", { "allow": ["info", "warn", "error"] }], "no-dupe-args": "error", "no-dupe-keys": "error", "no-duplicate-case": "error", "no-extra-boolean-cast": "error", "no-extra-bind": "error", "no-extra-semi": "warn", "no-invalid-regexp": "error", "no-return-await": "error", "no-unused-expressions": [ "error", { "allowShortCircuit": true, "allowTernary": true } ], "no-unreachable": "error", "no-unused-vars": "error", "prefer-template": "warn", "react/display-name": 0, "react/forbid-foreign-prop-types": 0, "react/jsx-uses-vars": "error", "react/jsx-uses-react": "error", "react/jsx-no-duplicate-props": "error", "react/no-access-state-in-setstate": 2, "react/no-array-index-key": 1, "react/no-deprecated": 2, "react/no-did-mount-set-state": 2, "react/no-did-update-set-state": 2, "react/no-direct-mutation-state": ["error", "always"], "react/no-redundant-should-component-update": 2, "react/no-this-in-sfc": 2, "react/no-typos": 2, "react/no-unknown-property": 1, "react/no-unused-prop-types": 1, "react/no-unused-state": 2, "react/prefer-es6-class": ["error", "always"], "react/require-render-return": 2, "semi": ["error", "never"], "space-before-function-paren": "error", "strict": ["error", "global"] } }