@sylphlab/eslint-config-sylph
Version:
Strict, AI-optimized ESLint Flat Config for modern TypeScript projects (v9+, TS, Unicorn, Functional, Security, Sonar, Import, Promise, Regexp, Prettier). Core of all SylphLab TypeScript projects.
1 lines • 92.1 kB
Source Map (JSON)
{"version":3,"sources":["../../../node_modules/typescript-eslint/dist/config-helper.js","../../../node_modules/typescript-eslint/dist/configs/base.js","../../../node_modules/typescript-eslint/dist/configs/eslint-recommended.js","../../../node_modules/typescript-eslint/dist/configs/all.js","../../../node_modules/typescript-eslint/dist/configs/disable-type-checked.js","../../../node_modules/typescript-eslint/dist/configs/recommended.js","../../../node_modules/typescript-eslint/dist/configs/recommended-type-checked.js","../../../node_modules/typescript-eslint/dist/configs/recommended-type-checked-only.js","../../../node_modules/typescript-eslint/dist/configs/strict.js","../../../node_modules/typescript-eslint/dist/configs/strict-type-checked.js","../../../node_modules/typescript-eslint/dist/configs/strict-type-checked-only.js","../../../node_modules/typescript-eslint/dist/configs/stylistic.js","../../../node_modules/typescript-eslint/dist/configs/stylistic-type-checked.js","../../../node_modules/typescript-eslint/dist/configs/stylistic-type-checked-only.js","../../../node_modules/typescript-eslint/dist/index.js","../src/index.ts"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.config = config;\n/**\n * Utility function to make it easy to strictly type your \"Flat\" config file\n * @example\n * ```js\n * // @ts-check\n *\n * import eslint from '@eslint/js';\n * import tseslint from 'typescript-eslint';\n *\n * export default tseslint.config(\n * eslint.configs.recommended,\n * tseslint.configs.recommended,\n * {\n * rules: {\n * '@typescript-eslint/array-type': 'error',\n * },\n * },\n * );\n * ```\n */\nfunction config(...configs) {\n const flattened = \n // @ts-expect-error -- intentionally an infinite type\n configs.flat(Infinity);\n return flattened.flatMap((configWithExtends, configIndex) => {\n const { extends: extendsArr, ...config } = configWithExtends;\n if (extendsArr == null || extendsArr.length === 0) {\n return config;\n }\n const extendsArrFlattened = extendsArr.flat(Infinity);\n const undefinedExtensions = extendsArrFlattened.reduce((acc, extension, extensionIndex) => {\n const maybeExtension = extension;\n if (maybeExtension == null) {\n acc.push(extensionIndex);\n }\n return acc;\n }, []);\n if (undefinedExtensions.length) {\n const configName = configWithExtends.name != null\n ? `, named \"${configWithExtends.name}\",`\n : ' (anonymous)';\n const extensionIndices = undefinedExtensions.join(', ');\n throw new Error(`Your config at index ${configIndex}${configName} contains undefined` +\n ` extensions at the following indices: ${extensionIndices}.`);\n }\n return [\n ...extendsArrFlattened.map(extension => {\n const name = [config.name, extension.name].filter(Boolean).join('__');\n return {\n ...extension,\n ...(config.files && { files: config.files }),\n ...(config.ignores && { ignores: config.ignores }),\n ...(name && { name }),\n };\n }),\n config,\n ];\n });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A minimal ruleset that sets only the required parser and plugin options needed to run typescript-eslint.\n * We don't recommend using this directly; instead, extend from an earlier recommended rule.\n * @see {@link https://typescript-eslint.io/users/configs#base}\n */\nexports.default = (plugin, parser) => ({\n name: 'typescript-eslint/base',\n languageOptions: {\n parser,\n sourceType: 'module',\n },\n plugins: {\n '@typescript-eslint': plugin,\n },\n});\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst eslint_recommended_raw_1 = __importDefault(require(\"@typescript-eslint/eslint-plugin/use-at-your-own-risk/eslint-recommended-raw\"));\n/**\n * This is a compatibility ruleset that:\n * - disables rules from eslint:recommended which are already handled by TypeScript.\n * - enables rules that make sense due to TS's typechecking / transpilation.\n * @see {@link https://typescript-eslint.io/users/configs/#eslint-recommended}\n */\nexports.default = (_plugin, _parser) => ({\n ...(0, eslint_recommended_raw_1.default)('minimatch'),\n name: 'typescript-eslint/eslint-recommended',\n});\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Enables each the rules provided as a part of typescript-eslint. Note that many rules are not applicable in all codebases, or are meant to be configured.\n * @see {@link https://typescript-eslint.io/users/configs#all}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/all',\n rules: {\n '@typescript-eslint/adjacent-overload-signatures': 'error',\n '@typescript-eslint/array-type': 'error',\n '@typescript-eslint/await-thenable': 'error',\n '@typescript-eslint/ban-ts-comment': 'error',\n '@typescript-eslint/ban-tslint-comment': 'error',\n '@typescript-eslint/class-literal-property-style': 'error',\n 'class-methods-use-this': 'off',\n '@typescript-eslint/class-methods-use-this': 'error',\n '@typescript-eslint/consistent-generic-constructors': 'error',\n '@typescript-eslint/consistent-indexed-object-style': 'error',\n 'consistent-return': 'off',\n '@typescript-eslint/consistent-return': 'error',\n '@typescript-eslint/consistent-type-assertions': 'error',\n '@typescript-eslint/consistent-type-definitions': 'error',\n '@typescript-eslint/consistent-type-exports': 'error',\n '@typescript-eslint/consistent-type-imports': 'error',\n 'default-param-last': 'off',\n '@typescript-eslint/default-param-last': 'error',\n 'dot-notation': 'off',\n '@typescript-eslint/dot-notation': 'error',\n '@typescript-eslint/explicit-function-return-type': 'error',\n '@typescript-eslint/explicit-member-accessibility': 'error',\n '@typescript-eslint/explicit-module-boundary-types': 'error',\n 'init-declarations': 'off',\n '@typescript-eslint/init-declarations': 'error',\n 'max-params': 'off',\n '@typescript-eslint/max-params': 'error',\n '@typescript-eslint/member-ordering': 'error',\n '@typescript-eslint/method-signature-style': 'error',\n '@typescript-eslint/naming-convention': 'error',\n 'no-array-constructor': 'off',\n '@typescript-eslint/no-array-constructor': 'error',\n '@typescript-eslint/no-array-delete': 'error',\n '@typescript-eslint/no-base-to-string': 'error',\n '@typescript-eslint/no-confusing-non-null-assertion': 'error',\n '@typescript-eslint/no-confusing-void-expression': 'error',\n '@typescript-eslint/no-deprecated': 'error',\n 'no-dupe-class-members': 'off',\n '@typescript-eslint/no-dupe-class-members': 'error',\n '@typescript-eslint/no-duplicate-enum-values': 'error',\n '@typescript-eslint/no-duplicate-type-constituents': 'error',\n '@typescript-eslint/no-dynamic-delete': 'error',\n 'no-empty-function': 'off',\n '@typescript-eslint/no-empty-function': 'error',\n '@typescript-eslint/no-empty-object-type': 'error',\n '@typescript-eslint/no-explicit-any': 'error',\n '@typescript-eslint/no-extra-non-null-assertion': 'error',\n '@typescript-eslint/no-extraneous-class': 'error',\n '@typescript-eslint/no-floating-promises': 'error',\n '@typescript-eslint/no-for-in-array': 'error',\n 'no-implied-eval': 'off',\n '@typescript-eslint/no-implied-eval': 'error',\n '@typescript-eslint/no-import-type-side-effects': 'error',\n '@typescript-eslint/no-inferrable-types': 'error',\n 'no-invalid-this': 'off',\n '@typescript-eslint/no-invalid-this': 'error',\n '@typescript-eslint/no-invalid-void-type': 'error',\n 'no-loop-func': 'off',\n '@typescript-eslint/no-loop-func': 'error',\n 'no-magic-numbers': 'off',\n '@typescript-eslint/no-magic-numbers': 'error',\n '@typescript-eslint/no-meaningless-void-operator': 'error',\n '@typescript-eslint/no-misused-new': 'error',\n '@typescript-eslint/no-misused-promises': 'error',\n '@typescript-eslint/no-misused-spread': 'error',\n '@typescript-eslint/no-mixed-enums': 'error',\n '@typescript-eslint/no-namespace': 'error',\n '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',\n '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n '@typescript-eslint/no-non-null-assertion': 'error',\n 'no-redeclare': 'off',\n '@typescript-eslint/no-redeclare': 'error',\n '@typescript-eslint/no-redundant-type-constituents': 'error',\n '@typescript-eslint/no-require-imports': 'error',\n 'no-restricted-imports': 'off',\n '@typescript-eslint/no-restricted-imports': 'error',\n '@typescript-eslint/no-restricted-types': 'error',\n 'no-shadow': 'off',\n '@typescript-eslint/no-shadow': 'error',\n '@typescript-eslint/no-this-alias': 'error',\n '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',\n '@typescript-eslint/no-unnecessary-condition': 'error',\n '@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error',\n '@typescript-eslint/no-unnecessary-qualifier': 'error',\n '@typescript-eslint/no-unnecessary-template-expression': 'error',\n '@typescript-eslint/no-unnecessary-type-arguments': 'error',\n '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n '@typescript-eslint/no-unnecessary-type-parameters': 'error',\n '@typescript-eslint/no-unsafe-argument': 'error',\n '@typescript-eslint/no-unsafe-assignment': 'error',\n '@typescript-eslint/no-unsafe-call': 'error',\n '@typescript-eslint/no-unsafe-declaration-merging': 'error',\n '@typescript-eslint/no-unsafe-enum-comparison': 'error',\n '@typescript-eslint/no-unsafe-function-type': 'error',\n '@typescript-eslint/no-unsafe-member-access': 'error',\n '@typescript-eslint/no-unsafe-return': 'error',\n '@typescript-eslint/no-unsafe-type-assertion': 'error',\n '@typescript-eslint/no-unsafe-unary-minus': 'error',\n 'no-unused-expressions': 'off',\n '@typescript-eslint/no-unused-expressions': 'error',\n 'no-unused-vars': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n 'no-use-before-define': 'off',\n '@typescript-eslint/no-use-before-define': 'error',\n 'no-useless-constructor': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/no-useless-empty-export': 'error',\n '@typescript-eslint/no-wrapper-object-types': 'error',\n '@typescript-eslint/non-nullable-type-assertion-style': 'error',\n 'no-throw-literal': 'off',\n '@typescript-eslint/only-throw-error': 'error',\n '@typescript-eslint/parameter-properties': 'error',\n '@typescript-eslint/prefer-as-const': 'error',\n 'prefer-destructuring': 'off',\n '@typescript-eslint/prefer-destructuring': 'error',\n '@typescript-eslint/prefer-enum-initializers': 'error',\n '@typescript-eslint/prefer-find': 'error',\n '@typescript-eslint/prefer-for-of': 'error',\n '@typescript-eslint/prefer-function-type': 'error',\n '@typescript-eslint/prefer-includes': 'error',\n '@typescript-eslint/prefer-literal-enum-member': 'error',\n '@typescript-eslint/prefer-namespace-keyword': 'error',\n '@typescript-eslint/prefer-nullish-coalescing': 'error',\n '@typescript-eslint/prefer-optional-chain': 'error',\n 'prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'error',\n '@typescript-eslint/prefer-readonly': 'error',\n '@typescript-eslint/prefer-readonly-parameter-types': 'error',\n '@typescript-eslint/prefer-reduce-type-parameter': 'error',\n '@typescript-eslint/prefer-regexp-exec': 'error',\n '@typescript-eslint/prefer-return-this-type': 'error',\n '@typescript-eslint/prefer-string-starts-ends-with': 'error',\n '@typescript-eslint/promise-function-async': 'error',\n '@typescript-eslint/related-getter-setter-pairs': 'error',\n '@typescript-eslint/require-array-sort-compare': 'error',\n 'require-await': 'off',\n '@typescript-eslint/require-await': 'error',\n '@typescript-eslint/restrict-plus-operands': 'error',\n '@typescript-eslint/restrict-template-expressions': 'error',\n 'no-return-await': 'off',\n '@typescript-eslint/return-await': 'error',\n '@typescript-eslint/strict-boolean-expressions': 'error',\n '@typescript-eslint/switch-exhaustiveness-check': 'error',\n '@typescript-eslint/triple-slash-reference': 'error',\n '@typescript-eslint/typedef': 'error',\n '@typescript-eslint/unbound-method': 'error',\n '@typescript-eslint/unified-signatures': 'error',\n '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.\n * @see {@link https://typescript-eslint.io/users/configs#disable-type-checked}\n */\nexports.default = (_plugin, _parser) => ({\n name: 'typescript-eslint/disable-type-checked',\n rules: {\n '@typescript-eslint/await-thenable': 'off',\n '@typescript-eslint/consistent-return': 'off',\n '@typescript-eslint/consistent-type-exports': 'off',\n '@typescript-eslint/dot-notation': 'off',\n '@typescript-eslint/naming-convention': 'off',\n '@typescript-eslint/no-array-delete': 'off',\n '@typescript-eslint/no-base-to-string': 'off',\n '@typescript-eslint/no-confusing-void-expression': 'off',\n '@typescript-eslint/no-deprecated': 'off',\n '@typescript-eslint/no-duplicate-type-constituents': 'off',\n '@typescript-eslint/no-floating-promises': 'off',\n '@typescript-eslint/no-for-in-array': 'off',\n '@typescript-eslint/no-implied-eval': 'off',\n '@typescript-eslint/no-meaningless-void-operator': 'off',\n '@typescript-eslint/no-misused-promises': 'off',\n '@typescript-eslint/no-misused-spread': 'off',\n '@typescript-eslint/no-mixed-enums': 'off',\n '@typescript-eslint/no-redundant-type-constituents': 'off',\n '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',\n '@typescript-eslint/no-unnecessary-condition': 'off',\n '@typescript-eslint/no-unnecessary-qualifier': 'off',\n '@typescript-eslint/no-unnecessary-template-expression': 'off',\n '@typescript-eslint/no-unnecessary-type-arguments': 'off',\n '@typescript-eslint/no-unnecessary-type-assertion': 'off',\n '@typescript-eslint/no-unnecessary-type-parameters': 'off',\n '@typescript-eslint/no-unsafe-argument': 'off',\n '@typescript-eslint/no-unsafe-assignment': 'off',\n '@typescript-eslint/no-unsafe-call': 'off',\n '@typescript-eslint/no-unsafe-enum-comparison': 'off',\n '@typescript-eslint/no-unsafe-member-access': 'off',\n '@typescript-eslint/no-unsafe-return': 'off',\n '@typescript-eslint/no-unsafe-type-assertion': 'off',\n '@typescript-eslint/no-unsafe-unary-minus': 'off',\n '@typescript-eslint/non-nullable-type-assertion-style': 'off',\n '@typescript-eslint/only-throw-error': 'off',\n '@typescript-eslint/prefer-destructuring': 'off',\n '@typescript-eslint/prefer-find': 'off',\n '@typescript-eslint/prefer-includes': 'off',\n '@typescript-eslint/prefer-nullish-coalescing': 'off',\n '@typescript-eslint/prefer-optional-chain': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-readonly': 'off',\n '@typescript-eslint/prefer-readonly-parameter-types': 'off',\n '@typescript-eslint/prefer-reduce-type-parameter': 'off',\n '@typescript-eslint/prefer-regexp-exec': 'off',\n '@typescript-eslint/prefer-return-this-type': 'off',\n '@typescript-eslint/prefer-string-starts-ends-with': 'off',\n '@typescript-eslint/promise-function-async': 'off',\n '@typescript-eslint/related-getter-setter-pairs': 'off',\n '@typescript-eslint/require-array-sort-compare': 'off',\n '@typescript-eslint/require-await': 'off',\n '@typescript-eslint/restrict-plus-operands': 'off',\n '@typescript-eslint/restrict-template-expressions': 'off',\n '@typescript-eslint/return-await': 'off',\n '@typescript-eslint/strict-boolean-expressions': 'off',\n '@typescript-eslint/switch-exhaustiveness-check': 'off',\n '@typescript-eslint/unbound-method': 'off',\n '@typescript-eslint/use-unknown-in-catch-callback-variable': 'off',\n },\n languageOptions: {\n parserOptions: { program: null, project: false, projectService: false },\n },\n});\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Recommended rules for code correctness that you can drop in without additional configuration.\n * @see {@link https://typescript-eslint.io/users/configs#recommended}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/recommended',\n rules: {\n '@typescript-eslint/ban-ts-comment': 'error',\n 'no-array-constructor': 'off',\n '@typescript-eslint/no-array-constructor': 'error',\n '@typescript-eslint/no-duplicate-enum-values': 'error',\n '@typescript-eslint/no-empty-object-type': 'error',\n '@typescript-eslint/no-explicit-any': 'error',\n '@typescript-eslint/no-extra-non-null-assertion': 'error',\n '@typescript-eslint/no-misused-new': 'error',\n '@typescript-eslint/no-namespace': 'error',\n '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n '@typescript-eslint/no-require-imports': 'error',\n '@typescript-eslint/no-this-alias': 'error',\n '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n '@typescript-eslint/no-unsafe-declaration-merging': 'error',\n '@typescript-eslint/no-unsafe-function-type': 'error',\n 'no-unused-expressions': 'off',\n '@typescript-eslint/no-unused-expressions': 'error',\n 'no-unused-vars': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/no-wrapper-object-types': 'error',\n '@typescript-eslint/prefer-as-const': 'error',\n '@typescript-eslint/prefer-namespace-keyword': 'error',\n '@typescript-eslint/triple-slash-reference': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Contains all of `recommended` along with additional recommended rules that require type information.\n * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/recommended-type-checked',\n rules: {\n '@typescript-eslint/await-thenable': 'error',\n '@typescript-eslint/ban-ts-comment': 'error',\n 'no-array-constructor': 'off',\n '@typescript-eslint/no-array-constructor': 'error',\n '@typescript-eslint/no-array-delete': 'error',\n '@typescript-eslint/no-base-to-string': 'error',\n '@typescript-eslint/no-duplicate-enum-values': 'error',\n '@typescript-eslint/no-duplicate-type-constituents': 'error',\n '@typescript-eslint/no-empty-object-type': 'error',\n '@typescript-eslint/no-explicit-any': 'error',\n '@typescript-eslint/no-extra-non-null-assertion': 'error',\n '@typescript-eslint/no-floating-promises': 'error',\n '@typescript-eslint/no-for-in-array': 'error',\n 'no-implied-eval': 'off',\n '@typescript-eslint/no-implied-eval': 'error',\n '@typescript-eslint/no-misused-new': 'error',\n '@typescript-eslint/no-misused-promises': 'error',\n '@typescript-eslint/no-namespace': 'error',\n '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n '@typescript-eslint/no-redundant-type-constituents': 'error',\n '@typescript-eslint/no-require-imports': 'error',\n '@typescript-eslint/no-this-alias': 'error',\n '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n '@typescript-eslint/no-unsafe-argument': 'error',\n '@typescript-eslint/no-unsafe-assignment': 'error',\n '@typescript-eslint/no-unsafe-call': 'error',\n '@typescript-eslint/no-unsafe-declaration-merging': 'error',\n '@typescript-eslint/no-unsafe-enum-comparison': 'error',\n '@typescript-eslint/no-unsafe-function-type': 'error',\n '@typescript-eslint/no-unsafe-member-access': 'error',\n '@typescript-eslint/no-unsafe-return': 'error',\n '@typescript-eslint/no-unsafe-unary-minus': 'error',\n 'no-unused-expressions': 'off',\n '@typescript-eslint/no-unused-expressions': 'error',\n 'no-unused-vars': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/no-wrapper-object-types': 'error',\n 'no-throw-literal': 'off',\n '@typescript-eslint/only-throw-error': 'error',\n '@typescript-eslint/prefer-as-const': 'error',\n '@typescript-eslint/prefer-namespace-keyword': 'error',\n 'prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'error',\n 'require-await': 'off',\n '@typescript-eslint/require-await': 'error',\n '@typescript-eslint/restrict-plus-operands': 'error',\n '@typescript-eslint/restrict-template-expressions': 'error',\n '@typescript-eslint/triple-slash-reference': 'error',\n '@typescript-eslint/unbound-method': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * A version of `recommended` that only contains type-checked rules and disables of any corresponding core ESLint rules.\n * @see {@link https://typescript-eslint.io/users/configs#recommended-type-checked-only}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/recommended-type-checked-only',\n rules: {\n '@typescript-eslint/await-thenable': 'error',\n '@typescript-eslint/no-array-delete': 'error',\n '@typescript-eslint/no-base-to-string': 'error',\n '@typescript-eslint/no-duplicate-type-constituents': 'error',\n '@typescript-eslint/no-floating-promises': 'error',\n '@typescript-eslint/no-for-in-array': 'error',\n 'no-implied-eval': 'off',\n '@typescript-eslint/no-implied-eval': 'error',\n '@typescript-eslint/no-misused-promises': 'error',\n '@typescript-eslint/no-redundant-type-constituents': 'error',\n '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n '@typescript-eslint/no-unsafe-argument': 'error',\n '@typescript-eslint/no-unsafe-assignment': 'error',\n '@typescript-eslint/no-unsafe-call': 'error',\n '@typescript-eslint/no-unsafe-enum-comparison': 'error',\n '@typescript-eslint/no-unsafe-member-access': 'error',\n '@typescript-eslint/no-unsafe-return': 'error',\n '@typescript-eslint/no-unsafe-unary-minus': 'error',\n 'no-throw-literal': 'off',\n '@typescript-eslint/only-throw-error': 'error',\n 'prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'error',\n 'require-await': 'off',\n '@typescript-eslint/require-await': 'error',\n '@typescript-eslint/restrict-plus-operands': 'error',\n '@typescript-eslint/restrict-template-expressions': 'error',\n '@typescript-eslint/unbound-method': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Contains all of `recommended`, as well as additional strict rules that can also catch bugs.\n * @see {@link https://typescript-eslint.io/users/configs#strict}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/strict',\n rules: {\n '@typescript-eslint/ban-ts-comment': [\n 'error',\n { minimumDescriptionLength: 10 },\n ],\n 'no-array-constructor': 'off',\n '@typescript-eslint/no-array-constructor': 'error',\n '@typescript-eslint/no-duplicate-enum-values': 'error',\n '@typescript-eslint/no-dynamic-delete': 'error',\n '@typescript-eslint/no-empty-object-type': 'error',\n '@typescript-eslint/no-explicit-any': 'error',\n '@typescript-eslint/no-extra-non-null-assertion': 'error',\n '@typescript-eslint/no-extraneous-class': 'error',\n '@typescript-eslint/no-invalid-void-type': 'error',\n '@typescript-eslint/no-misused-new': 'error',\n '@typescript-eslint/no-namespace': 'error',\n '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',\n '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n '@typescript-eslint/no-non-null-assertion': 'error',\n '@typescript-eslint/no-require-imports': 'error',\n '@typescript-eslint/no-this-alias': 'error',\n '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n '@typescript-eslint/no-unsafe-declaration-merging': 'error',\n '@typescript-eslint/no-unsafe-function-type': 'error',\n 'no-unused-expressions': 'off',\n '@typescript-eslint/no-unused-expressions': 'error',\n 'no-unused-vars': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n 'no-useless-constructor': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/no-wrapper-object-types': 'error',\n '@typescript-eslint/prefer-as-const': 'error',\n '@typescript-eslint/prefer-literal-enum-member': 'error',\n '@typescript-eslint/prefer-namespace-keyword': 'error',\n '@typescript-eslint/triple-slash-reference': 'error',\n '@typescript-eslint/unified-signatures': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Contains all of `recommended`, `recommended-type-checked`, and `strict`, along with additional strict rules that require type information.\n * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/strict-type-checked',\n rules: {\n '@typescript-eslint/await-thenable': 'error',\n '@typescript-eslint/ban-ts-comment': [\n 'error',\n { minimumDescriptionLength: 10 },\n ],\n 'no-array-constructor': 'off',\n '@typescript-eslint/no-array-constructor': 'error',\n '@typescript-eslint/no-array-delete': 'error',\n '@typescript-eslint/no-base-to-string': 'error',\n '@typescript-eslint/no-confusing-void-expression': 'error',\n '@typescript-eslint/no-deprecated': 'error',\n '@typescript-eslint/no-duplicate-enum-values': 'error',\n '@typescript-eslint/no-duplicate-type-constituents': 'error',\n '@typescript-eslint/no-dynamic-delete': 'error',\n '@typescript-eslint/no-empty-object-type': 'error',\n '@typescript-eslint/no-explicit-any': 'error',\n '@typescript-eslint/no-extra-non-null-assertion': 'error',\n '@typescript-eslint/no-extraneous-class': 'error',\n '@typescript-eslint/no-floating-promises': 'error',\n '@typescript-eslint/no-for-in-array': 'error',\n 'no-implied-eval': 'off',\n '@typescript-eslint/no-implied-eval': 'error',\n '@typescript-eslint/no-invalid-void-type': 'error',\n '@typescript-eslint/no-meaningless-void-operator': 'error',\n '@typescript-eslint/no-misused-new': 'error',\n '@typescript-eslint/no-misused-promises': 'error',\n '@typescript-eslint/no-misused-spread': 'error',\n '@typescript-eslint/no-mixed-enums': 'error',\n '@typescript-eslint/no-namespace': 'error',\n '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',\n '@typescript-eslint/no-non-null-asserted-optional-chain': 'error',\n '@typescript-eslint/no-non-null-assertion': 'error',\n '@typescript-eslint/no-redundant-type-constituents': 'error',\n '@typescript-eslint/no-require-imports': 'error',\n '@typescript-eslint/no-this-alias': 'error',\n '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',\n '@typescript-eslint/no-unnecessary-condition': 'error',\n '@typescript-eslint/no-unnecessary-template-expression': 'error',\n '@typescript-eslint/no-unnecessary-type-arguments': 'error',\n '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n '@typescript-eslint/no-unnecessary-type-constraint': 'error',\n '@typescript-eslint/no-unnecessary-type-parameters': 'error',\n '@typescript-eslint/no-unsafe-argument': 'error',\n '@typescript-eslint/no-unsafe-assignment': 'error',\n '@typescript-eslint/no-unsafe-call': 'error',\n '@typescript-eslint/no-unsafe-declaration-merging': 'error',\n '@typescript-eslint/no-unsafe-enum-comparison': 'error',\n '@typescript-eslint/no-unsafe-function-type': 'error',\n '@typescript-eslint/no-unsafe-member-access': 'error',\n '@typescript-eslint/no-unsafe-return': 'error',\n '@typescript-eslint/no-unsafe-unary-minus': 'error',\n 'no-unused-expressions': 'off',\n '@typescript-eslint/no-unused-expressions': 'error',\n 'no-unused-vars': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n 'no-useless-constructor': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/no-wrapper-object-types': 'error',\n 'no-throw-literal': 'off',\n '@typescript-eslint/only-throw-error': 'error',\n '@typescript-eslint/prefer-as-const': 'error',\n '@typescript-eslint/prefer-literal-enum-member': 'error',\n '@typescript-eslint/prefer-namespace-keyword': 'error',\n 'prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'error',\n '@typescript-eslint/prefer-reduce-type-parameter': 'error',\n '@typescript-eslint/prefer-return-this-type': 'error',\n '@typescript-eslint/related-getter-setter-pairs': 'error',\n 'require-await': 'off',\n '@typescript-eslint/require-await': 'error',\n '@typescript-eslint/restrict-plus-operands': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNullish: false,\n allowNumberAndString: false,\n allowRegExp: false,\n },\n ],\n '@typescript-eslint/restrict-template-expressions': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNever: false,\n allowNullish: false,\n allowNumber: false,\n allowRegExp: false,\n },\n ],\n 'no-return-await': 'off',\n '@typescript-eslint/return-await': [\n 'error',\n 'error-handling-correctness-only',\n ],\n '@typescript-eslint/triple-slash-reference': 'error',\n '@typescript-eslint/unbound-method': 'error',\n '@typescript-eslint/unified-signatures': 'error',\n '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * A version of `strict` that only contains type-checked rules and disables of any corresponding core ESLint rules.\n * @see {@link https://typescript-eslint.io/users/configs#strict-type-checked-only}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/strict-type-checked-only',\n rules: {\n '@typescript-eslint/await-thenable': 'error',\n '@typescript-eslint/no-array-delete': 'error',\n '@typescript-eslint/no-base-to-string': 'error',\n '@typescript-eslint/no-confusing-void-expression': 'error',\n '@typescript-eslint/no-deprecated': 'error',\n '@typescript-eslint/no-duplicate-type-constituents': 'error',\n '@typescript-eslint/no-floating-promises': 'error',\n '@typescript-eslint/no-for-in-array': 'error',\n 'no-implied-eval': 'off',\n '@typescript-eslint/no-implied-eval': 'error',\n '@typescript-eslint/no-meaningless-void-operator': 'error',\n '@typescript-eslint/no-misused-promises': 'error',\n '@typescript-eslint/no-misused-spread': 'error',\n '@typescript-eslint/no-mixed-enums': 'error',\n '@typescript-eslint/no-redundant-type-constituents': 'error',\n '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',\n '@typescript-eslint/no-unnecessary-condition': 'error',\n '@typescript-eslint/no-unnecessary-template-expression': 'error',\n '@typescript-eslint/no-unnecessary-type-arguments': 'error',\n '@typescript-eslint/no-unnecessary-type-assertion': 'error',\n '@typescript-eslint/no-unnecessary-type-parameters': 'error',\n '@typescript-eslint/no-unsafe-argument': 'error',\n '@typescript-eslint/no-unsafe-assignment': 'error',\n '@typescript-eslint/no-unsafe-call': 'error',\n '@typescript-eslint/no-unsafe-enum-comparison': 'error',\n '@typescript-eslint/no-unsafe-member-access': 'error',\n '@typescript-eslint/no-unsafe-return': 'error',\n '@typescript-eslint/no-unsafe-unary-minus': 'error',\n 'no-throw-literal': 'off',\n '@typescript-eslint/only-throw-error': 'error',\n 'prefer-promise-reject-errors': 'off',\n '@typescript-eslint/prefer-promise-reject-errors': 'error',\n '@typescript-eslint/prefer-reduce-type-parameter': 'error',\n '@typescript-eslint/prefer-return-this-type': 'error',\n '@typescript-eslint/related-getter-setter-pairs': 'error',\n 'require-await': 'off',\n '@typescript-eslint/require-await': 'error',\n '@typescript-eslint/restrict-plus-operands': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNullish: false,\n allowNumberAndString: false,\n allowRegExp: false,\n },\n ],\n '@typescript-eslint/restrict-template-expressions': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNever: false,\n allowNullish: false,\n allowNumber: false,\n allowRegExp: false,\n },\n ],\n 'no-return-await': 'off',\n '@typescript-eslint/return-await': [\n 'error',\n 'error-handling-correctness-only',\n ],\n '@typescript-eslint/unbound-method': 'error',\n '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Rules considered to be best practice for modern TypeScript codebases, but that do not impact program logic.\n * @see {@link https://typescript-eslint.io/users/configs#stylistic}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/stylistic',\n rules: {\n '@typescript-eslint/adjacent-overload-signatures': 'error',\n '@typescript-eslint/array-type': 'error',\n '@typescript-eslint/ban-tslint-comment': 'error',\n '@typescript-eslint/class-literal-property-style': 'error',\n '@typescript-eslint/consistent-generic-constructors': 'error',\n '@typescript-eslint/consistent-indexed-object-style': 'error',\n '@typescript-eslint/consistent-type-assertions': 'error',\n '@typescript-eslint/consistent-type-definitions': 'error',\n '@typescript-eslint/no-confusing-non-null-assertion': 'error',\n 'no-empty-function': 'off',\n '@typescript-eslint/no-empty-function': 'error',\n '@typescript-eslint/no-inferrable-types': 'error',\n '@typescript-eslint/prefer-for-of': 'error',\n '@typescript-eslint/prefer-function-type': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * Contains all of `stylistic`, along with additional stylistic rules that require type information.\n * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/stylistic-type-checked',\n rules: {\n '@typescript-eslint/adjacent-overload-signatures': 'error',\n '@typescript-eslint/array-type': 'error',\n '@typescript-eslint/ban-tslint-comment': 'error',\n '@typescript-eslint/class-literal-property-style': 'error',\n '@typescript-eslint/consistent-generic-constructors': 'error',\n '@typescript-eslint/consistent-indexed-object-style': 'error',\n '@typescript-eslint/consistent-type-assertions': 'error',\n '@typescript-eslint/consistent-type-definitions': 'error',\n 'dot-notation': 'off',\n '@typescript-eslint/dot-notation': 'error',\n '@typescript-eslint/no-confusing-non-null-assertion': 'error',\n 'no-empty-function': 'off',\n '@typescript-eslint/no-empty-function': 'error',\n '@typescript-eslint/no-inferrable-types': 'error',\n '@typescript-eslint/non-nullable-type-assertion-style': 'error',\n '@typescript-eslint/prefer-find': 'error',\n '@typescript-eslint/prefer-for-of': 'error',\n '@typescript-eslint/prefer-function-type': 'error',\n '@typescript-eslint/prefer-includes': 'error',\n '@typescript-eslint/prefer-nullish-coalescing': 'error',\n '@typescript-eslint/prefer-optional-chain': 'error',\n '@typescript-eslint/prefer-regexp-exec': 'error',\n '@typescript-eslint/prefer-string-starts-ends-with': 'error',\n },\n },\n];\n","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// SEE https://typescript-eslint.io/users/configs\n//\n// For developers working in the typescript-eslint monorepo:\n// You can regenerate it using `yarn generate:configs`\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst base_1 = __importDefault(require(\"./base\"));\nconst eslint_recommended_1 = __importDefault(require(\"./eslint-recommended\"));\n/**\n * A version of `stylistic` that only contains type-checked rules and disables of any corresponding core ESLint rules.\n * @see {@link https://typescript-eslint.io/users/configs#stylistic-type-checked-only}\n */\nexports.default = (plugin, parser) => [\n (0, base_1.default)(plugin, parser),\n (0, eslint_recommended_1.default)(plugin, parser),\n {\n name: 'typescript-eslint/stylistic-type-checked-only',\n rules: {\n 'dot-notation': 'off',\n '@typescript-eslint/dot-notation': 'error',\n '@typescript-eslint/non-nullable-type-assertion-style': 'error',\n '@typescript-eslint/prefer-find': 'error',\n '@typescript-eslint/prefer-includes': 'error',\n '@typescript-eslint/prefer-nullish-coalescing': 'error',\n '@typescript-eslint/prefer-optional-chain': 'error',\n '@typescript-eslint/prefer-regexp-exec': 'error',\n '@typescript-eslint/prefer-string-starts-ends-with': 'error',\n },\n },\n];\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.def