{ "root": true, "parser": "babel-eslint", "extends": [ "eslint:recommended", "plugin:import/errors", "plugin:import/warnings" ], "plugins": [], "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true, "experimentalObjectRestSpread": true } }, "env": { "es6": true, "browser": true, "node": true, "jquery": true, "mocha": true }, "rules": { "no-extra-parens": "off", "accessor-pairs": "off", "array-callback-return": "error", "block-scoped-var": "error", "complexity": [ "off", 5 ], "consistent-return": "error", "curly": [ "error", "multi-line" ], "default-case": "error", "dot-location": [ "error", "property" ], "dot-notation": "error", "eqeqeq": "error", "guard-for-in": "error", "no-alert": "error", "no-caller": "error", "no-div-regex": "error", "no-else-return": "error", "no-empty-function": "off", "no-eq-null": "error", "no-eval": "error", "no-extend-native": "off", "no-extra-bind": "error", "no-extra-label": "error", "no-floating-decimal": "error", "no-implicit-coercion": "error", "no-implied-eval": "error", "no-invalid-this": "error", "no-iterator": "error", "no-labels": "error", "no-lone-blocks": "error", "no-loop-func": "error", "no-magic-numbers": "off", "no-multi-spaces": "error", "no-multi-str": "error", "no-native-reassign": "error", "no-new": "error", "no-new-func": "error", "no-new-wrappers": "error", "no-octal-escape": "error", "no-param-reassign": "error", "no-proto": "error", "no-return-assign": "error", "no-script-url": "error", "no-self-compare": "error", "no-sequences": "error", "no-throw-literal": "error", "no-unmodified-loop-condition": "error", "no-unused-expressions": "error", "no-useless-call": "error", "no-useless-concat": "error", "no-useless-escape": "error", "no-void": "error", "no-warning-comments": "error", "no-with": "error", "radix": "error", "vars-on-top": "error", "wrap-iife": [ "error", "inside" ], "yoda": [ "error", "never" ], "strict": "error", "init-declarations": [ "off", "always" ], "no-catch-shadow": "error", "no-label-var": "error", "no-restricted-globals": "error", "no-shadow": "off", "no-shadow-restricted-names": "error", "no-undef": "error", "no-undef-init": "error", "no-undefined": "error", "no-use-before-define": "error", "array-bracket-spacing": "error", "block-spacing": "error", "brace-style": "error", "camelcase": "error", "comma-dangle": [ "error", "always-multiline" ], "comma-spacing": "error", "comma-style": "error", "computed-property-spacing": "error", "consistent-this": "error", "eol-last": [ "error", "always" ], "func-names": [ "error", "never" ], "func-style": [ "error", "declaration", { "allowArrowFunctions": true } ], "id-blacklist": "off", "id-length": "off", "id-match": "off", "indent": [ "error", 2, { "SwitchCase": 1 } ], "jsx-quotes": [ "error", "prefer-double" ], "key-spacing": "error", "keyword-spacing": "error", "linebreak-style": "off", "lines-around-comment": "off", "max-depth": "off", "max-len": "off", "max-nested-callbacks": [ "error", 3 ], "max-params": "off", "max-statements": "off", "max-statements-per-line": "off", "new-cap": [ "error", { "capIsNewExceptions": [ "DataTable" ] } ], "new-parens": "error", "newline-after-var": "off", "newline-before-return": "off", "newline-per-chained-call": "off", "no-array-constructor": "error", "no-bitwise": "error", "no-continue": "off", "no-inline-comments": "off", "no-lonely-if": "error", "no-mixed-spaces-and-tabs": "error", "no-multiple-empty-lines": "error", "no-negated-condition": "error", "no-nested-ternary": "error", "no-new-object": "error", "no-plusplus": "off", "no-restricted-syntax": "off", "no-spaced-func": "error", "no-ternary": "off", "no-trailing-spaces": "error", "no-underscore-dangle": "error", "no-unneeded-ternary": "error", "no-whitespace-before-property": "error", "object-curly-spacing": "error", "one-var": "off", "one-var-declaration-per-line": "error", "operator-assignment": "error", "operator-linebreak": "error", "padded-blocks": "off", "quote-props": "off", "quotes": [ "error", "single" ], "require-jsdoc": "off", "semi": "error", "semi-spacing": "error", "sort-imports": [ "off", { "ignoreCase": true, "ignoreMemberSort": false, "memberSyntaxSortOrder": [ "none", "single", "multiple", "all" ] } ], "sort-vars": "off", "space-before-blocks": "error", "space-before-function-paren": [ "error", { "anonymous": "always", "named": "never", "asyncArrow": "always" } ], "space-in-parens": "error", "space-infix-ops": "error", "space-unary-ops": "error", "spaced-comment": "error", "wrap-regex": "off", "arrow-body-style": "error", "arrow-parens": [ "error", "as-needed" ], "arrow-spacing": "error", "constructor-super": "error", "generator-star-spacing": "error", "no-confusing-arrow": [ "error", { "allowParens": true } ], "no-duplicate-imports": "error", "no-new-symbol": "error", "no-restricted-imports": "off", "no-this-before-super": "error", "no-useless-constructor": "error", "no-var": "error", "object-shorthand": "error", "prefer-arrow-callback": "error", "prefer-const": "error", "prefer-reflect": "off", "prefer-rest-params": "error", "prefer-spread": "error", "prefer-template": "error", "require-yield": "error", "template-curly-spacing": "error", "yield-star-spacing": "error", "import/no-mutable-exports": "error", } }