mprokopowicz/custom-error

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "env": {
    "node": true
  },
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "script"
  },
  "globals": {},
  "rules": {
    "max-len": [2, 120, 2],
    "indent": [
      2,
      2,
      {
        "SwitchCase": 1
      }
    ],
    "quotes": [
      1,
      "single",
      "avoid-escape"
    ],
    "comma-dangle": [
      2,
      "never"
    ],
    "space-infix-ops": [
      2
    ],
    "space-in-parens": [
      2,
      "never"
    ],
    "object-curly-spacing": [
      2,
      "never"
    ],
    "space-before-function-paren": [
      2,
      "never"
    ],
    "space-before-blocks": [
      2,
      "always"
    ],
    "keyword-spacing": [
      2,
      {
        "after": true
      }

    ],
    "semi": [
      2,
      "always"
    ],
    "semi-spacing": [
      2,
      {
        "before": false,
        "after": true
      }
    ],
    "operator-linebreak": [
      2,
      "after"
    ],
    "padded-blocks": [
      2,
      "never"
    ],
    "no-new-object": 2,
    "no-nested-ternary": 2,
    "no-mixed-spaces-and-tabs": 2,
    "no-lonely-if": 2,
    "no-array-constructor": 2,
    "new-parens": 2,
    "no-spaced-func": 2,
    "new-cap": [
      2,
      {
        "newIsCap": true,
        "capIsNew": false
      }
    ],
    "key-spacing": [
      2,
      {
        "beforeColon": false,
        "afterColon": true
      }
    ],
    "eol-last": 2,
    "comma-style": [
      2,
      "last"
    ],
    "no-delete-var": 2,
    "no-shadow": 0,
    "no-shadow-restricted-names": 2,
    "no-unused-vars": 2,
    "no-use-before-define": [
      2,
      "nofunc"
    ],
    "global-strict": 0,
    "strict": [
      2,
      "global"
    ],
    "wrap-iife": [
      2,
      "inside"
    ],
    "radix": 2,
    "no-sequences": 2,
    "no-proto": 2,
    "curly": 2,
    "no-underscore-dangle": 0,
    "no-unneeded-ternary": 1,
    "no-console": 2,
    "no-constant-condition": 2,
    "no-duplicate-case": 2,
    "no-empty": 2,
    "no-ex-assign": 2,
    "no-extra-boolean-cast": 2,
    "no-extra-semi": 2,
    "no-func-assign": 2,
    "no-inner-declarations": 2,
    "no-irregular-whitespace": 2,
    "no-negated-in-lhs": 2,
    "no-obj-calls": 2,
    "valid-jsdoc": [
      2,
      {
        "requireReturn": false,
        "requireParamDescription": false,
        "prefer": {
          "return": "returns"
        }
      }
    ],
    "valid-typeof": 2,
    "use-isnan": 2,
    "no-unreachable": 1,
    "no-sparse-arrays": 1,
    "no-cond-assign": [2, "always"],
    "no-unexpected-multiline": 2,
    "no-with": 2,
    "no-void": 2,
    "no-useless-concat": 1,
    "no-useless-call": 1,
    "no-self-compare": 1,
    "no-redeclare": 2,
    "no-native-reassign": 2,
    "no-labels": 2,
    "no-eq-null": 2,
  }
}