ljosberinn/eslint-config-galex

View on GitHub
integration/nest-ts/eslint-config.json

Summary

Maintainability
Test Coverage
{
  "env": {
    "browser": false,
    "node": true,
    "es6": true
  },
  "overrides": [
    {
      "files": [
        "**/*.ts?(x)"
      ],
      "parser": "@typescript-eslint/parser",
      "parserOptions": {
        "ecmaFeatures": {
          "jsx": false
        },
        "project": "./tsconfig.json",
        "warnOnUnsupportedTypeScriptVersion": true
      },
      "plugins": [
        "@typescript-eslint",
        "etc"
      ],
      "settings": {
        "react": {
          "version": "detect"
        }
      },
      "rules": {
        "@typescript-eslint/adjacent-overload-signatures": "error",
        "@typescript-eslint/array-type": [
          "warn",
          {
            "default": "array"
          }
        ],
        "@typescript-eslint/await-thenable": "error",
        "@typescript-eslint/ban-ts-comment": [
          "error",
          {
            "ts-expect-error": "allow-with-description",
            "ts-ignore": true,
            "ts-nocheck": true
          }
        ],
        "@typescript-eslint/ban-tslint-comment": "error",
        "@typescript-eslint/ban-types": "warn",
        "@typescript-eslint/brace-style": "off",
        "@typescript-eslint/camelcase": "off",
        "@typescript-eslint/class-literal-property-style": "off",
        "@typescript-eslint/comma-dangle": "off",
        "@typescript-eslint/comma-spacing": "off",
        "@typescript-eslint/no-loop-func": "error",
        "@typescript-eslint/consistent-type-assertions": [
          "error",
          {
            "assertionStyle": "as",
            "objectLiteralTypeAssertions": "never"
          }
        ],
        "@typescript-eslint/consistent-type-definitions": [
          "error",
          "type"
        ],
        "@typescript-eslint/consistent-type-imports": [
          "warn",
          {
            "disallowTypeAnnotations": true,
            "prefer": "type-imports"
          }
        ],
        "@typescript-eslint/default-param-last": "error",
        "@typescript-eslint/dot-notation": "error",
        "@typescript-eslint/explicit-function-return-type": "off",
        "@typescript-eslint/explicit-member-accessibility": "error",
        "@typescript-eslint/explicit-module-boundary-types": "off",
        "@typescript-eslint/func-call-spacing": "off",
        "@typescript-eslint/indent": "off",
        "@typescript-eslint/init-declarations": "off",
        "@typescript-eslint/keyword-spacing": "off",
        "@typescript-eslint/lines-around-comment": 0,
        "@typescript-eslint/lines-between-class-members": "warn",
        "@typescript-eslint/member-delimiter-style": "off",
        "@typescript-eslint/member-ordering": "warn",
        "@typescript-eslint/method-signature-style": "off",
        "@typescript-eslint/naming-convention": "off",
        "@typescript-eslint/no-array-constructor": "error",
        "@typescript-eslint/no-base-to-string": "error",
        "@typescript-eslint/no-confusing-non-null-assertion": "error",
        "@typescript-eslint/consistent-indexed-object-style": "off",
        "@typescript-eslint/no-dupe-class-members": "error",
        "@typescript-eslint/no-duplicate-enum-values": "error",
        "@typescript-eslint/no-dynamic-delete": "warn",
        "@typescript-eslint/no-empty-function": "error",
        "@typescript-eslint/no-empty-interface": "off",
        "@typescript-eslint/no-explicit-any": "off",
        "@typescript-eslint/no-extra-non-null-assertion": "error",
        "@typescript-eslint/no-extra-parens": "off",
        "@typescript-eslint/no-extra-semi": "off",
        "@typescript-eslint/no-extraneous-class": "off",
        "@typescript-eslint/no-floating-promises": "error",
        "@typescript-eslint/no-for-in-array": "warn",
        "@typescript-eslint/no-implicit-any-catch": "off",
        "@typescript-eslint/no-implied-eval": "error",
        "@typescript-eslint/no-inferrable-types": "warn",
        "@typescript-eslint/no-invalid-this": "error",
        "@typescript-eslint/no-invalid-void-type": "error",
        "@typescript-eslint/no-loss-of-precision": "error",
        "@typescript-eslint/no-magic-numbers": "off",
        "@typescript-eslint/no-misused-new": "off",
        "@typescript-eslint/no-misused-promises": [
          "warn",
          {
            "checksConditionals": true,
            "checksVoidReturn": true
          }
        ],
        "@typescript-eslint/no-namespace": "warn",
        "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
        "@typescript-eslint/no-non-null-assertion": "error",
        "@typescript-eslint/no-parameter-properties": "off",
        "@typescript-eslint/no-redeclare": "warn",
        "@typescript-eslint/no-redundant-type-constituents": "warn",
        "@typescript-eslint/no-require-imports": "error",
        "@typescript-eslint/no-this-alias": [
          "error",
          {
            "allowDestructuring": true
          }
        ],
        "@typescript-eslint/no-throw-literal": "error",
        "@typescript-eslint/no-type-alias": "off",
        "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
          "warn",
          {
            "allowComparingNullableBooleansToFalse": false,
            "allowComparingNullableBooleansToTrue": false
          }
        ],
        "@typescript-eslint/no-unnecessary-condition": "off",
        "@typescript-eslint/no-unnecessary-qualifier": "error",
        "@typescript-eslint/no-unnecessary-type-arguments": "error",
        "@typescript-eslint/no-unnecessary-type-assertion": "warn",
        "@typescript-eslint/no-unnecessary-type-constraint": "warn",
        "@typescript-eslint/no-unsafe-argument": "off",
        "@typescript-eslint/no-unsafe-assignment": "off",
        "@typescript-eslint/no-unsafe-call": "off",
        "@typescript-eslint/no-unsafe-member-access": "off",
        "@typescript-eslint/no-unsafe-return": "off",
        "@typescript-eslint/no-unused-expressions": "error",
        "@typescript-eslint/no-unused-vars": "warn",
        "@typescript-eslint/no-use-before-define": "off",
        "@typescript-eslint/no-useless-constructor": "error",
        "@typescript-eslint/no-useless-empty-export": "error",
        "@typescript-eslint/no-var-requires": "off",
        "@typescript-eslint/non-nullable-type-assertion-style": "off",
        "@typescript-elint/object-curly-spacing": "off",
        "@typescript-eslint/sort-type-union-intersection-members": "off",
        "@typescript-eslint/parameter-properties": [
          "warn",
          {
            "prefer": "parameter-property"
          }
        ],
        "@typescript-eslint/prefer-as-const": "error",
        "@typescript-eslint/prefer-enum-initializers": "error",
        "@typescript-eslint/prefer-for-of": "warn",
        "@typescript-eslint/prefer-function-type": "off",
        "@typescript-eslint/prefer-includes": "warn",
        "@typescript-eslint/prefer-literal-enum-member": "error",
        "@typescript-eslint/prefer-namespace-keyword": "error",
        "@typescript-eslint/prefer-optional-chain": "error",
        "@typescript-eslint/prefer-readonly": "error",
        "@typescript-eslint/prefer-readonly-parameter-types": "off",
        "@typescript-eslint/prefer-reduce-type-parameter": "error",
        "@typescript-eslint/prefer-regexp-exec": "warn",
        "@typescript-eslint/prefer-string-starts-ends-with": "error",
        "@typescript-eslint/prefer-ts-expect-error": "error",
        "@typescript-eslint/no-confusing-void-expression": "warn",
        "@typescript-eslint/promise-function-async": "off",
        "@typescript-eslint/quotes": 0,
        "@typescript-eslint/require-array-sort-compare": "warn",
        "@typescript-eslint/restrict-plus-operands": "warn",
        "@typescript-eslint/restrict-template-expressions": [
          "warn",
          {
            "allowBoolean": true,
            "allowNumber": true
          }
        ],
        "@typescript-eslint/return-await": "error",
        "@typescript-eslint/semi": "off",
        "@typescript-eslint/space-before-blocks": "off",
        "@typescript-eslint/space-before-function-paren": "off",
        "@typescript-eslint/space-infix-ops": "off",
        "@typescript-eslint/strict-boolean-expressions": "off",
        "@typescript-eslint/switch-exhaustiveness-check": "warn",
        "@typescript-eslint/triple-slash-reference": "warn",
        "@typescript-eslint/type-annotation-spacing": "off",
        "@typescript-eslint/typedef": "off",
        "@typescript-eslint/unbound-method": "warn",
        "@typescript-eslint/unified-signatures": "warn",
        "@typescript-eslint/interface-name-prefix": "off",
        "etc/no-assign-mutated-array": "error",
        "etc/no-commented-out-code": "off",
        "etc/no-internal": "warn",
        "etc/no-misused-generics": "warn",
        "etc/underscore-internal": "warn",
        "@typescript-eslint/block-spacing": "off",
        "@typescript-eslint/key-spacing": "off",
        "@typescript-eslint/object-curly-spacing": "off"
      },
      "overrides": []
    },
    {
      "env": {
        "jest": true
      },
      "extends": [
        "plugin:jest-formatting/strict"
      ],
      "files": [
        "**/__tests__/**/*.[jt]s?(x)",
        "**/?(*.)+(spec|test).[jt]s?(x)"
      ],
      "parserOptions": {
        "ecmaVersion": 2020
      },
      "plugins": [
        "jest"
      ],
      "settings": {
        "jest": {
          "version": "detect"
        }
      },
      "rules": {
        "jest/consistent-test-it": "off",
        "jest/expect-expect": "off",
        "jest/max-expects": "off",
        "jest/lowercase-name": "off",
        "jest/max-nested-describe": "off",
        "jest/no-alias-methods": "off",
        "jest/no-commented-out-tests": "warn",
        "jest/no-conditional-expect": "error",
        "jest/no-conditional-in-test": "warn",
        "jest/no-deprecated-functions": "error",
        "jest/no-disabled-tests": "warn",
        "jest/no-done-callback": "error",
        "jest/no-duplicate-hooks": "warn",
        "jest/no-expect-resolves": "off",
        "jest/no-export": "error",
        "jest/no-focused-tests": "error",
        "jest/no-hooks": "off",
        "jest/no-identical-title": "error",
        "jest/no-interpolation-in-snapshots": "error",
        "jest/no-jasmine-globals": "error",
        "jest/no-large-snapshots": [
          "warn",
          {
            "maxSize": 300
          }
        ],
        "jest/no-mocks-import": "error",
        "jest/no-restricted-jest-methods": "off",
        "jest/no-restricted-matchers": "off",
        "jest/no-standalone-expect": "off",
        "jest/no-test-prefixes": "error",
        "jest/no-test-return-statement": "error",
        "jest/no-untyped-mock-factory": "warn",
        "jest/no-truthy-falsy": "off",
        "jest/no-try-expect": "off",
        "jest/prefer-called-with": "error",
        "jest/prefer-comparison-matcher": "warn",
        "jest/prefer-each": "warn",
        "jest/prefer-expect-assertions": "off",
        "jest/prefer-expect-resolves": "warn",
        "jest/prefer-hooks-in-order": "warn",
        "jest/prefer-hooks-on-top": "error",
        "jest/prefer-inline-snapshots": "off",
        "jest/prefer-snapshot-hint": "off",
        "jest/prefer-spy-on": "warn",
        "jest/prefer-strict-equal": "warn",
        "jest/prefer-to-be": "warn",
        "jest/prefer-to-contain": "warn",
        "jest/prefer-to-have-length": "warn",
        "jest/prefer-todo": "warn",
        "jest/require-to-throw-message": "off",
        "jest/require-top-level-describe": "off",
        "jest/valid-describe-callback": "error",
        "jest/valid-expect": "error",
        "jest/valid-expect-in-promise": "error",
        "jest/valid-title": "off",
        "@typescript-eslint/no-non-null-assertion": "off",
        "@typescript-eslint/unbound-method": "off",
        "@typescript-eslint/no-empty-function": "off",
        "jest/unbound-method": "warn",
        "@typescript-eslint/explicit-member-accessibility": "off",
        "@typescript-eslint/no-unsafe-argument": "off",
        "import/no-namespace": "off",
        "no-empty-function": "off",
        "sonarjs/no-duplicate-string": "off",
        "sonarjs/no-identical-functions": "off",
        "require-unicode-regexp": "off",
        "no-param-reassign": "off",
        "@typescript-eslint/consistent-type-imports": "off"
      }
    },
    {
      "files": [
        "jest.config.?(js|ts)"
      ],
      "rules": {
        "import/no-default-export": "off"
      }
    },
    {
      "files": [
        "**/*.ts?(x)",
        "**/*.js?(x)"
      ],
      "rules": {
        "lines-between-class-members": "off",
        "new-cap": "off",
        "no-array-constructor": "off",
        "spaced-comment": [
          "warn",
          "always",
          {}
        ],
        "array-callback-return": "off",
        "default-case": "off",
        "default-param-last": "off",
        "dot-notation": "off",
        "no-constructor-return": "off",
        "no-empty-function": "off",
        "no-invalid-this": "off",
        "no-loop-func": "off",
        "no-redeclare": "off",
        "no-return-await": "off",
        "no-throw-literal": "off",
        "no-unsafe-optional-chaining": "off",
        "no-unused-expressions": "off",
        "no-unused-private-class-members": "off",
        "require-await": "off",
        "getter-return": "off",
        "no-dupe-args": "off",
        "no-dupe-keys": "off",
        "no-func-assign": "off",
        "no-import-assign": "off",
        "no-loss-of-precision": "off",
        "no-obj-calls": "off",
        "no-setter-return": "off",
        "no-unreachable": "off",
        "no-unsafe-negation": "off",
        "valid-typeof": "off",
        "no-undef": "off",
        "no-unused-vars": "off",
        "no-use-before-define": "off",
        "constructor-super": "off",
        "no-const-assign": "off",
        "no-dupe-class-members": "off",
        "no-this-before-super": "off",
        "no-useless-constructor": "off",
        "prefer-const": "error"
      }
    }
  ],
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module",
    "ecmaFeatures": {}
  },
  "plugins": [
    "import",
    "unicorn",
    "promise",
    "sonarjs",
    "simple-import-sort"
  ],
  "rules": {
    "for-direction": "error",
    "getter-return": "warn",
    "no-async-promise-executor": "error",
    "no-await-in-loop": "error",
    "no-compare-neg-zero": "error",
    "no-cond-assign": [
      "warn",
      "except-parens"
    ],
    "no-console": "warn",
    "no-constant-condition": "error",
    "no-control-regex": "warn",
    "no-debugger": "warn",
    "no-dupe-args": "error",
    "no-dupe-else-if": "warn",
    "no-dupe-keys": "warn",
    "no-duplicate-case": "warn",
    "no-empty": "warn",
    "no-empty-character-class": "warn",
    "no-ex-assign": "warn",
    "no-extra-boolean-cast": "warn",
    "no-extra-parens": "off",
    "no-extra-semi": "off",
    "no-func-assign": "warn",
    "no-import-assign": "error",
    "no-inner-declarations": "warn",
    "no-invalid-regexp": "error",
    "no-irregular-whitespace": "warn",
    "no-loss-of-precision": "error",
    "no-misleading-character-class": "warn",
    "no-obj-calls": "error",
    "no-promise-executor-return": "error",
    "no-prototype-builtins": "error",
    "no-regex-spaces": "warn",
    "no-setter-return": "error",
    "no-sparse-arrays": "warn",
    "no-template-curly-in-string": "warn",
    "no-unexpected-multiline": "off",
    "no-unreachable": "warn",
    "no-unreachable-loop": "off",
    "no-unsafe-finally": "error",
    "no-unsafe-negation": "warn",
    "no-useless-backreference": "warn",
    "require-atomic-updates": "warn",
    "semi": "off",
    "space-before-function-paren": "off",
    "valid-typeof": "warn",
    "accessor-pairs": "off",
    "array-callback-return": [
      "error",
      {
        "checkForEach": true
      }
    ],
    "block-scoped-var": "off",
    "class-methods-use-this": "off",
    "complexity": "off",
    "consistent-return": "off",
    "curly": [
      "warn",
      "all"
    ],
    "default-case": "error",
    "default-case-last": "error",
    "default-param-last": "error",
    "dot-location": "off",
    "dot-notation": "warn",
    "eqeqeq": "warn",
    "grouped-accessor-pairs": "off",
    "guard-for-in": "warn",
    "max-classes-per-file": "off",
    "no-alert": "error",
    "no-caller": "error",
    "no-case-declarations": "warn",
    "no-constructor-return": "error",
    "no-div-regex": "warn",
    "no-else-return": "warn",
    "no-empty-function": "error",
    "no-empty-pattern": "warn",
    "no-empty-static-block": "warn",
    "no-eq-null": "error",
    "no-eval": "error",
    "no-extend-native": "error",
    "no-extra-bind": "warn",
    "no-extra-label": "off",
    "no-fallthrough": "warn",
    "no-floating-decimal": "off",
    "no-global-assign": "warn",
    "no-implicit-coercion": [
      "warn",
      {
        "boolean": false,
        "number": true,
        "string": true
      }
    ],
    "no-implicit-globals": "error",
    "no-implied-eval": "error",
    "no-invalid-this": "error",
    "no-iterator": "off",
    "no-labels": "error",
    "no-lone-blocks": "off",
    "no-loop-func": "error",
    "no-magic-numbers": "off",
    "no-multi-spaces": "off",
    "no-multi-str": "off",
    "no-new": "error",
    "no-new-func": "error",
    "no-new-native-nonconstructor": "off",
    "no-new-wrappers": "error",
    "no-nonoctal-decimal-escape": "error",
    "no-octal": "warn",
    "no-octal-escape": "error",
    "no-param-reassign": "error",
    "no-proto": "error",
    "no-redeclare": "error",
    "no-restricted-properties": "off",
    "no-return-assign": "error",
    "no-return-await": "error",
    "no-script-url": "error",
    "no-self-assign": "error",
    "no-self-compare": "error",
    "no-sequences": "error",
    "no-throw-literal": "error",
    "no-unmodified-loop-condition": "error",
    "no-unsafe-optional-chaining": "error",
    "no-unused-expressions": [
      "error",
      {
        "allowShortCircuit": true,
        "allowTaggedTemplates": true,
        "allowTernary": true
      }
    ],
    "no-unused-labels": "off",
    "no-unused-private-class-members": "warn",
    "no-useless-call": "error",
    "no-useless-catch": "off",
    "no-useless-concat": "error",
    "no-useless-escape": "warn",
    "no-useless-return": "warn",
    "no-void": "off",
    "no-warning-comments": "off",
    "no-with": "error",
    "prefer-named-capture-group": "off",
    "prefer-promise-reject-errors": "error",
    "prefer-regex-literals": "error",
    "radix": "off",
    "require-await": "error",
    "require-unicode-regexp": "error",
    "vars-on-top": "off",
    "wrap-iife": "off",
    "yoda": "warn",
    "strict": "off",
    "init-declarations": "off",
    "no-delete-var": "off",
    "no-label-var": "off",
    "no-restricted-globals": [
      "error",
      "addEventListener",
      "blur",
      "close",
      "closed",
      "confirm",
      "defaultStatus",
      "defaultstatus",
      "event",
      "external",
      "find",
      "focus",
      "frameElement",
      "frames",
      "history",
      "innerHeight",
      "innerWidth",
      "length",
      "location",
      "locationbar",
      "menubar",
      "moveBy",
      "moveTo",
      "name",
      "onblur",
      "onerror",
      "onfocus",
      "onload",
      "onresize",
      "onunload",
      "open",
      "opener",
      "opera",
      "outerHeight",
      "outerWidth",
      "pageXOffset",
      "pageYOffset",
      "parent",
      "print",
      "removeEventListener",
      "resizeBy",
      "resizeTo",
      "screen",
      "screenLeft",
      "screenTop",
      "screenX",
      "screenY",
      "scroll",
      "scrollbars",
      "scrollBy",
      "scrollTo",
      "scrollX",
      "scrollY",
      "self",
      "status",
      "statusbar",
      "stop",
      "toolbar",
      "top"
    ],
    "no-shadow": "off",
    "no-shadow-restricted-names": "error",
    "no-undef": "error",
    "no-undef-init": "warn",
    "no-undefined": "off",
    "no-unused-vars": [
      "warn",
      {
        "args": "none",
        "ignoreRestSiblings": true
      }
    ],
    "no-use-before-define": [
      "warn",
      {
        "classes": false,
        "functions": false,
        "variables": false
      }
    ],
    "array-bracket-newline": "off",
    "array-bracket-spacing": "off",
    "array-element-newline": "off",
    "block-spacing": "off",
    "brace-style": "off",
    "camelcase": "off",
    "capitalized-comments": "off",
    "comma-dangle": "off",
    "comma-spacing": "off",
    "comma-style": "off",
    "computed-property-spacing": "off",
    "consistent-this": "off",
    "eol-last": "off",
    "func-call-spacing": "off",
    "func-name-matching": "off",
    "func-names": [
      "warn",
      "as-needed"
    ],
    "func-style": "off",
    "function-call-argument-newline": "off",
    "function-paren-newline": "off",
    "id-denylist": "off",
    "id-length": "off",
    "id-match": "off",
    "implicit-arrow-linebreak": "off",
    "indent": "off",
    "jsx-quotes": "off",
    "key-spacing": "off",
    "keyword-spacing": "off",
    "line-comment-position": "off",
    "linebreak-style": "off",
    "lines-around-comment": "off",
    "lines-between-class-members": "warn",
    "logical-assignment-operators": "off",
    "max-depth": "off",
    "max-len": "off",
    "max-lines": "off",
    "max-lines-per-function": "off",
    "max-nested-callbacks": "off",
    "max-params": "off",
    "max-statements": "off",
    "max-statements-per-line": "off",
    "multiline-comment-style": "off",
    "multiline-ternary": "off",
    "new-cap": "warn",
    "new-parens": "off",
    "newline-per-chained-call": "off",
    "no-array-constructor": "error",
    "no-bitwise": "warn",
    "no-continue": "off",
    "no-inline-comments": "off",
    "no-lonely-if": "off",
    "no-mixed-operators": "off",
    "no-mixed-spaces-and-tabs": "off",
    "no-multi-assign": "error",
    "no-multiple-empty-lines": "off",
    "no-negated-condition": "off",
    "no-nested-ternary": "off",
    "no-new-object": "error",
    "no-plusplus": "off",
    "no-restricted-syntax": "off",
    "no-tabs": "off",
    "no-ternary": "off",
    "no-trailing-spaces": "off",
    "no-underscore-dangle": "off",
    "no-unneeded-ternary": "warn",
    "no-whitespace-before-property": "off",
    "nonblock-statement-body-position": "off",
    "object-curly-newline": "off",
    "object-curly-spacing": "off",
    "object-property-newline": "off",
    "one-var": [
      "warn",
      "never"
    ],
    "one-var-declaration-per-line": "off",
    "operator-assignment": [
      "warn",
      "always"
    ],
    "operator-linebreak": "off",
    "padded-blocks": "off",
    "padding-line-between-statements": "off",
    "prefer-exponentiation-operator": "warn",
    "prefer-object-has-own": "warn",
    "prefer-object-spread": "warn",
    "quote-props": "off",
    "quotes": "off",
    "semi-spacing": "off",
    "semi-style": "off",
    "sort-keys": "off",
    "sort-vars": "off",
    "space-before-blocks": "off",
    "space-in-parens": "off",
    "space-infix-ops": "off",
    "space-unary-ops": "off",
    "spaced-comment": [
      "warn",
      "always",
      {}
    ],
    "switch-colon-spacing": "off",
    "template-tag-spacing": "off",
    "unicode-bom": "off",
    "use-isnan": "off",
    "wrap-regex": "off",
    "arrow-body-style": "off",
    "arrow-parens": "off",
    "arrow-spacing": "off",
    "constructor-super": "error",
    "generator-star-spacing": "off",
    "no-class-assign": "error",
    "no-confusing-arrow": "off",
    "no-const-assign": "error",
    "no-constant-binary-expression": "warn",
    "no-dupe-class-members": "error",
    "no-duplicate-imports": "off",
    "no-new-symbol": "off",
    "no-restricted-exports": "off",
    "no-restricted-imports": "off",
    "no-this-before-super": "error",
    "no-useless-computed-key": "warn",
    "no-useless-constructor": "warn",
    "no-useless-rename": "warn",
    "no-var": "error",
    "object-shorthand": "warn",
    "prefer-const": "warn",
    "prefer-destructuring": [
      "warn",
      {
        "object": true,
        "array": false
      }
    ],
    "prefer-numeric-literals": "warn",
    "prefer-rest-params": "error",
    "prefer-spread": "error",
    "prefer-template": "warn",
    "require-yield": "error",
    "rest-spread-spacing": "off",
    "sort-imports": "off",
    "symbol-description": "error",
    "template-curly-spacing": "off",
    "yield-star-spacing": "off",
    "generator-star": "off",
    "indent-legacy": "off",
    "no-arrow-condition": "off",
    "no-comma-dangle": "off",
    "no-reserved-keys": "off",
    "no-space-before-semi": "off",
    "no-spaced-func": "off",
    "no-wrap-func": "off",
    "space-after-function-name": "off",
    "space-after-keywords": "off",
    "space-before-function-parentheses": "off",
    "space-before-keywords": "off",
    "space-in-brackets": "off",
    "space-return-throw-case": "off",
    "space-unary-word-ops": "off",
    "prefer-arrow-callback": "warn",
    "unicorn/better-regex": "error",
    "unicorn/catch-error-name": "error",
    "unicorn/consistent-destructuring": "error",
    "unicorn/consistent-function-scoping": "error",
    "unicorn/custom-error-definition": "warn",
    "unicorn/empty-brace-spaces": "off",
    "unicorn/error-message": "error",
    "unicorn/escape-case": "error",
    "unicorn/expiring-todo-comments": "off",
    "unicorn/explicit-length-check": "error",
    "unicorn/filename-case": "off",
    "unicorn/import-style": "off",
    "unicorn/new-for-builtins": "error",
    "unicorn/no-abusive-eslint-disable": "error",
    "unicorn/no-array-callback-reference": "off",
    "unicorn/no-array-for-each": "off",
    "unicorn/no-array-method-this-argument": "warn",
    "unicorn/no-array-push-push": "warn",
    "unicorn/no-array-reduce": "off",
    "unicorn/no-await-expression-member": "error",
    "unicorn/no-console-spaces": "error",
    "unicorn/no-document-cookie": "warn",
    "unicorn/no-empty-file": "off",
    "unicorn/no-for-loop": "off",
    "unicorn/no-hex-escape": "error",
    "unicorn/no-instanceof-array": "error",
    "unicorn/no-invalid-remove-event-listener": "error",
    "unicorn/no-keyword-prefix": "warn",
    "unicorn/no-lonely-if": "warn",
    "unicorn/no-negated-condition": "warn",
    "unicorn/no-nested-ternary": "off",
    "unicorn/no-new-array": "error",
    "unicorn/no-new-buffer": "error",
    "unicorn/no-null": "off",
    "unicorn/no-object-as-default-parameter": "warn",
    "unicorn/no-process-exit": "error",
    "unicorn/no-static-only-class": "error",
    "unicorn/no-thenable": "warn",
    "unicorn/no-this-assignment": "warn",
    "unicorn/no-typeof-undefined": "warn",
    "unicorn/no-unnecessary-await": "off",
    "unicorn/no-unreadable-array-destructuring": "warn",
    "unicorn/no-unreadable-iife": "warn",
    "unicorn/no-unsafe-regex": "error",
    "unicorn/no-useless-length-check": "error",
    "unicorn/no-unused-properties": "warn",
    "unicorn/no-useless-fallback-in-spread": "warn",
    "unicorn/no-useless-promise-resolve-reject": "warn",
    "unicorn/no-useless-spread": "error",
    "unicorn/no-useless-switch-case": "warn",
    "unicorn/no-useless-undefined": "error",
    "unicorn/no-zero-fractions": "error",
    "unicorn/number-literal-case": "off",
    "unicorn/numeric-separators-style": "warn",
    "unicorn/prefer-add-event-listener": "error",
    "unicorn/prefer-array-find": "error",
    "unicorn/prefer-array-flat": "warn",
    "unicorn/prefer-array-flat-map": "error",
    "unicorn/prefer-array-index-of": "warn",
    "unicorn/prefer-array-some": "warn",
    "unicorn/prefer-at": "off",
    "unicorn/prefer-code-point": "warn",
    "unicorn/prefer-date-now": "warn",
    "unicorn/prefer-default-parameters": "warn",
    "unicorn/prefer-dom-node-append": "error",
    "unicorn/prefer-dom-node-dataset": "error",
    "unicorn/prefer-dom-node-remove": "error",
    "unicorn/prefer-dom-node-text-content": "error",
    "unicorn/prefer-includes": "off",
    "unicorn/prefer-json-parse-buffer": "warn",
    "unicorn/prefer-event-target": "warn",
    "unicorn/prefer-export-from": "warn",
    "unicorn/prefer-keyboard-event-key": "error",
    "unicorn/prefer-logical-operator-over-ternary": "warn",
    "unicorn/prefer-math-trunc": "warn",
    "unicorn/prefer-modern-dom-apis": "error",
    "unicorn/prefer-modern-math-apis": "warn",
    "unicorn/prefer-module": "off",
    "unicorn/prefer-native-coercion-functions": "error",
    "unicorn/prefer-negative-index": "error",
    "unicorn/prefer-node-protocol": "off",
    "unicorn/prefer-number-properties": [
      "warn",
      {
        "checkInfinity": false
      }
    ],
    "unicorn/prefer-object-from-entries": "error",
    "unicorn/prefer-optional-catch-binding": "error",
    "unicorn/prefer-query-selector": "error",
    "unicorn/prefer-prototype-methods": "warn",
    "unicorn/prefer-reflect-apply": "error",
    "unicorn/prefer-regexp-test": "error",
    "unicorn/prefer-set-has": "error",
    "unicorn/prefer-set-size": "warn",
    "unicorn/prefer-spread": "error",
    "unicorn/prefer-string-replace-all": "off",
    "unicorn/prefer-string-slice": "error",
    "unicorn/prefer-string-starts-ends-with": "off",
    "unicorn/prefer-string-trim-start-end": "error",
    "unicorn/prefer-switch": [
      "error",
      {
        "emptyDefaultCase": "no-default-comment"
      }
    ],
    "unicorn/prefer-ternary": "off",
    "unicorn/prefer-top-level-await": "off",
    "unicorn/prefer-type-error": "error",
    "unicorn/prevent-abbreviations": "off",
    "unicorn/relative-url-style": "warn",
    "unicorn/require-array-join-separator": "warn",
    "unicorn/require-number-to-fixed-digits-argument": "warn",
    "unicorn/require-post-message-target-origin": "error",
    "unicorn/string-content": "off",
    "unicorn/switch-case-braces": "warn",
    "unicorn/template-indent": "warn",
    "unicorn/text-encoding-identifier-case": "off",
    "unicorn/throw-new-error": "error",
    "promise/always-return": "off",
    "promise/avoid-new": "off",
    "promise/catch-or-return": "off",
    "promise/no-callback-in-promise": "off",
    "promise/no-multiple-resolved": "warn",
    "promise/no-native": "off",
    "promise/no-nesting": "warn",
    "promise/no-new-statics": "error",
    "promise/no-promise-in-callback": "warn",
    "promise/no-return-in-finally": "warn",
    "promise/no-return-wrap": "error",
    "promise/param-names": "warn",
    "promise/prefer-await-to-callbacks": "warn",
    "promise/prefer-await-to-then": "warn",
    "promise/valid-params": "off",
    "import/consistent-type-specifier-style": "off",
    "import/default": "warn",
    "import/dynamic-import-chunkname": "warn",
    "import/export": "off",
    "import/exports-last": "off",
    "import/extensions": "off",
    "import/first": "warn",
    "import/group-exports": "off",
    "import/max-dependencies": "off",
    "import/named": "off",
    "import/namespace": "off",
    "import/newline-after-import": "warn",
    "import/no-absolute-path": "off",
    "import/no-amd": "error",
    "import/no-anonymous-default-export": "error",
    "import/no-commonjs": "off",
    "import/no-cycle": [
      "warn",
      {
        "ignoreExternal": true,
        "maxDepth": 5
      }
    ],
    "import/no-default-export": "warn",
    "import/no-deprecated": "off",
    "import/no-duplicates": "off",
    "import/no-dynamic-require": "warn",
    "import/no-empty-named-blocks": "warn",
    "import/no-extraneous-dependencies": "warn",
    "import/no-import-module-exports": "off",
    "import/no-internal-modules": "off",
    "import/no-mutable-exports": "error",
    "import/no-named-as-default": "off",
    "import/no-named-as-default-member": "off",
    "import/no-named-default": "error",
    "import/no-named-export": "off",
    "import/no-namespace": "error",
    "import/no-nodejs-modules": "off",
    "import/no-relative-packages": "off",
    "import/no-relative-parent-imports": "off",
    "import/no-restricted-paths": "off",
    "import/no-self-import": "error",
    "import/no-unassigned-import": "off",
    "import/no-unresolved": "off",
    "import/no-unused-modules": "warn",
    "import/no-useless-path-segments": "off",
    "import/no-webpack-loader-syntax": "error",
    "import/order": "off",
    "import/prefer-default-export": "off",
    "import/unambiguous": "off",
    "sonarjs/cognitive-complexity": "warn",
    "sonarjs/elseif-without-else": "warn",
    "sonarjs/max-switch-cases": [
      "error",
      15
    ],
    "sonarjs/no-all-duplicated-branches": "error",
    "sonarjs/no-collapsible-if": "error",
    "sonarjs/no-collection-size-mischeck": "warn",
    "sonarjs/no-duplicate-string": "error",
    "sonarjs/no-duplicated-branches": "error",
    "sonarjs/no-element-overwrite": "error",
    "sonarjs/no-empty-collection": "off",
    "sonarjs/no-extra-arguments": "off",
    "sonarjs/no-gratuitous-expressions": "off",
    "sonarjs/no-identical-conditions": "error",
    "sonarjs/no-identical-expressions": "error",
    "sonarjs/no-identical-functions": "error",
    "sonarjs/no-ignored-return": "error",
    "sonarjs/no-inverted-boolean-check": "off",
    "sonarjs/no-nested-switch": "warn",
    "sonarjs/no-nested-template-literals": "off",
    "sonarjs/no-one-iteration-loop": "error",
    "sonarjs/no-redundant-boolean": "error",
    "sonarjs/no-redundant-jump": "error",
    "sonarjs/no-same-line-conditional": "off",
    "sonarjs/no-small-switch": "warn",
    "sonarjs/no-unused-collection": "error",
    "sonarjs/no-use-of-empty-return-value": "error",
    "sonarjs/no-useless-catch": "error",
    "sonarjs/non-existent-operator": "warn",
    "sonarjs/prefer-immediate-return": "warn",
    "sonarjs/prefer-object-literal": "error",
    "sonarjs/prefer-single-boolean-return": "warn",
    "sonarjs/prefer-while": "error",
    "simple-import-sort/imports": "warn",
    "simple-import-sort/exports": "warn"
  },
  "reportUnusedDisableDirectives": true,
  "root": true
}