@under-io/eslint
Version:
Under engineering ESLint configurations
2 lines (1 loc) • 44.5 kB
JavaScript
"use strict";const te=require("eslint-plugin-unused-imports"),ne=require("eslint-config-prettier"),se=require("eslint-plugin-perfectionist"),oe=require("eslint-plugin-react-hooks"),ie=require("eslint-plugin-promise"),pe=require("@typescript-eslint/eslint-plugin"),le=require("@typescript-eslint/parser"),b=require("globals");var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A={},w={};Object.defineProperty(w,"__esModule",{value:!0});w.config=ae;function ae(...e){return e.flat(1/0).flatMap((d,h)=>{const{extends:s,...u}=d;if(s==null||s.length===0)return u;const m=s.flat(1/0),g=m.reduce((y,f,v)=>(f==null&&y.push(v),y),[]);if(g.length){const y=d.name!=null?`, named "${d.name}",`:" (anonymous)",f=g.join(", ");throw new Error(`Your config at index ${h}${y} contains undefined extensions at the following indices: ${f}.`)}return[...m.map(y=>{const f=[u.name,y.name].filter(Boolean).join("__");return{...y,...u.files&&{files:u.files},...u.ignores&&{ignores:u.ignores},...f&&{name:f}}}),u]})}var x={},a={};Object.defineProperty(a,"__esModule",{value:!0});a.default=(e,r)=>({name:"typescript-eslint/base",languageOptions:{parser:r,sourceType:"module"},plugins:{"@typescript-eslint":e}});var c={};const ce=e=>({files:e==="glob"?["*.ts","*.tsx","*.mts","*.cts"]:["**/*.ts","**/*.tsx","**/*.mts","**/*.cts"],rules:{"constructor-super":"off","getter-return":"off","no-class-assign":"off","no-const-assign":"off","no-dupe-args":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-symbol":"off","no-new-native-nonconstructor":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-undef":"off","no-unreachable":"off","no-unsafe-negation":"off","no-var":"error","prefer-const":"error","prefer-rest-params":"error","prefer-spread":"error"}});var ue=ce,ye=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(c,"__esModule",{value:!0});const fe=ye(ue);c.default=(e,r)=>({...(0,fe.default)("minimatch"),name:"typescript-eslint/eslint-recommended"});var z=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(x,"__esModule",{value:!0});const de=z(a),me=z(c);x.default=(e,r)=>[(0,de.default)(e,r),(0,me.default)(e,r),{name:"typescript-eslint/all",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","class-methods-use-this":"off","@typescript-eslint/class-methods-use-this":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","consistent-return":"off","@typescript-eslint/consistent-return":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/consistent-type-exports":"error","@typescript-eslint/consistent-type-imports":"error","default-param-last":"off","@typescript-eslint/default-param-last":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/explicit-function-return-type":"error","@typescript-eslint/explicit-member-accessibility":"error","@typescript-eslint/explicit-module-boundary-types":"error","init-declarations":"off","@typescript-eslint/init-declarations":"error","max-params":"off","@typescript-eslint/max-params":"error","@typescript-eslint/member-ordering":"error","@typescript-eslint/method-signature-style":"error","@typescript-eslint/naming-convention":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","no-dupe-class-members":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-inferrable-types":"error","no-invalid-this":"off","@typescript-eslint/no-invalid-this":"error","@typescript-eslint/no-invalid-void-type":"error","no-loop-func":"off","@typescript-eslint/no-loop-func":"error","no-magic-numbers":"off","@typescript-eslint/no-magic-numbers":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","no-redeclare":"off","@typescript-eslint/no-redeclare":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","no-restricted-imports":"off","@typescript-eslint/no-restricted-imports":"error","@typescript-eslint/no-restricted-types":"error","no-shadow":"off","@typescript-eslint/no-shadow":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-parameter-property-assignment":"error","@typescript-eslint/no-unnecessary-qualifier":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-type-assertion":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-useless-empty-export":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/parameter-properties":"error","@typescript-eslint/prefer-as-const":"error","prefer-destructuring":"off","@typescript-eslint/prefer-destructuring":"error","@typescript-eslint/prefer-enum-initializers":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-readonly":"error","@typescript-eslint/prefer-readonly-parameter-types":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/prefer-string-starts-ends-with":"error","@typescript-eslint/promise-function-async":"error","@typescript-eslint/related-getter-setter-pairs":"error","@typescript-eslint/require-array-sort-compare":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","no-return-await":"off","@typescript-eslint/return-await":"error","@typescript-eslint/strict-boolean-expressions":"error","@typescript-eslint/switch-exhaustiveness-check":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/typedef":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}];var j={};Object.defineProperty(j,"__esModule",{value:!0});j.default=(e,r)=>({name:"typescript-eslint/disable-type-checked",rules:{"@typescript-eslint/await-thenable":"off","@typescript-eslint/consistent-return":"off","@typescript-eslint/consistent-type-exports":"off","@typescript-eslint/dot-notation":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-array-delete":"off","@typescript-eslint/no-base-to-string":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-deprecated":"off","@typescript-eslint/no-duplicate-type-constituents":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-for-in-array":"off","@typescript-eslint/no-implied-eval":"off","@typescript-eslint/no-meaningless-void-operator":"off","@typescript-eslint/no-misused-promises":"off","@typescript-eslint/no-misused-spread":"off","@typescript-eslint/no-mixed-enums":"off","@typescript-eslint/no-redundant-type-constituents":"off","@typescript-eslint/no-unnecessary-boolean-literal-compare":"off","@typescript-eslint/no-unnecessary-condition":"off","@typescript-eslint/no-unnecessary-qualifier":"off","@typescript-eslint/no-unnecessary-template-expression":"off","@typescript-eslint/no-unnecessary-type-arguments":"off","@typescript-eslint/no-unnecessary-type-assertion":"off","@typescript-eslint/no-unnecessary-type-parameters":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-enum-comparison":"off","@typescript-eslint/no-unsafe-member-access":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/no-unsafe-type-assertion":"off","@typescript-eslint/no-unsafe-unary-minus":"off","@typescript-eslint/non-nullable-type-assertion-style":"off","@typescript-eslint/only-throw-error":"off","@typescript-eslint/prefer-destructuring":"off","@typescript-eslint/prefer-find":"off","@typescript-eslint/prefer-includes":"off","@typescript-eslint/prefer-nullish-coalescing":"off","@typescript-eslint/prefer-optional-chain":"off","@typescript-eslint/prefer-promise-reject-errors":"off","@typescript-eslint/prefer-readonly":"off","@typescript-eslint/prefer-readonly-parameter-types":"off","@typescript-eslint/prefer-reduce-type-parameter":"off","@typescript-eslint/prefer-regexp-exec":"off","@typescript-eslint/prefer-return-this-type":"off","@typescript-eslint/prefer-string-starts-ends-with":"off","@typescript-eslint/promise-function-async":"off","@typescript-eslint/related-getter-setter-pairs":"off","@typescript-eslint/require-array-sort-compare":"off","@typescript-eslint/require-await":"off","@typescript-eslint/restrict-plus-operands":"off","@typescript-eslint/restrict-template-expressions":"off","@typescript-eslint/return-await":"off","@typescript-eslint/strict-boolean-expressions":"off","@typescript-eslint/switch-exhaustiveness-check":"off","@typescript-eslint/unbound-method":"off","@typescript-eslint/use-unknown-in-catch-callback-variable":"off"},languageOptions:{parserOptions:{program:null,project:!1,projectService:!1}}});var k={},F=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(k,"__esModule",{value:!0});const ge=F(a),be=F(c);k.default=(e,r)=>[(0,ge.default)(e,r),(0,be.default)(e,r),{name:"typescript-eslint/recommended",rules:{"@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error"}}];var q={},R=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(q,"__esModule",{value:!0});const _e=R(a),we=R(c);q.default=(e,r)=>[(0,_e.default)(e,r),(0,we.default)(e,r),{name:"typescript-eslint/recommended-type-checked",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error"}}];var O={},B=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(O,"__esModule",{value:!0});const he=B(a),ve=B(c);O.default=(e,r)=>[(0,he.default)(e,r),(0,ve.default)(e,r),{name:"typescript-eslint/recommended-type-checked-only",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/unbound-method":"error"}}];var $={},S=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($,"__esModule",{value:!0});const xe=S(a),je=S(c);$.default=(e,r)=>[(0,xe.default)(e,r),(0,je.default)(e,r),{name:"typescript-eslint/strict",rules:{"@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unified-signatures":"error"}}];var D={},I=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(D,"__esModule",{value:!0});const ke=I(a),qe=I(c);D.default=(e,r)=>[(0,ke.default)(e,r),(0,qe.default)(e,r),{name:"typescript-eslint/strict-type-checked",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}];var M={},L=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(M,"__esModule",{value:!0});const Oe=L(a),$e=L(c);M.default=(e,r)=>[(0,Oe.default)(e,r),(0,$e.default)(e,r),{name:"typescript-eslint/strict-type-checked-only",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/unbound-method":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}];var P={},H=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(P,"__esModule",{value:!0});const De=H(a),Me=H(c);P.default=(e,r)=>[(0,De.default)(e,r),(0,Me.default)(e,r),{name:"typescript-eslint/stylistic",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error"}}];var T={},G=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(T,"__esModule",{value:!0});const Pe=G(a),Te=G(c);T.default=(e,r)=>[(0,Pe.default)(e,r),(0,Te.default)(e,r),{name:"typescript-eslint/stylistic-type-checked",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}];var C={},V=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(C,"__esModule",{value:!0});const Ce=V(a),Ee=V(c);C.default=(e,r)=>[(0,Ce.default)(e,r),(0,Ee.default)(e,r),{name:"typescript-eslint/stylistic-type-checked-only",rules:{"dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}];(function(e){var r=t&&t.__createBinding||(Object.create?function(o,n,l,i){i===void 0&&(i=l);var p=Object.getOwnPropertyDescriptor(n,l);(!p||("get"in p?!n.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return n[l]}}),Object.defineProperty(o,i,p)}:function(o,n,l,i){i===void 0&&(i=l),o[i]=n[l]}),d=t&&t.__setModuleDefault||(Object.create?function(o,n){Object.defineProperty(o,"default",{enumerable:!0,value:n})}:function(o,n){o.default=n}),h=t&&t.__importStar||function(){var o=function(n){return o=Object.getOwnPropertyNames||function(l){var i=[];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(i[i.length]=p);return i},o(n)};return function(n){if(n&&n.__esModule)return n;var l={};if(n!=null)for(var i=o(n),p=0;p<i.length;p++)i[p]!=="default"&&r(l,n,i[p]);return d(l,n),l}}(),s=t&&t.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.config=e.configs=e.plugin=e.parser=void 0;const u=s(pe),m=h(le),g=w,y=s(x),f=s(a),v=s(j),E=s(c),U=s(k),K=s(q),Y=s(O),J=s($),Q=s(D),X=s(M),Z=s(P),W=s(T),ee=s(C);e.parser={meta:m.meta,parseForESLint:m.parseForESLint},e.plugin=u.default,e.configs={all:(0,y.default)(e.plugin,e.parser),base:(0,f.default)(e.plugin,e.parser),disableTypeChecked:(0,v.default)(e.plugin,e.parser),eslintRecommended:(0,E.default)(e.plugin,e.parser),recommended:(0,U.default)(e.plugin,e.parser),recommendedTypeChecked:(0,K.default)(e.plugin,e.parser),recommendedTypeCheckedOnly:(0,Y.default)(e.plugin,e.parser),strict:(0,J.default)(e.plugin,e.parser),strictTypeChecked:(0,Q.default)(e.plugin,e.parser),strictTypeCheckedOnly:(0,X.default)(e.plugin,e.parser),stylistic:(0,Z.default)(e.plugin,e.parser),stylisticTypeChecked:(0,W.default)(e.plugin,e.parser),stylisticTypeCheckedOnly:(0,ee.default)(e.plugin,e.parser)},e.default={config:g.config,configs:e.configs,parser:e.parser,plugin:e.plugin};var re=w;Object.defineProperty(e,"config",{enumerable:!0,get:function(){return re.config}})})(A);const Ne=N(A),Ae="@eslint/js",ze="9.22.0",Fe={name:Ae,version:ze};var Re=Object.freeze({rules:{"accessor-pairs":"error","array-callback-return":"error","arrow-body-style":"error","block-scoped-var":"error",camelcase:"error","capitalized-comments":"error","class-methods-use-this":"error",complexity:"error","consistent-return":"error","consistent-this":"error","constructor-super":"error",curly:"error","default-case":"error","default-case-last":"error","default-param-last":"error","dot-notation":"error",eqeqeq:"error","for-direction":"error","func-name-matching":"error","func-names":"error","func-style":"error","getter-return":"error","grouped-accessor-pairs":"error","guard-for-in":"error","id-denylist":"error","id-length":"error","id-match":"error","init-declarations":"error","logical-assignment-operators":"error","max-classes-per-file":"error","max-depth":"error","max-lines":"error","max-lines-per-function":"error","max-nested-callbacks":"error","max-params":"error","max-statements":"error","new-cap":"error","no-alert":"error","no-array-constructor":"error","no-async-promise-executor":"error","no-await-in-loop":"error","no-bitwise":"error","no-caller":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-console":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-constructor-return":"error","no-continue":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-div-regex":"error","no-dupe-args":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-duplicate-imports":"error","no-else-return":"error","no-empty":"error","no-empty-character-class":"error","no-empty-function":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-eq-null":"error","no-eval":"error","no-ex-assign":"error","no-extend-native":"error","no-extra-bind":"error","no-extra-boolean-cast":"error","no-extra-label":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-implicit-coercion":"error","no-implicit-globals":"error","no-implied-eval":"error","no-import-assign":"error","no-inline-comments":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-invalid-this":"error","no-irregular-whitespace":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"error","no-loop-func":"error","no-loss-of-precision":"error","no-magic-numbers":"error","no-misleading-character-class":"error","no-multi-assign":"error","no-multi-str":"error","no-negated-condition":"error","no-nested-ternary":"error","no-new":"error","no-new-func":"error","no-new-native-nonconstructor":"error","no-new-wrappers":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-object-constructor":"error","no-octal":"error","no-octal-escape":"error","no-param-reassign":"error","no-plusplus":"error","no-promise-executor-return":"error","no-proto":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-restricted-exports":"error","no-restricted-globals":"error","no-restricted-imports":"error","no-restricted-properties":"error","no-restricted-syntax":"error","no-return-assign":"error","no-script-url":"error","no-self-assign":"error","no-self-compare":"error","no-sequences":"error","no-setter-return":"error","no-shadow":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-ternary":"error","no-this-before-super":"error","no-throw-literal":"error","no-undef":"error","no-undef-init":"error","no-undefined":"error","no-underscore-dangle":"error","no-unexpected-multiline":"error","no-unmodified-loop-condition":"error","no-unneeded-ternary":"error","no-unreachable":"error","no-unreachable-loop":"error","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-expressions":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":"error","no-use-before-define":"error","no-useless-assignment":"error","no-useless-backreference":"error","no-useless-call":"error","no-useless-catch":"error","no-useless-computed-key":"error","no-useless-concat":"error","no-useless-constructor":"error","no-useless-escape":"error","no-useless-rename":"error","no-useless-return":"error","no-var":"error","no-void":"error","no-warning-comments":"error","no-with":"error","object-shorthand":"error","one-var":"error","operator-assignment":"error","prefer-arrow-callback":"error","prefer-const":"error","prefer-destructuring":"error","prefer-exponentiation-operator":"error","prefer-named-capture-group":"error","prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"error","prefer-promise-reject-errors":"error","prefer-regex-literals":"error","prefer-rest-params":"error","prefer-spread":"error","prefer-template":"error",radix:"error","require-atomic-updates":"error","require-await":"error","require-unicode-regexp":"error","require-yield":"error","sort-imports":"error","sort-keys":"error","sort-vars":"error",strict:"error","symbol-description":"error","unicode-bom":"error","use-isnan":"error","valid-typeof":"error","vars-on-top":"error",yoda:"error"}}),Be=Object.freeze({rules:Object.freeze({"constructor-super":"error","for-direction":"error","getter-return":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-args":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-octal":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-undef":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":"error","no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error"})});const{name:Se,version:Ie}=Fe;var Le={meta:{name:Se,version:Ie},configs:{all:Re,recommended:Be}};const He=N(Le),_=e=>e?Object.fromEntries(Object.entries(e).map(([r,d])=>[r.trim(),d?"readonly":void 0]).filter(([,r])=>r)):{},Ge=[{ignores:["*.d.ts"],plugins:{noUnusedImports:te,perfectionist:se,reactHooks:oe},rules:{"noUnusedImports/no-unused-imports":"error","perfectionist/sort-enums":["warn",{order:"asc",type:"natural"}],"perfectionist/sort-exports":["warn",{order:"desc",type:"line-length"}],"perfectionist/sort-imports":["warn",{customGroups:{type:{react:"react"},value:{react:["react","react-*"]}},groups:["type","react",["builtin","external"],"internal-type","internal",["parent-type","sibling-type","index-type"],["parent","sibling","index"],"side-effect","style","object","unknown"],order:"desc",type:"line-length"}],"perfectionist/sort-interfaces":["warn",{order:"desc",type:"natural"}],"perfectionist/sort-intersection-types":["warn",{order:"desc",type:"natural"}],"perfectionist/sort-jsx-props":["warn",{customGroups:{id:["ref","key","id","name"]},groups:["id","multiline","unknown","shorthand"],order:"asc",type:"natural"}],"perfectionist/sort-named-exports":["warn",{order:"desc",type:"line-length"}],"perfectionist/sort-named-imports":["warn",{order:"desc",type:"line-length"}],"perfectionist/sort-object-types":["warn",{order:"asc",type:"natural"}],"perfectionist/sort-objects":["warn",{order:"asc",type:"alphabetical"}],"perfectionist/sort-union-types":["error",{order:"asc",type:"natural"}],"reactHooks/exhaustive-deps":"warn","reactHooks/rules-of-hooks":"error"}},{files:["*.js","*.mjs"],languageOptions:{globals:{..._(b.browser),..._(b.node),..._(b.es2021),..._(b.commonjs)},sourceType:"module"}},{files:["*.ts","**/*.ts","*.tsx","**/*.tsx"],languageOptions:{parser:"@typescript-eslint/parser",parserOptions:{ecmaVersion:"latest",project:"./tsconfig.json"},sourceType:"module"},rules:{"@typescript-eslint/adjacent-overload-signatures":"warn","@typescript-eslint/ban-ts-comment":"warn","@typescript-eslint/consistent-indexed-object-style":["warn","index-signature"],"@typescript-eslint/consistent-type-assertions":"warn","@typescript-eslint/consistent-type-definitions":["warn","type"],"@typescript-eslint/explicit-function-return-type":["warn",{allowConciseArrowFunctionExpressionsStartingWithVoid:!0,allowExpressions:!0,allowHigherOrderFunctions:!1,allowTypedFunctionExpressions:!0}],"@typescript-eslint/explicit-member-accessibility":"warn","@typescript-eslint/member-ordering":["warn",{classes:["field","constructor","method"],default:"never"}],"@typescript-eslint/method-signature-style":"warn","@typescript-eslint/no-array-constructor":"warn","@typescript-eslint/no-explicit-any":"warn","@typescript-eslint/no-for-in-array":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":["warn",{allowDeclarations:!1,allowDefinitionFiles:!1}],"@typescript-eslint/no-unused-vars":["warn",{args:"none",vars:"all"}],"@typescript-eslint/no-use-before-define":["error",{classes:!0,enums:!0,functions:!1,typedefs:!0,variables:!0}],"@typescript-eslint/parameter-properties":"warn","@typescript-eslint/prefer-namespace-keyword":"warn","accessor-pairs":"error",curly:["error","all"],"dot-notation":["warn",{allowPattern:"^_"}],eqeqeq:"error","for-direction":"warn","max-lines":["warn",{max:2e3}],"no-async-promise-executor":"error","no-bitwise":["warn",{allow:["^","<<",">>",">>>","^=","<<=",">>=",">>>=","~"]}],"no-caller":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-constant-condition":"warn","no-control-regex":"error","no-debugger":"warn","no-delete-var":"error","no-duplicate-case":"error","no-empty":"warn","no-empty-character-class":"error","no-empty-pattern":"warn","no-eval":"warn","no-ex-assign":"error","no-extend-native":"error","no-extra-boolean-cast":"warn","no-extra-label":"warn","no-fallthrough":"error","no-func-assign":"warn","no-implied-eval":"error","no-invalid-regexp":"error","no-label-var":"error","no-lone-blocks":"warn","no-misleading-character-class":"error","no-multi-str":"error","no-new":"warn","no-new-func":"error","no-new-object":"error","no-new-wrappers":"warn","no-octal":"error","no-octal-escape":"error","no-regex-spaces":"error","no-return-assign":"error","no-script-url":"warn","no-self-compare":"error","no-sequences":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-throw-literal":"error","no-unmodified-loop-condition":"warn","no-unsafe-finally":"error","no-unused-expressions":"warn","no-unused-labels":"warn","no-useless-catch":"warn","no-useless-concat":"warn","no-var":"error","no-void":"error","no-with":"error","prefer-const":"warn","promise/param-names":"error","require-atomic-updates":"error","require-yield":"warn",strict:["error","never"],"use-isnan":"error"}},{files:["*.test.ts","*.test.tsx","*.spec.ts","*.spec.tsx","**/__mocks__/*.ts","**/__mocks__/*.tsx","**/__tests__/*.ts","**/__tests__/*.tsx","**/test/*.ts","**/test/*.tsx","**/__tests__/*.ts","**/__tests__/*.tsx"],rules:{"@typescript-eslint/typedef":["warn",{arrayDestructuring:!1,arrowParameter:!1,memberVariableDeclaration:!0,objectDestructuring:!1,parameter:!0,propertyDeclaration:!0,variableDeclaration:!1,variableDeclarationIgnoreFunction:!0}],"no-new":"off"}},{env:{node:!0},files:[".eslintrc.cjs"]},ie.configs["flat/recommended"],He.configs.recommended,...Ne.configs.recommended,ne];module.exports=Ge;