{ "globals": { "expect": true, "sinon": true, "describe": true, "chai": true, "it": true }, "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true, "globalReturn": true, "jsx": true }, "ecmaVersion": 6, "sourceType": "module" }, "parser": "babel-eslint", "env": { "amd": true, "browser": true, "commonjs": true, "es6": true "mocha": true, "node": true }, "ecmaFeatures": { "jsx": true, "modules": true }, "plugins": [ "eslint-plugin-react", "nodeca", "react" ], "rules": { "array-bracket-spacing": [2, "always"], "brace-style": [ 2, "1tbs", { "allowSingleLine": false } ], "camelcase": 2, "comma-dangle": [2, "always-multiline"], "comma-spacing": 1, "complexity": [1, 5], "computed-property-spacing": [2, "never"], // Allows returning early as undefined "consistent-return": 2, "consistent-this": [2, "self"], "curly": [2, "all"], "dot-notation": 0, "eqeqeq": [ 2, "allow-null" ], "eol-last": 1, "guard-for-in": 2, "indent": [2, 2], "jsx-quotes": 1, "key-spacing": [2, { "beforeColon": false, "afterColon": true }], "keyword-spacing": 2, "max-depth": [2, 3], "max-len": [2, 120], "max-params": [2, 5], "max-statements": [2, 50], "no-bitwise": 2, "no-caller": 2, "new-cap": 2, "no-cond-assign": 2, "no-else-return": 1, "no-empty": 2, "no-extend-native": 2, "no-fallthrough": 0, "no-floating-decimal": 2, "no-lone-blocks": 2, "no-lonely-if": 1, "no-loop-func": 2, "no-mixed-requires": 0, "no-mixed-spaces-and-tabs": 2, "no-multi-spaces": 1, "no-multi-str": 2, "no-native-reassign": 2, "no-nested-ternary": 1, "no-new": 2, "no-new-wrappers": 2, "no-process-exit": 1, "no-redeclare": 2, "no-shadow": 1, "no-spaced-func": 1, "no-trailing-spaces": 2, "no-undef": 2, "no-underscore-dangle": 0, "no-use-before-define": 2, "no-unused-vars": [2, {"vars": "all", "args": "after-used"}], "nodeca/no-lodash-aliases": 2, "object-curly-spacing": [2, "always"], "quote-props": [ 1, "as-needed" ], "quotes": [2, "single"], "operator-linebreak": [ 1, "after" ], "react/display-name": 1, "react/jsx-boolean-value": 1, "react/jsx-no-undef": 2, "react/jsx-sort-props": 1, "react/jsx-uses-react": 1, "react/jsx-uses-vars": 1, "react/no-did-mount-set-state": 1, "react/no-did-update-set-state": 1, "react/no-multi-comp": 1, "react/no-unknown-property": 1, "react/prop-types": 1, "react/react-in-jsx-scope": 1, "react/self-closing-comp": 1, "react/sort-prop-types": 1, "react/wrap-multilines": 1, "semi": [2, "never"], "semi-spacing": 2, "space-after-keywords": [ 1, "always" ], "space-before-blocks": [ 1, "always" ], "space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ], "space-in-brackets": 0, "space-in-parens": [2, "never"], "space-infix-ops": 2, "space-unary-ops": 2, // Assumed by default with Babel "strict": 2, "valid-jsdoc": [ 2, { "prefer": { "virtual": "abstract", "extends": "augments", "constructor": "class", "const": "constant", "defaultvalue": "default", "desc": "description", "host": "external", "fileoverview": "file", "overview": "file", "emits": "fires", "func": "function", "method": "function", "var": "member", "arg": "param", "argument": "param", "return": "returns", "exception": "throws" }, "requireReturn": false } ], "wrap-iife": [2, "outside"] }, "settings": { "ecmascript": 6, "jsx": true } }