{ "parser": "babel-eslint", "env": { "browser": true, "commonjs": true, "es6": true, "node": true }, "parserOptions": { "ecmaFeatures": { "jsx": true }, "sourceType": "module" }, "plugins": [ "react" ], "extends": [ "eslint:recommended", "plugin:react/recommended" ], "rules": { "no-console": "off", "no-case-declarations": "off", "no-template-curly-in-string": "warn", "block-scoped-var": "error", "no-empty-function": "error", "no-implicit-globals": "error", "no-multi-spaces": "error", "no-self-compare": "warn", "no-shadow": "warn", "no-shadow-restricted-names": "error", "no-undef-init": "error", "array-bracket-spacing": "error", "block-spacing": "error", "brace-style": "error", "camelcase": "error", "comma-dangle": "warn", "comma-spacing": "warn", "computed-property-spacing": "error", "func-call-spacing": "error", "indent": [ "error", 4, { "SwitchCase": 1 } ], "jsx-quotes": "error", "key-spacing": "warn", "keyword-spacing": "warn", "no-multiple-empty-lines": "warn", "no-tabs": "error", "no-trailing-spaces": "error", "no-whitespace-before-property": "error", "object-curly-newline": [ "warn", { "ObjectExpression": { "minProperties": 1 }, "ObjectPattern": "never" } ], "object-curly-spacing": "warn", "object-property-newline": "warn", "operator-assignment": "warn", "operator-linebreak": "warn", "quote-props": [ "warn", "as-needed" ], "quotes": [ "warn", "single" ], "semi": "error", "semi-spacing": [ "error", { "before": false, "after": true } ], "space-before-blocks": "error", "space-before-function-paren": [ "error", "never" ], "space-in-parens": "error", "space-infix-ops": "error", "space-unary-ops": [ "error", { "words": true, "nonwords": false } ], "arrow-parens": "warn", "arrow-spacing": [ "warn", { "before": true, "after": true } ], "no-duplicate-imports": "warn", "no-useless-computed-key": "warn", "no-useless-rename": "warn", "no-var": "error", "prefer-arrow-callback": "warn", "prefer-const": "error", "prefer-rest-params": "error", "prefer-spread": "error", "prefer-template": "warn", "rest-spread-spacing": "error", "template-curly-spacing": "error", "react/no-unescaped-entities": "off", "react/prop-types": "off", "react/boolean-prop-naming": "warn", "react/no-danger": "error", "react/no-typos": "warn", "react/jsx-indent": "error", "react/jsx-pascal-case": "error", "react/jsx-wrap-multilines": "warn" } }