{ "env": { "mocha": true, "node": true }, "globals": {}, "extends": "eslint:recommended", "rules": { "block-scoped-var": 2, "complexity": [ 1, 5 ], "consistent-return": 2, "curly": [ 2, "all" ], "dot-notation": 2, "eqeqeq": 2, "no-caller": 2, "no-console": 0, "no-else-return": 2, "no-eq-null": 2, "no-extend-native": 2, "no-implicit-coercion": 2, "no-loop-func": 2, "no-multi-spaces": 2, "no-multi-str": 2, "no-new-func": 2, "no-new-wrappers": 2, "no-new": 2, "no-param-reassign": 2, "no-unused-expressions": 2, "no-useless-call": 2, "no-useless-concat": 1, "no-with": 2, "vars-on-top": 1, "wrap-iife": [2, "any"], "yoda": [ 2, "never" ], "strict": [ 1, "global" ], "no-shadow": 2, "no-use-before-define": 1, "callback-return": 2, "handle-callback-err": 2, "no-path-concat": 2, "array-bracket-spacing": [ 1, "always", { "objectsInArrays": false } ], "block-spacing": 1, "brace-style": 1, "camelcase": [ 1, { "properties": "never" } ], "comma-spacing": [ 1, { "before": false, "after": true } ], "comma-style": [ 1, "last" ], "computed-property-spacing": [ 1, "never" ], "consistent-this": [ 1, "self" ], "eol-last": 1, "indent": [ 2, 4, { "SwitchCase": 1 } ], "key-spacing": [ 1, { "beforeColon": false, "afterColon": true } ], "keyword-spacing": 1, "linebreak-style": [ 1, "unix" ], "lines-around-comment": [ 1, { "allowBlockStart": true, "beforeBlockComment": true, "beforeLineComment": true } ], "max-depth": [ 1, 4 ], "max-params": [ 1, 3 ], "max-statements": [ 1, 10 ], "new-cap": 2, "new-parens": 2, "newline-after-var": [ 1, "always" ], "no-array-constructor": 2, "no-bitwise": 1, "no-lonely-if": 1, "no-multi-spaces": 1, "no-multiple-empty-lines": 1, "no-new-object": 2, "no-spaced-func": 1, "no-trailing-spaces": 1, "no-unneeded-ternary": 1, "object-curly-spacing": [ 1, "always" ], "one-var": 1, "operator-assignment": [ 1, "always" ], "operator-linebreak": [ 1, "after" ], "quote-props": [ 1, "consistent" ], "quotes": [ 1, "single" ], "semi": [ 2, "always" ], "semi-spacing": [ 1, { "before": false, "after": true } ], "space-before-blocks": [ 1, "always" ], "space-before-function-paren": [1, { "anonymous": "always", "named": "never" }], "space-in-parens": [1, "never"], "space-infix-ops": 1, "space-unary-ops": 0, "spaced-comment": [1, "always", { "line": { "exceptions": ["-"] } }] } }