{ "extends": "eslint:recommended", "env": { "shared-node-browser": true, "commonjs": true }, "parserOptions": { "ecmaVersion": 2016, "sourceType": "script" }, "rules": { "comma-dangle": [1, "always-multiline"], "no-unsafe-finally": 1, "accessor-pairs": 1, "array-callback-return": 1, "block-scoped-var": 1, "consistent-return": 1, "curly": [1, "multi-or-nest", "consistent"], "default-case": 1, "dot-notation": [1, { "allowPattern": "^[a-z]+(_[a-z]+)+$" }], "eqeqeq": [1, "allow-null"], "guard-for-in": 1, "no-alert": 1, "no-caller": 1, "no-div-regex": 1, "no-else-return": 1, "no-empty-function": 1, "no-eval": 1, "no-extend-native": 1, "no-extra-bind": 1, "no-extra-label": 1, "no-floating-decimal": 1, "no-implicit-coercion": 1, "no-implicit-globals": 1, "no-implied-eval": 1, "no-invalid-this": 1, "no-iterator": 1, "no-lone-blocks": 1, "no-loop-func": 1, "no-magic-numbers": [1, { "ignore": [0, 1, -1], "enforceConst": true, "detectObjects": true }], "no-multi-spaces": 1, "no-multi-str": 1, "no-native-reassign": 1, "no-new": 1, "no-new-func": 1, "no-new-wrappers": 1, "no-octal-escape": 1, "no-param-reassign": [1, { "props": true }], "no-proto": 1, "no-return-assign": 1, "no-script-url": 1, "no-self-compare": 1, "no-sequences": 1, "no-throw-literal": 1, "no-unmodified-loop-condition": 1, "no-unused-expressions": 1, "no-useless-call": 1, "no-useless-concat": 1, "no-useless-escape": 1, "no-warning-comments": 1, "no-with": 1, "radix": 1, "vars-on-top": 1, "wrap-iife": 1, "yoda": 1, "no-catch-shadow": 1, "no-label-var": 1, "no-shadow-restricted-names": 1, "no-undef-init": 1, "no-undefined": 1, "no-use-before-define": [1, { "functions": false }], "global-require": 1, "handle-callback-err": 1, "no-mixed-requires": 1, "no-new-require": 1, "no-path-concat": 1, "no-process-env": 1, "no-process-exit": 1, "no-sync": 1, "block-spacing": 1, "brace-style": 1, "camelcase": 1, "comma-spacing": 1, "comma-style": 1, "computed-property-spacing": 1, "consistent-this": [1, "that"], "eol-last": 1, "func-names": 0, "func-style": [1, "declaration"], "id-blacklist": [1, "err", "cb", "data"], "indent": [1, "tab", { "SwitchCase": 1 }], "jsx-quotes": 1, "key-spacing": 1, "keyword-spacing": 1, "linebreak-style": 1, "lines-around-comment": 1, "max-depth": 1, "max-len": [1, 120, 2], "max-nested-callbacks": [1, 3], "max-statements-per-line": 1, "new-parens": 1, "newline-after-var": 1, "newline-before-return": 1, "newline-per-chained-call": 1, "no-array-constructor": 1, "no-bitwise": 1, "no-lonely-if": 1, "no-mixed-spaces-and-tabs": 1, "no-multiple-empty-lines": [1, { "max": 1 }], "no-negated-condition": 1, "no-nested-ternary": 1, "no-new-object": 1, "no-plusplus": [1, { "allowForLoopAfterthoughts": true }], "no-spaced-func": 1, "no-trailing-spaces": 1, "no-unneeded-ternary": 1, "no-whitespace-before-property": 1, "one-var": [1, "never"], "operator-assignment": 1, "operator-linebreak": [1, "none"], "padded-blocks": [1, "never"], "quote-props": [1, "consistent-as-needed"], "quotes": [1, "single"], "semi": [1, "always"], "space-before-blocks": 1, "space-before-function-paren": [1, {"anonymous": "always", "named": "never"}], "space-in-parens": 1, "space-infix-ops": 1, "space-unary-ops": 1, "spaced-comment": 1, "wrap-regex": 1, "array-bracket-spacing": 1, "arrow-body-style": 1, "arrow-parens": [1, "as-needed"], "arrow-spacing": 1, "generator-star-spacing": 1, "no-await-in-loop": 1, "no-confusing-arrow": 1, "no-duplicate-imports": 1, "no-useless-computed-key": 1, "no-useless-constructor": 1, "no-var": 1, "object-shorthand": 0, "prefer-arrow-callback": 0, "prefer-const": 1, "prefer-rest-params": 0, "prefer-spread": 0, "prefer-template": 0, "require-yield": 1, "sort-imports": [1, { "memberSyntaxSortOrder": ["none", "single", "all", "multiple"] }], "template-curly-spacing": 1, "yield-star-spacing": 1 } }