integration/next-js/eslint-config.json
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"overrides": [
{
"files": [
"**/*.?(ts|js)?(x)"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"babelOptions": {
"presets": [
"next/babel"
]
}
},
"plugins": [
"jsx-a11y",
"react-hooks",
"react",
"@next/next"
],
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": [
"src/pages/**/*.?(t|j)s?(x)",
"pages/**/*.?(t|j)s?(x)"
],
"rules": {
"import/no-default-export": "off"
}
}
],
"rules": {
"react/boolean-prop-naming": "off",
"react/button-has-type": "error",
"react/default-props-match-prop-types": "off",
"react/destructuring-assignment": [
"error",
"always"
],
"react/display-name": "off",
"react/forbid-dom-props": "off",
"react/forbid-elements": "off",
"react/forbid-foreign-prop-types": [
"warn",
{
"allowInPropTypes": true
}
],
"react/forbid-prop-types": "off",
"react/function-component-definition": [
"warn",
{
"namedComponents": "function-declaration",
"unnamedComponents": "arrow-function"
}
],
"react/jsx-boolean-value": "error",
"react/jsx-child-element-spacing": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-curly-brace-presence": [
"warn",
{
"children": "never",
"props": "never"
}
],
"react/jsx-curly-newline": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "off",
"react/jsx-filename-extension": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-fragments": [
"warn",
"syntax"
],
"react/jsx-handler-names": [
"warn",
{
"checkLocalVariables": false,
"eventHandlerPrefix": "handle",
"eventHandlerPropPrefix": "on"
}
],
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-key": [
"warn",
{
"checkFragmentShorthand": true,
"checkKeyMustBeforeSpread": true
}
],
"react/jsx-max-depth": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-newline": "off",
"react/jsx-no-bind": "off",
"react/jsx-no-comment-textnodes": "warn",
"react/jsx-no-constructed-context-values": "warn",
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-literals": "off",
"react/jsx-no-script-url": "warn",
"react/jsx-no-target-blank": "warn",
"react/jsx-no-undef": "off",
"react/jsx-no-useless-fragment": "warn",
"react/jsx-one-expression-per-line": "off",
"react/jsx-pascal-case": [
"warn",
{
"allowAllCaps": true,
"ignore": []
}
],
"react/jsx-props-no-multi-spaces": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-sort-props": "off",
"react/jsx-space-before-closing": "off",
"react/jsx-tag-spacing": "off",
"react/jsx-uses-react": "warn",
"react/jsx-uses-vars": "warn",
"react/jsx-wrap-multilines": "off",
"react/no-access-state-in-setstate": "off",
"react/no-adjacent-inline-elements": "off",
"react/no-array-index-key": "warn",
"react/no-arrow-function-lifecycle": "off",
"react/no-children-prop": "error",
"react/no-danger": "warn",
"react/no-danger-with-children": "error",
"react/no-deprecated": "error",
"react/no-did-mount-set-state": "off",
"react/no-did-update-set-state": "warn",
"react/no-direct-mutation-state": "error",
"react/no-find-dom-node": "error",
"react/no-invalid-html-attribute": "warn",
"react/no-is-mounted": "error",
"react/no-multi-comp": "off",
"react/no-namespace": "warn",
"react/no-object-type-as-default-prop": "error",
"react/no-redundant-should-component-update": "error",
"react/no-render-return-value": "off",
"react/no-set-state": "off",
"react/no-string-refs": "error",
"react/no-this-in-sfc": "error",
"react/no-typos": "error",
"react/no-unescaped-entities": "off",
"react/no-unknown-property": "warn",
"react/no-unsafe": "error",
"react/no-unused-prop-types": "warn",
"react/no-unused-state": "warn",
"react/no-will-update-set-state": "warn",
"react/prefer-es6-class": "error",
"react/prefer-read-only-props": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/require-optimization": "off",
"react/require-render-return": "error",
"react/self-closing-comp": "warn",
"react/sort-comp": "off",
"react/sort-default-props": "off",
"react/sort-prop-types": "off",
"react/state-in-constructor": "off",
"react/static-property-placement": [
"error",
"static public field"
],
"react/style-prop-object": "warn",
"react/void-dom-elements-no-children": "error",
"@next/next/no-css-tags": "warn",
"@next/next/no-sync-scripts": "warn",
"@next/next/no-html-link-for-pages": "warn",
"@next/next/no-img-element": "off",
"@next/next/no-head-element": "error",
"@next/next/no-unwanted-polyfillio": "warn",
"@next/next/no-page-custom-font": "warn",
"@next/next/no-title-in-document-head": "warn",
"@next/next/google-font-display": "warn",
"@next/next/google-font-preconnect": "error",
"@next/next/no-document-import-in-page": "off",
"@next/next/no-head-import-in-document": "error",
"@next/next/no-script-component-in-head": "error",
"@next/next/no-typos": "warn",
"@next/next/no-duplicate-head": "error",
"@next/next/inline-script-id": "error",
"@next/next/next-script-for-ga": "warn",
"@next/next/no-assign-module-variable": "warn",
"@next/next/no-before-interactive-script-outside-document": "error",
"@next/next/no-styled-jsx-in-document": "error",
"jsx-a11y/accessible-emoji": "off",
"jsx-a11y/alt-text": "error",
"jsx-a11y/anchor-ambiguous-text": "off",
"jsx-a11y/anchor-has-content": "error",
"jsx-a11y/anchor-is-valid": [
"error",
{
"aspects": [
"invalidHref",
"preferButton"
],
"components": [
"Link"
]
}
],
"jsx-a11y/aria-activedescendant-has-tabindex": "warn",
"jsx-a11y/aria-props": "error",
"jsx-a11y/aria-proptypes": "error",
"jsx-a11y/aria-role": [
"warn",
{
"ignoreNonDOM": true
}
],
"jsx-a11y/aria-unsupported-elements": "error",
"jsx-a11y/autocomplete-valid": "error",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/control-has-associated-label": "warn",
"jsx-a11y/heading-has-content": "warn",
"jsx-a11y/html-has-lang": "warn",
"jsx-a11y/iframe-has-title": "warn",
"jsx-a11y/img-redundant-alt": "warn",
"jsx-a11y/interactive-supports-focus": "error",
"jsx-a11y/label-has-associated-control": "error",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/lang": "error",
"jsx-a11y/media-has-caption": "warn",
"jsx-a11y/mouse-events-have-key-events": "error",
"jsx-a11y/no-access-key": "warn",
"jsx-a11y/no-aria-hidden-on-focusable": "error",
"jsx-a11y/no-autofocus": "error",
"jsx-a11y/no-distracting-elements": "warn",
"jsx-a11y/no-interactive-element-to-noninteractive-role": "error",
"jsx-a11y/no-noninteractive-element-interactions": "error",
"jsx-a11y/no-noninteractive-element-to-interactive-role": [
"error",
{
"li": [
"menuitem",
"option",
"row",
"tab",
"treeitem"
],
"ol": [
"listbox",
"menu",
"menubar",
"radiogroup",
"tablist",
"tree",
"treegrid"
],
"table": [
"grid"
],
"td": [
"gridcell"
],
"ul": [
"listbox",
"menu",
"menubar",
"radiogroup",
"tablist",
"tree",
"treegrid"
]
}
],
"jsx-a11y/no-noninteractive-tabindex": "error",
"jsx-a11y/no-onchange": "off",
"jsx-a11y/no-redundant-roles": "warn",
"jsx-a11y/no-static-element-interactions": "error",
"jsx-a11y/prefer-tag-over-role": "error",
"jsx-a11y/role-has-required-aria-props": "error",
"jsx-a11y/role-supports-aria-props": "error",
"jsx-a11y/scope": "error",
"jsx-a11y/tabindex-no-positive": "error",
"react-hooks/exhaustive-deps": "error",
"react-hooks/rules-of-hooks": "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": "warn",
"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": "warn",
"unicorn/no-hex-escape": "error",
"unicorn/no-instanceof-array": "error",
"unicorn/no-invalid-remove-event-listener": "error",
"unicorn/no-keyword-prefix": "off",
"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": "warn",
"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": "warn",
"unicorn/prefer-json-parse-buffer": "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": "error",
"unicorn/prefer-string-slice": "error",
"unicorn/prefer-string-starts-ends-with": "error",
"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": "warn",
"unicorn/throw-new-error": "error",
"promise/always-return": "off",
"promise/avoid-new": "off",
"promise/catch-or-return": [
"error",
{
"allowFinally": true,
"allowThen": true
}
],
"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": "error",
"import/consistent-type-specifier-style": "off",
"import/default": "warn",
"import/dynamic-import-chunkname": "warn",
"import/export": "error",
"import/exports-last": "off",
"import/extensions": "off",
"import/first": "warn",
"import/group-exports": "off",
"import/max-dependencies": "off",
"import/named": "error",
"import/namespace": "error",
"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": "warn",
"import/no-duplicates": "warn",
"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": "warn",
"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": "warn",
"sonarjs/no-extra-arguments": "error",
"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
}