{
  "env": {
    "browser": true,
    "es6": true,
    "node": true
  },
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaFeatures": {
      "experimentalObjectRestSpread": true,
      "globalReturn": false,
      "impliedStrict": true,
      "jsx": true
    },
    "ecmaVersion": 2017,
    "sourceType": "module"
  },
  "plugins": [
    "no-use-extend-native",
    "babel",
    "import",
    "jsdoc",
    "promise",
    "filenames",
    "unicorn"
  ],
  "rules": {
    "accessor-pairs": 2,
    "array-bracket-newline": 0,
    "array-bracket-spacing": [2, "never"],
    "array-callback-return": 2,
    "array-element-newline": 0,
    "arrow-body-style": [2, "as-needed"],
    "arrow-parens": [2, "always"],
    "arrow-spacing": [
      2,
      {
        "after": true,
        "before": true
      }
    ],
    "babel/new-cap": 0,
    "babel/no-invalid-this": 2,
    "babel/object-curly-spacing": [2, "never"],
    "block-scoped-var": 2,
    "block-spacing": [2, "always"],
    "brace-style": [
      2,
      "1tbs",
      {
        "allowSingleLine": false
      }
    ],
    "callback-return": 2,
    "camelcase": 0,
    "capitalized-comments": 0,
    "class-methods-use-this": 2,
    "comma-dangle": [2, "never"],
    "comma-spacing": [
      2,
      {
        "after": true,
        "before": false
      }
    ],
    "comma-style": [2, "last"],
    "complexity": [1, 10],
    "computed-property-spacing": [2, "never"],
    "consistent-return": 2,
    "consistent-this": [2, "self"],
    "constructor-super": 2,
    "curly": 2,
    "default-case": 0,
    "dot-location": [2, "property"],
    "dot-notation": 2,
    "eol-last": 2,
    "eqeqeq": 2,
    "filenames/match-exported": 2,
    "filenames/match-regex": [
      2,
      "^[A-Z]?[a-z]+(?:[A-Z][a-z]+)*(\\.[a-z]+)*$",
      false
    ],
    "filenames/no-index": 0,
    "for-direction": 2,
    "func-call-spacing": [2, "never"],
    "func-name-matching": 2,
    "func-names": 0,
    "func-style": [2, "expression"],
    "generator-star-spacing": [
      2,
      {
        "after": false,
        "before": true
      }
    ],
    "global-require": 2,
    "guard-for-in": 2,
    "handle-callback-err": 2,
    "id-length": [
      1,
      {
        "exceptions": ["P", "R", "$", "_"],
        "max": 50,
        "min": 2
      }
    ],
    "id-match": [
      2,
      "(^[A-Za-z]+(?:[A-Z][a-z]*)*\\d*$)|(^[A-Z]+(_[A-Z]+)*(_\\d$)*$)|(^(_|\\$)$)",
      {
        "onlyDeclarations": true,
        "properties": true
      }
    ],
    "import/default": 2,
    "import/export": 2,
    "import/extensions": [
      2,
      "never",
      {
        "json": "always"
      }
    ],
    "import/first": [2, "absolute-first"],
    "import/max-dependencies": 0,
    "import/named": 2,
    "import/namespace": 2,
    "import/newline-after-import": 2,
    "import/no-absolute-path": 2,
    "import/no-amd": 2,
    "import/no-anonymous-default-export": [
      2,
      {
        "allowAnonymousClass": false,
        "allowAnonymousFunction": false,
        "allowArray": false,
        "allowArrowFunction": false,
        "allowLiteral": false,
        "allowObject": false
      }
    ],
    "import/no-commonjs": 2,
    "import/no-deprecated": 1,
    "import/no-duplicates": 0,
    "import/no-dynamic-require": 2,
    "import/no-extraneous-dependencies": [
      2,
      {
        "devDependencies": true,
        "optionalDependencies": true,
        "peerDependencies": true
      }
    ],
    "import/no-internal-modules": 0,
    "import/no-mutable-exports": 2,
    "import/no-named-as-default": 2,
    "import/no-named-as-default-member": 2,
    "import/no-named-default": 2,
    "import/no-namespace": 0,
    "import/no-nodejs-modules": 0,
    "import/no-restricted-paths": 0,
    "import/no-unassigned-import": 2,
    "import/no-unresolved": 2,
    "import/no-webpack-loader-syntax": 2,
    "import/order": [
      2,
      {
        "groups": [
          "builtin",
          "external",
          "internal",
          "parent",
          "sibling",
          "index"
        ],
        "newlines-between": "never"
      }
    ],
    "import/prefer-default-export": 0,
    "import/unambiguous": 1,
    "indent": [2, 2],
    "init-declarations": 0,
    "jsdoc/check-param-names": 1,
    "jsdoc/check-tag-names": 1,
    "jsdoc/check-types": 1,
    "jsdoc/newline-after-description": [1, "always"],
    "jsdoc/require-description-complete-sentence": 1,
    "jsdoc/require-hyphen-before-description": 0,
    "jsdoc/require-param": 0,
    "jsdoc/require-param-description": 0,
    "jsdoc/require-param-type": 0,
    "jsdoc/require-returns-description": 0,
    "jsdoc/require-returns-type": 0,
    "jsx-quotes": [2, "prefer-single"],
    "key-spacing": [
      2,
      {
        "afterColon": true,
        "beforeColon": false
      }
    ],
    "keyword-spacing": [
      2,
      {
        "after": true,
        "before": true
      }
    ],
    "line-comment-position": [
      2,
      {
        "position": "above"
      }
    ],
    "linebreak-style": [2, "unix"],
    "lines-around-comment": [
      2,
      {
        "allowArrayEnd": true,
        "allowArrayStart": true,
        "allowBlockEnd": true,
        "allowBlockStart": true,
        "allowObjectEnd": true,
        "allowObjectStart": true,
        "beforeBlockComment": true,
        "beforeLineComment": true
      }
    ],
    "lines-around-directive": [2, "always"],
    "max-len": [
      1,
      {
        "code": 160
      }
    ],
    "max-nested-callbacks": [1, 3],
    "max-statements-per-line": [
      2,
      {
        "max": 1
      }
    ],
    "multiline-ternary": 0,
    "new-cap": [
      0,
      {
        "capIsNew": false,
        "newIsCap": true
      }
    ],
    "new-parens": 2,
    "newline-before-return": 2,
    "newline-per-chained-call": 0,
    "no-alert": 2,
    "no-array-constructor": 2,
    "no-await-in-loop": 0,
    "no-buffer-constructor": 2,
    "no-caller": 2,
    "no-case-declarations": 2,
    "no-catch-shadow": 2,
    "no-class-assign": 2,
    "no-compare-neg-zero": 2,
    "no-cond-assign": 2,
    "no-confusing-arrow": 2,
    "no-console": 2,
    "no-const-assign": 2,
    "no-constant-condition": 1,
    "no-continue": 2,
    "no-control-regex": 2,
    "no-debugger": 1,
    "no-delete-var": 2,
    "no-div-regex": 2,
    "no-dupe-args": 2,
    "no-dupe-class-members": 2,
    "no-dupe-keys": 2,
    "no-duplicate-case": 2,
    "no-duplicate-imports": 2,
    "no-else-return": 0,
    "no-empty": 2,
    "no-empty-character-class": 2,
    "no-empty-pattern": 2,
    "no-eq-null": 2,
    "no-eval": 2,
    "no-ex-assign": 2,
    "no-extend-native": 2,
    "no-extra-bind": 2,
    "no-extra-boolean-cast": 0,
    "no-extra-parens": 2,
    "no-extra-semi": 2,
    "no-fallthrough": 2,
    "no-floating-decimal": 2,
    "no-func-assign": 2,
    "no-global-assign": 2,
    "no-implicit-coercion": 2,
    "no-implicit-globals": 0,
    "no-implied-eval": 2,
    "no-inline-comments": 2,
    "no-inner-declarations": 2,
    "no-invalid-regexp": 2,
    "no-invalid-this": 0,
    "no-irregular-whitespace": 2,
    "no-iterator": 2,
    "no-label-var": 2,
    "no-labels": 2,
    "no-lone-blocks": 2,
    "no-lonely-if": 2,
    "no-loop-func": 2,
    "no-magic-numbers": 0,
    "no-mixed-requires": 0,
    "no-mixed-spaces-and-tabs": 2,
    "no-multi-spaces": 2,
    "no-multi-str": 2,
    "no-multiple-empty-lines": [
      2,
      {
        "max": 1,
        "maxBOF": 0,
        "maxEOF": 1
      }
    ],
    "no-native-reassign": 2,
    "no-negated-condition": 2,
    "no-negated-in-lhs": 2,
    "no-nested-ternary": 2,
    "no-new": 2,
    "no-new-func": 2,
    "no-new-object": 2,
    "no-new-require": 2,
    "no-new-symbol": 2,
    "no-new-wrappers": 2,
    "no-obj-calls": 2,
    "no-octal": 2,
    "no-octal-escape": 2,
    "no-param-reassign": [
      2,
      {
        "props": false
      }
    ],
    "no-path-concat": 2,
    "no-process-env": 2,
    "no-process-exit": 2,
    "no-proto": 2,
    "no-redeclare": [
      2,
      {
        "builtinGlobals": true
      }
    ],
    "no-regex-spaces": 2,
    "no-restricted-globals": 0,
    "no-restricted-modules": 0,
    "no-restricted-properties": 0,
    "no-restricted-syntax": 0,
    "no-return-assign": 2,
    "no-return-await": 2,
    "no-script-url": 2,
    "no-self-assign": 2,
    "no-self-compare": 2,
    "no-sequences": 2,
    "no-shadow": [
      2,
      {
        "builtinGlobals": false,
        "hoist": "all"
      }
    ],
    "no-shadow-restricted-names": 2,
    "no-spaced-func": 2,
    "no-sparse-arrays": 2,
    "no-sync": 0,
    "no-tabs": 2,
    "no-template-curly-in-string": 2,
    "no-ternary": 0,
    "no-this-before-super": 2,
    "no-throw-literal": 2,
    "no-trailing-spaces": 2,
    "no-undef": 2,
    "no-undef-init": 2,
    "no-undefined": 0,
    "no-underscore-dangle": 0,
    "no-unexpected-multiline": 2,
    "no-unmodified-loop-condition": 2,
    "no-unneeded-ternary": 2,
    "no-unreachable": 1,
    "no-unsafe-finally": 2,
    "no-unsafe-negation": 2,
    "no-unused-expressions": 2,
    "no-unused-vars": 2,
    "no-use-before-define": 2,
    "no-use-extend-native/no-use-extend-native": 2,
    "no-useless-call": 2,
    "no-useless-computed-key": 2,
    "no-useless-concat": 2,
    "no-useless-constructor": 2,
    "no-useless-escape": 2,
    "no-useless-rename": [
      2,
      {
        "ignoreDestructuring": false,
        "ignoreExport": false,
        "ignoreImport": false
      }
    ],
    "no-useless-return": 2,
    "no-var": 2,
    "no-void": 2,
    "no-warning-comments": [
      1,
      {
        "location": "start",
        "terms": ["todo", "@toto"]
      }
    ],
    "no-whitespace-before-property": 2,
    "no-with": 2,
    "nonblock-statement-body-position": [2, "below"],
    "object-curly-spacing": [0, "never"],
    "object-property-newline": [
      2,
      {
        "allowMultiplePropertiesPerLine": false
      }
    ],
    "object-shorthand": [2, "always"],
    "one-var": [2, "never"],
    "one-var-declaration-per-line": 2,
    "operator-assignment": [2, "always"],
    "operator-linebreak": [2, "after"],
    "padded-blocks": [2, "never"],
    "padding-line-between-statements": 0,
    "prefer-arrow-callback": 2,
    "prefer-const": 2,
    "prefer-destructuring": 0,
    "prefer-numeric-literals": 2,
    "prefer-promise-reject-errors": 2,
    "prefer-reflect": 0,
    "prefer-rest-params": 2,
    "prefer-spread": 2,
    "prefer-template": 0,
    "promise/always-return": 2,
    "promise/avoid-new": 0,
    "promise/catch-or-return": 2,
    "promise/no-callback-in-promise": 0,
    "promise/no-native": 0,
    "promise/no-nesting": 0,
    "promise/no-promise-in-callback": 0,
    "promise/no-return-wrap": 2,
    "promise/param-names": 2,
    "promise/prefer-await-to-callbacks": 1,
    "promise/prefer-await-to-then": 1,
    "quote-props": [2, "as-needed"],
    "quotes": [2, "single"],
    "radix": 2,
    "require-await": 1,
    "require-jsdoc": 0,
    "require-yield": 2,
    "semi": [2, "always"],
    "semi-spacing": [
      2,
      {
        "after": true,
        "before": false
      }
    ],
    "semi-style": [2, "last"],
    "sort-keys": [
      2,
      "asc",
      {
        "caseSensitive": false,
        "natural": true
      }
    ],
    "sort-vars": 2,
    "space-before-blocks": [2, "always"],
    "space-before-function-paren": [2, "always"],
    "space-in-parens": [2, "never"],
    "space-infix-ops": 2,
    "space-unary-ops": [
      2,
      {
        "nonwords": false,
        "words": true
      }
    ],
    "spaced-comment": [2, "always"],
    "strict": [2, "never"],
    "switch-colon-spacing": [
      2,
      {
        "after": true,
        "before": false
      }
    ],
    "symbol-description": 2,
    "template-tag-spacing": [2, "never"],
    "unicode-bom": [2, "never"],
    "unicorn/catch-error-name": [
      "error",
      {
        "name": "error"
      }
    ],
    "unicorn/custom-error-definition": 0,
    "unicorn/escape-case": 2,
    "unicorn/explicit-length-check": 0,
    "unicorn/filename-case": 0,
    "unicorn/no-abusive-eslint-disable": 2,
    "unicorn/no-array-instanceof": 2,
    "unicorn/no-hex-escape": 2,
    "unicorn/no-new-buffer": 2,
    "unicorn/no-process-exit": 0,
    "unicorn/number-literal-case": 2,
    "unicorn/prefer-starts-ends-with": 2,
    "unicorn/prefer-type-error": 2,
    "unicorn/throw-new-error": 2,
    "use-isnan": 2,
    "valid-jsdoc": 0,
    "valid-typeof": 2,
    "vars-on-top": 2,
    "wrap-iife": [2, "inside"],
    "wrap-regex": 0,
    "yoda": 0,

    "import/unambiguous": "off",
    "import/no-commonjs": "off",
    "promise/prefer-await-to-then": "off",
    "strict": "off"
  },
  "settings": {
    "import/extensions": [".js"]
  }
}
