{ "env": { "browser": true, "commonjs": true, "es6": true }, "globals": { "__CONFIG__": true, "__ENV__": true }, "extends": "airbnb", "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true } }, "rules": { "no-param-reassign": 0, "array-callback-return": "off", "no-var": "error", "no-plusplus": "off", "import/no-unresolved": 0, "new-cap": 0, "eol-last": 0, "no-use-before-define": 0, "operator-linebreak": 0, "linebreak-style": 0, "semi": [ "error", "always" ], "global-require": 0, "no-underscore-dangle": 0, "arrow-body-style": 0, "no-console": 0, "react/forbid-prop-types": 0, "jsx-a11y/href-no-hash": 0, "jsx-quotes": ["error", "prefer-single"], "import/prefer-default-export": 0, "react/prop-types": 0, "react/jsx-filename-extension": 0, "comma-dangle": [ 2, "only-multiline" ], "arrow-parens": [ "warn", "always" ], "jsx-a11y/anchor-is-valid": [ "error", { "components": [ "Link" ], "specialLink": [ "to", "hrefLeft", "hrefRight" ], "aspects": [ "noHref", "invalidHref", "preferButton" ] } ], "object-curly-newline": 0, "indent": [ 2, 4, { "SwitchCase": 1 } ], "import/no-extraneous-dependencies": [ "error", { "devDependencies": true } ], "react/jsx-indent": [ true, "tab" ], "react/jsx-indent-props": [ 4, "tab" ], "react/jsx-one-expression-per-line": [ true, { "allow": [ "none", "literal", "single-child" ] } ], "max-len": [ "error", { "code": 200 } ] }, "overrides": [ { "files": [ "*.test.js", "*.spec.js" ], "rules": { "no-unused-expressions": "off", "no-undef": 0, "no-unused-vars": 0 } } ] }