module.exports = {
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "ecmaFeatures": {
      "jsx": true,
    },
  },
  "plugins": [],
  "env": {
    "browser": true,
    "node": true,
  },
  "extends": "eslint:recommended",
  "rules": {
    "comma-dangle": [1, "always-multiline"],
    "no-console": 1,

    "accessor-pairs": [1, { "getWithoutSet": true }],
    "array-callback-return": 1,
    "block-scoped-var": 1,
    "complexity": [1, 6],
    "consistent-return": 1,
    "curly": 0,
    "default-case": 1,
    "dot-location": [1, "property"],
    "dot-notation": 1,
    "eqeqeq": 2,
    "guard-for-in": 1,
    "no-alert": 1,
    "no-caller": 2,
    "no-case-declarations": 2,
    "no-div-regex": 2,
    "no-else-return": 1,
    "no-empty-function": 1,
    "no-empty-pattern": 1,
    "no-eq-null": 0,
    "no-eval": 2,
    "no-extend-native": 2,
    "no-extra-bind": 2,
    "no-extra-label": 2,
    "no-fallthrough": 1,
    "no-floating-decimal": 1,
    "no-implicit-coercion": [1, {
      "allow": ["!!"],
    }],
    "no-implicit-globals": 2,
    "no-implied-eval": 2,
    "no-invalid-this": 2,
    "no-iterator": 2,
    "no-labels": 1,
    "no-lone-blocks": 0,
    "no-loop-func": 2,
    "no-magic-numbers": [1, {
      "ignore": [-1, 0, 1, 24, 60, 1000],
      "ignoreArrayIndexes": true,
    }],
    "no-multi-spaces": 1,
    "no-multi-str": 1,
    "no-native-reassign": 2,
    "no-new": 1,
    "no-new-func": 2,
    "no-new-wrappers": 2,
    "no-octal": 2,
    "no-octal-escape": 2,
    "no-param-reassign": [1, { "props": true }],
    "no-process-env": 0,
    "no-proto": 2,
    "no-redeclare": 2,
    "no-return-assign": 1,
    "no-script-url": 1,
    "no-self-assign": 1,
    "no-self-compare": 1,
    "no-sequences": 1,
    "no-throw-literal": 1,
    "no-unmodified-loop-condition": 1,
    "no-unused-expressions": [1, { "allowTernary": true }],
    "no-unused-labels": 1,
    "no-useless-call": 1,
    "no-useless-concat": 1,
    "no-void": 2,
    "no-warning-comments": 0,
    "no-with": 2,
    "radix": 1,
    "vars-on-top": 0,
    "wrap-iife": [1, "inside"],
    "yoda": 1,

    "strict": 0,

    "init-declarations": 1,
    "no-catch-shadow": 1,
    "no-delete-var": 1,
    "no-label-var": 1,
    "no-restricted-globals": 1,
    "no-shadow": [1, { "allow": ["done", "next", "callback", "err"] }],
    "no-shadow-restricted-names": 1,
    "no-undef": 1,
    "no-undef-init": 1,
    "no-undefined": 0,
    "no-unused-vars": [1, { "args": "after-used" }],
    "no-use-before-define": 1,

    "callback-return": [1, ["done", "next", "callback", "resolve", "reject"]],
    "global-require": 1,
    "handle-callback-err": 1,
    "no-mixed-requires": 1,
    "no-new-require": 1,
    "no-path-concat": 1,
    "no-process-exit": 1,
    "no-restricted-imports": 0,
    "no-restricted-modules": 0,
    "no-sync": 1,

    "array-bracket-spacing": [1, "never"],
    "block-spacing": [1, "always"],
    "brace-style": [1, "1tbs", { "allowSingleLine": true }],
    "camelcase": 1,
    "comma-spacing": [1, { "before": false, "after": true }],
    "comma-style": [1, "last"],
    "computed-property-spacing": [1, "never"],
    "consistent-this": [1, "self"],
    "eol-last": 1,
    "func-names": 0,
    "func-style": [1, "expression", { "allowArrowFunctions": true }],
    "id-blacklist": 0,
    "id-length": [1, { "min": 0, "max": 32 }],
    "id-match": 0,
    "indent": [1, 2, { "SwitchCase": 1 }],
    "jsx-quotes": [1, "prefer-double"],
    "key-spacing": [1, {
      "beforeColon": false,
      "afterColon": true,
    }],
    "keyword-spacing": 1,
    "linebreak-style": [1, "unix"],
    "lines-around-comment": 0,
    "max-depth": [1, 8],
    "max-len": [1, 80, 2, { "ignoreUrls": true }],
    "max-nested-callbacks": [1, 4],
    "max-params": [1, 4],
    "max-statements": [1, 20],
    "new-cap": 1,
    "new-parens": 2,
    "newline-after-var": [1, "always"],
    "newline-before-return": 1,
    "newline-per-chained-call": 0,
    "no-array-constructor": 1,
    "no-bitwise": 1,
    "no-continue": 1,
    "no-inline-comments": 1,
    "no-lonely-if": 1,
    "no-mixed-spaces-and-tabs": [1, "smart-tabs"],
    "no-multiple-empty-lines": [1, { "max": 2 }],
    "no-negated-condition": 1,
    "no-nested-ternary": 1,
    "no-new-object": 1,
    "no-plusplus": [1, { "allowForLoopAfterthoughts": true }],
    "no-restricted-syntax": 0,
    "no-spaced-func": 1,
    "no-ternary": 0,
    "no-trailing-spaces": 1,
    "no-underscore-dangle": 0,
    "no-unneeded-ternary": [1, { "defaultAssignment": true }],
    "no-whitespace-before-property": 1,
    "object-curly-spacing": [1, "always"],
    "one-var": [1, "never"],
    "one-var-declaration-per-line": 0,
    "operator-assignment": [1, "always"],
    "operator-linebreak": [1, "after"],
    "padded-blocks": [1, "never"],
    "quote-props": [1, "as-needed"],
    "quotes": [1, "single", "avoid-escape"],
    "require-jsdoc": 0,
    "semi": [1, "always"],
    "semi-spacing": [1, {
      "before": false,
      "after": true,
    }],
    "sort-imports": 1,
    "sort-vars": 0,
    "space-before-blocks": [1, "always"],
    "space-before-function-paren": [1, "never"],
    "space-in-parens": [1, "never"],
    "space-infix-ops": 1,
    "space-unary-ops": 1,
    "spaced-comment": [1, "always"],
    "wrap-regex": 0,

    "arrow-body-style": [0, "as-needed"],
    "arrow-parens": [1, "as-needed"],
    "arrow-spacing": [1, { "before": true, "after": true }],
    "constructor-super": 2,
    "generator-star-spacing": [1, "after"],
    "no-class-assign": 1,
    "no-confusing-arrow": 1,
    "no-const-assign": 2,
    "no-dupe-class-members": 2,
    "no-new-symbol": 2,
    "no-this-before-super": 2,
    "no-useless-constructor": 1,
    "no-var": 1,
    "object-shorthand": [2, "always", { "ignoreConstructors": true }],
    "prefer-arrow-callback": 1,
    "prefer-const": 1,
    "prefer-reflect": 0,
    "prefer-rest-params": 1,
    "prefer-spread": 1,
    "prefer-template": 1,
    "require-yield": 2,
    "template-curly-spacing": [1, "never"],
    "yield-star-spacing": [1, "after"],
  }
}
