{ "plugins": [ "react" ], "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "modules": true, "jsx": true } }, "extends": "eslint:recommended", "env": { "browser": true, "jasmine": true, "mocha": true, "es6": true }, "globals": { "define": true, "require" : true }, "rules": { "no-extra-parens": 2, "valid-jsdoc": [2, {"requireReturn": false, "requireParamDescription": false}], "consistent-return": 2, "curly": 2, "default-case": 2, "dot-location": [2, "property"], "dot-notation": 2, "eqeqeq": 2, "no-case-declarations": 2, "no-else-return": 2, "no-eq-null": 2, "no-eval": 2, "no-extend-native": 2, "no-invalid-this": 2, "no-labels": 2, "no-lone-blocks": 2, "no-loop-func": 2, "no-native-reassign": 2, "no-new": 2, "no-return-assign": 2, "no-self-compare": 2, "no-unused-expressions": [2, { "allowShortCircuit": true, "allowTernary": true }], "no-useless-call": 2, "no-useless-concat": 2, "vars-on-top": 2, "yoda": 2, "no-shadow-restricted-names": 2, "no-shadow": 0, "no-use-before-define": 2, "callback-return": 2, "global-require": 2, "handle-callback-err": 2, "no-new-require": 2, "no-path-concat": 2, "array-bracket-spacing": [2, "never"], "block-spacing": [2, "always"], "brace-style": [2, "stroustrup", { "allowSingleLine": true }], "camelcase": [2, {"properties": "always"}], "comma-spacing": [2, {"before": false, "after": true}], "comma-style": [2, "last"], "computed-property-spacing": [2, "never"], "consistent-this": [2, "that"], "func-names": 2, "func-style": [2, "declaration", { "allowArrowFunctions": true }], "indent": [2, 2, {"SwitchCase": 1}], /** 2 space indention **/ "key-spacing": [2, {"beforeColon": false, "afterColon": true}], "max-len": [2, 128, 4], /** max line width = 128 chars, tabs count as 4 chars **/ "max-nested-callbacks": [2, 3], "max-params": [2, 5], "new-cap": 2, "newline-after-var": [2, "always"], "no-array-constructor": 2, "no-bitwise": 2, "no-lonely-if": 2, "no-mixed-spaces-and-tabs": 2, "no-unneeded-ternary": 2, "object-curly-spacing": [2, "never"], "one-var": [2, "never"], "quotes": [2, "single"], "semi": [2, "never"], "space-before-blocks": 2, "space-before-function-paren": [2, "never"], "arrow-body-style": [2, "as-needed"], "arrow-parens": [2, "as-needed"], "quote-props": [2, "as-needed"], "no-trailing-spaces": [2, { "skipBlankLines": true }], "no-console": 2, "no-debugger": 2, "wrap-iife": 2, "no-multi-spaces": [2, { "exceptions": { "VariableDeclarator": true } }] } }