{ "parser": "babel-eslint", "extends": "eslint:recommended", "rules": { "no-alert": "error", "no-array-constructor": "error", "no-caller": "error", "no-catch-shadow": "error", "no-console": "error", "no-eval": "error", "no-extend-native": "error", "no-extra-bind": "error", "no-implied-eval": "error", "no-iterator": "error", "no-label-var": "error", "no-labels": "error", "no-lone-blocks": "error", "no-loop-func": "error", "no-multi-str": "error", "no-native-reassign": "error", "no-new": "error", "no-new-func": "error", "no-new-object": "error", "no-new-wrappers": "error", "no-octal-escape": "error", "no-proto": "error", "no-return-assign": "error", "no-script-url": "error", "no-sequences": "error", "no-shadow": "error", "no-shadow-restricted-names": "error", "no-spaced-func": "error", "no-undef-init": "error", "no-unused-expressions": "error", "no-with": "error", "camelcase": "error", "comma-spacing": "error", "consistent-return": "error", "eqeqeq": "error", "semi": "error", "semi-spacing": ["error", { "before": false, "after": true }], "space-infix-ops": "error", "space-unary-ops": ["error", { "words": true, "nonwords": false }], "yoda": ["error", "never"], "brace-style": ["error"], "eol-last": "error", "indent": ["error", 2, { "SwitchCase": 1 }], "max-nested-callbacks": ["error", 3], "new-parens": "error", "no-lonely-if": "error", "no-multiple-empty-lines": ["error", { "max": 2 }], "no-nested-ternary": "error", "no-underscore-dangle": "off", "no-unneeded-ternary": "error", "object-curly-spacing": ["error", "always"], "operator-assignment": ["error", "always"], "quotes": ["error", "single", "avoid-escape"], "keyword-spacing": "error", "space-before-blocks": ["error", "always"], "prefer-const": "error", "no-path-concat": "error", "strict": "off", "curly": ["error", "all"], "dot-notation": "off", "no-else-return": "error", "one-var": ["error", "never"], "no-multi-spaces": [ "error", { "exceptions": { "VariableDeclarator": true, "AssignmentExpression": true } } ], "radix": "error", "no-extra-parens": "error", "new-cap": ["error", { "capIsNew": false }], "space-before-function-paren": [ "error", { "anonymous": "never", "named": "never", "asyncArrow": "always" } ], "no-use-before-define": ["error", "nofunc"], "handle-callback-err": "off" }, "env": { "browser": true, "node": true } }