@oxlint-config-inspector/core 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +51 -50
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["getPluginName","process","pkgJson.version"],"sources":["../src/config.ts","../package.json","../src/generated/builtin-rule-docs.ts","../src/plugins.ts","../src/rules.ts","../src/utils.ts","../src/inspect.ts"],"sourcesContent":["import type { CosmiconfigResult, PublicExplorer } from 'cosmiconfig'\nimport type { ParseError } from 'jsonc-parser'\nimport type { OxlintConfig } from 'oxlint'\n\nimport { access } from 'node:fs/promises'\nimport path from 'node:path'\n\nimport { cosmiconfig, defaultLoaders } from 'cosmiconfig'\nimport { createJiti } from 'jiti'\nimport { parse, printParseErrorCode } from 'jsonc-parser'\n\ntype JsonOxlintConfig = Omit<OxlintConfig, 'extends'> & {\n extends?: string[]\n}\n\ntype ConfigInput = Omit<OxlintConfig, 'extends'> & {\n extends?: Array<string | ConfigInput>\n}\n\nexport type GetConfigOptions = {\n /** Whether to cache discovered and loaded config files. Defaults to `true`. */\n cache?: boolean\n /** An explicit path to the config file. When provided, cosmiconfig loads this file directly instead of searching. */\n configFile?: string\n /** The directory to search for a config file. Defaults to `process.cwd()`. */\n cwd?: string\n}\n\n/**\n * An Oxlint config with all `extends` resolved and the field removed.\n */\ntype ResolvedOxlintConfig = Omit<OxlintConfig, 'extends'>\n\n/**\n * The result of loading and resolving a config file from disk.\n */\nexport type LoadedOxlintConfig = {\n config: ResolvedOxlintConfig\n /** Every config file visited during resolution (including extended files). */\n files: string[]\n /** Absolute path to the root config file. */\n filepath: string\n}\n\n/** Known Oxlint / Vite+ config file names, searched in order by cosmiconfig. */\nexport const searchPlaces = ['vite.config.ts', '.oxlintrc.json', '.oxlintrc.jsonc', 'oxlint.config.ts']\n\nconst VITE_CONFIG_BASENAME = 'vite.config.ts'\n\nfunction createExplorer(cache: boolean) {\n const loadTs = createTypeScriptLoader(cache)\n\n return cosmiconfig('oxlint', {\n cache,\n loaders: {\n ...defaultLoaders,\n '.jsonc': loadJsonc,\n '.ts': loadTs,\n },\n searchPlaces,\n })\n}\n\nconst defaultExplorer = createExplorer(true)\n\nfunction loadJsonc(filepath: string, content: string): Record<string, unknown> | null {\n const errors: ParseError[] = []\n const config = parse(content, errors, { allowTrailingComma: true }) as Record<string, unknown> | null\n const [error] = errors\n\n if (error) {\n throw new Error(`JSONC Error in ${filepath}: ${printParseErrorCode(error.error)} at offset ${error.offset}`)\n }\n\n return config ?? null\n}\n\nfunction createTypeScriptLoader(cache: boolean): (filepath: string) => Promise<Record<string, unknown> | null> {\n const jiti = createJiti(import.meta.url, {\n fsCache: cache,\n moduleCache: cache,\n })\n\n return async (filepath: string) => {\n const exported = await jiti.import(filepath, { default: true })\n\n if (path.basename(filepath) === VITE_CONFIG_BASENAME) {\n return extractViteLintConfig(exported)\n }\n\n return (exported as Record<string, unknown> | null) ?? null\n }\n}\n\nfunction extractViteLintConfig(exported: unknown): Record<string, unknown> | null {\n if (!exported || typeof exported !== 'object' || Array.isArray(exported)) {\n return null\n }\n\n const lint = (exported as Record<string, unknown>).lint\n\n if (!lint || typeof lint !== 'object' || Array.isArray(lint)) {\n return null\n }\n\n return lint as Record<string, unknown>\n}\n\n/**\n * Loads and resolves an Oxlint configuration file.\n *\n * Discovers the config via cosmiconfig (searching from `cwd` or loading a\n * specific `configFile`), then recursively resolves all `extends` chains.\n * Within each directory, {@link searchPlaces} are tried in order; empty configs\n * (e.g. a Vite config without a `lint` block) are skipped so later places can win.\n *\n * @param options - See {@link GetConfigOptions}.\n * @returns The resolved config with all extensions flattened, or `null` if no config file is found.\n */\nexport async function getConfig(options: GetConfigOptions = {}): Promise<LoadedOxlintConfig | null> {\n const cwd = options.cwd ?? process.cwd()\n const explorer = options.cache === false ? createExplorer(false) : defaultExplorer\n const result = options.configFile\n ? await explorer.load(path.resolve(cwd, options.configFile))\n : await searchDirectory(path.resolve(cwd), explorer)\n\n if (!result || result.isEmpty) {\n return null\n }\n\n const files = new Set<string>([result.filepath])\n const config = await resolveConfig(\n result.config as ConfigInput,\n result.filepath,\n files,\n new Set([result.filepath]),\n explorer,\n )\n\n return {\n config,\n files: [...files],\n filepath: result.filepath,\n }\n}\n\nasync function searchDirectory(directory: string, explorer: PublicExplorer): Promise<CosmiconfigResult> {\n const filepaths = searchPlaces.map((place) => path.join(directory, place))\n const result = await tryLoad(filepaths, explorer)\n if (result) return result\n\n try {\n await access(path.join(directory, 'package.json'))\n return null\n } catch {\n // no package.json, walk up\n }\n\n const parent = path.dirname(directory)\n return parent === directory ? null : searchDirectory(parent, explorer)\n}\n\nasync function tryLoad([filepath, ...rest]: string[], explorer: PublicExplorer): Promise<CosmiconfigResult> {\n if (!filepath) return null\n try {\n const result = await explorer.load(filepath)\n if (result && !result.isEmpty) return result\n } catch (error) {\n if (!isFileNotFoundError(error)) throw error\n // file does not exist, try the next candidate\n }\n return tryLoad(rest, explorer)\n}\n\nfunction isFileNotFoundError(error: unknown): boolean {\n return error instanceof Error && (error as NodeJS.ErrnoException).code === 'ENOENT'\n}\n\n/**\n * Recursively resolves a config and all of its `extends`.\n *\n * Extended configs are loaded, filtered to their extendable fields, then\n * merged with the own config (own takes precedence).\n *\n * @param config - The config to resolve (may include an `extends` array).\n * @param filepath - Absolute path to the config file, used as the base for resolving relative `extends` paths.\n * @param files - Accumulator for all config file paths visited throughout the resolution tree.\n * @param resolvingFiles - Tracks in-flight files to detect circular extends.\n * @returns The fully resolved config with all `extends` flattened.\n */\nasync function resolveConfig(\n config: ConfigInput,\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n): Promise<ResolvedOxlintConfig> {\n const extendedConfigs = await resolveExtends(config.extends, filepath, files, resolvingFiles, explorer)\n const ownConfig = stripExtends(config)\n\n return mergeConfigs([...extendedConfigs, ownConfig])\n}\n\n/**\n * Loads and resolves all entries in the `extends` array.\n *\n * Each entry is either a file path string (JSON/JSONC config) or an inline config\n * object (TS config). Inline configs are resolved recursively.\n *\n * Returned configs are filtered through {@link pickExtendableConfig} so only\n * inheritable fields survive.\n *\n * @param entries - The `extends` array from a config (string paths or inline config objects).\n * @param filepath - Absolute path to the parent config file, used as the base for resolving relative path strings.\n * @param files - Accumulator for all config file paths visited.\n * @param resolvingFiles - Shared set tracking in-flight files across the entire extends tree. Each extend branch receives a snapshot copy to isolate per-branch cycles.\n * @returns An array of resolved configs with only extendable fields.\n */\nasync function resolveExtends(\n entries: ConfigInput['extends'],\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n) {\n if (!entries?.length) {\n return []\n }\n\n const configs = await Promise.all(\n entries.map(async (entry) => {\n const resolvingBranch = new Set(resolvingFiles)\n\n if (typeof entry === 'string') {\n return loadJsonLikeConfig(path.resolve(path.dirname(filepath), entry), files, resolvingBranch, explorer)\n }\n\n return resolveConfig(entry, filepath, files, resolvingBranch, explorer)\n }),\n )\n\n return configs.map((config) => pickExtendableConfig(config))\n}\n\n/**\n * Loads a JSON or JSONC config from disk at the given file path and resolves its\n * `extends` chain.\n *\n * @param filepath - Absolute path to the JSON or JSONC config file to load.\n * @param files - Accumulator for all config file paths visited.\n * @param resolvingFiles - Set tracking in-flight files for cycle detection.\n * @returns The fully resolved config from this file.\n * @throws If a circular extends reference is detected.\n * @throws If the file cannot be loaded by cosmiconfig.\n */\nasync function loadJsonLikeConfig(\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n) {\n if (resolvingFiles.has(filepath)) {\n throw new Error(`Circular Oxlint config extends detected: ${filepath}`)\n }\n\n const result = await explorer.load(filepath)\n\n if (!result || result.isEmpty) {\n throw new Error(`Unable to load extended Oxlint config: ${filepath}`)\n }\n\n files.add(result.filepath)\n resolvingFiles.add(result.filepath)\n\n try {\n return await resolveConfig(result.config as JsonOxlintConfig, result.filepath, files, resolvingFiles, explorer)\n } finally {\n resolvingFiles.delete(result.filepath)\n }\n}\n\n/**\n * Returns a shallow copy of the config with the `extends` key removed.\n *\n * The resulting object represents the \"own\" config (i.e., what this file\n * declares without inherited contributions).\n *\n * @param config - The original config (may include `extends`).\n * @returns A shallow copy of the config without the `extends` property.\n */\nfunction stripExtends(config: ConfigInput): ResolvedOxlintConfig {\n const rest: ConfigInput = { ...config }\n delete rest.extends\n\n return rest\n}\n\n/**\n * Picks only the fields that are inherited through `extends`.\n *\n * Per Oxlint docs, only `rules`, `plugins`, and `overrides` are extendable.\n * Other fields (env, globals, settings, categories, jsPlugins, etc.) are\n * intentionally dropped.\n *\n * If Oxlint changes this behavior, this function must be updated accordingly.\n *\n * @param config - A fully resolved config.\n * @returns A new config object containing only `plugins`, `rules`, and `overrides` (if present in the source).\n * @see https://oxc.rs/docs/guide/usage/linter/nested-config.html#extending-configuration-files\n */\nfunction pickExtendableConfig(config: ResolvedOxlintConfig): ResolvedOxlintConfig {\n const picked: ResolvedOxlintConfig = {}\n\n if (config.plugins) {\n picked.plugins = config.plugins\n }\n\n if (config.rules) {\n picked.rules = config.rules\n }\n\n if (config.overrides) {\n picked.overrides = config.overrides\n }\n\n return picked\n}\n\n/**\n * Merges an ordered list of resolved configs into a single config.\n *\n * The first config serves as the base. Each subsequent config contributes\n * its fields with the following merge strategies:\n *\n * - **plugins** — concatenated (union of all enabled plugins)\n * - **overrides** — concatenated\n * - **rules** — cascading override (later entries win on conflict)\n * - **all other** — last-write-wins via {@link Object.assign}\n *\n * @param configs - An ordered list of configs to merge (base first, own config last).\n * @returns A single merged config.\n */\nfunction mergeConfigs(configs: ResolvedOxlintConfig[]) {\n const merged: ResolvedOxlintConfig = {}\n\n for (const config of configs) {\n const overrides = mergeArrays(merged.overrides, config.overrides)\n const plugins = mergeArrays(merged.plugins, config.plugins)\n const rules = { ...merged.rules, ...config.rules }\n\n Object.assign(merged, config)\n merged.overrides = overrides\n merged.plugins = plugins\n merged.rules = rules\n }\n\n return merged\n}\n\n/**\n * Concatenates two arrays, handling the case where either is undefined.\n *\n * If both are undefined the result is undefined; if only one is defined it\n * is returned as-is; if both are defined they are concatenated with `base`\n * coming first.\n *\n * @param base - The base array (elements appear first in the result).\n * @param override - The override array (elements appear after the base).\n * @returns The concatenated array, or `undefined` if both inputs are falsy.\n */\nfunction mergeArrays<T>(base: T[] | undefined, override: T[] | undefined) {\n if (!base) {\n return override\n }\n\n if (!override) {\n return base\n }\n\n return [...base, ...override]\n}\n","","// oxlint-disable eslint/no-template-curly-in-string\n// This file is generated by scripts/generate-builtin-rule-docs.ts.\n// Do not edit this file manually.\n// Oxlint version: 1.92.0\n\nexport type BuiltinRuleDocMetadata = {\n defaultOptions?: Record<string, unknown>\n description?: string\n}\n\nexport const builtinRuleDocs: Record<string, BuiltinRuleDocMetadata> = {\n 'eslint/accessor-pairs': {\n defaultOptions: {\n enforceForClassMembers: true,\n enforceForTSTypes: false,\n getWithoutSet: false,\n setWithoutGet: true,\n },\n description: 'Enforces getter/setter pairs in objects and classes.',\n },\n 'eslint/array-callback-return': {\n defaultOptions: {\n allowImplicit: false,\n allowVoid: false,\n checkForEach: false,\n },\n description: 'Enforce return statements in callbacks of array methods.',\n },\n 'eslint/arrow-body-style': {\n defaultOptions: {\n 'The 2nd option': {\n requireReturnForObjectLiteral: false,\n },\n },\n description:\n 'This rule can enforce or disallow the use of braces around arrow function body. Arrow functions can use either:',\n },\n 'eslint/block-scoped-var': {\n description:\n 'Enforces that variables are both declared and used within the same block scope. This rule prevents accidental use of variables outside their intended block, mimicking C-style block scoping in JavaScript.',\n },\n 'eslint/capitalized-comments': {\n description: 'Enforces or disallows capitalization of the first letter of a comment.',\n },\n 'eslint/class-methods-use-this': {\n defaultOptions: {\n enforceForClassFields: true,\n exceptMethods: [],\n ignoreClassesWithImplements: null,\n ignoreOverrideMethods: false,\n },\n description: 'Enforce that class methods utilize this.',\n },\n 'eslint/complexity': {\n defaultOptions: {\n max: 20,\n },\n description:\n 'Enforces a maximum cyclomatic complexity in a program, which is the number of linearly independent paths in a program.',\n },\n 'eslint/constructor-super': {\n description:\n 'Requires super() calls in constructors of derived classes and disallows super() calls in constructors of non-derived classes.',\n },\n 'eslint/curly': {\n description:\n 'This rule enforces the use of curly braces {} for all control statements (if, else, for, while, do, with). It ensures that all blocks are enclosed in curly braces to improve code clarity and maintainability.',\n },\n 'eslint/default-case': {\n description:\n 'Enforces that all switch statements include a default case, unless explicitly marked with a configured comment.',\n },\n 'eslint/default-case-last': {\n description: 'Requires the default clause in switch statements to be the last one.',\n },\n 'eslint/default-param-last': {\n description: 'Requires default parameters in functions to be the last ones.',\n },\n 'eslint/eqeqeq': {\n description: 'Requires the use of the === and !== operators, disallowing the use of == and !=.',\n },\n 'eslint/for-direction': {\n description:\n 'Disallow for loops where the update clause moves the counter in the wrong direction, preventing the loop from reaching its stop condition.',\n },\n 'eslint/func-name-matching': {\n defaultOptions: {\n 'The 2nd option': {\n considerPropertyDescriptor: false,\n includeCommonJSModuleExports: false,\n },\n },\n description:\n 'Requires function expression names to match the variable or property names they are assigned to, or disallows such matches with \"never\".',\n },\n 'eslint/func-names': {\n description: 'Require or disallow named function expressions.',\n },\n 'eslint/func-style': {\n defaultOptions: {\n 'The 2nd option': {\n allowArrowFunctions: false,\n allowTypeAnnotation: false,\n },\n },\n description: 'Enforce the consistent use of either function declarations or expressions assigned to variables.',\n },\n 'eslint/getter-return': {\n defaultOptions: {\n allowImplicit: false,\n },\n description: 'Requires all getters to have a return statement.',\n },\n 'eslint/grouped-accessor-pairs': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForTSTypes: false,\n },\n },\n description: 'Require grouped accessor pairs in object literals and classes.',\n },\n 'eslint/guard-for-in': {\n description: 'Require for-in loops to include an if statement.',\n },\n 'eslint/id-denylist': {\n description: 'Disallow specified identifiers',\n },\n 'eslint/id-length': {\n defaultOptions: {\n checkGeneric: true,\n exceptions: [],\n max: 'Infinity',\n min: 2,\n properties: '\"always\"',\n },\n description:\n 'Enforce a minimum and/or maximum identifier length convention by counting the graphemes for a given identifier.',\n },\n 'eslint/id-match': {\n defaultOptions: {\n 'The 2nd option': {\n classFields: false,\n ignoreDestructuring: false,\n onlyDeclarations: false,\n properties: false,\n },\n },\n description:\n 'Enforces a naming convention for identifiers by requiring each checked name to match a configured regular expression.',\n },\n 'eslint/init-declarations': {\n defaultOptions: {\n 'The 2nd option': {\n ignoreForLoopInit: false,\n },\n },\n description: 'Require or disallow initialization in variable declarations.',\n },\n 'eslint/logical-assignment-operators': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForIfStatements: false,\n },\n },\n description: 'This rule requires or disallows logical assignment operator shorthand.',\n },\n 'eslint/max-classes-per-file': {\n defaultOptions: {\n ignoreExpressions: false,\n max: 1,\n },\n description: 'Enforce a maximum number of classes per file.',\n },\n 'eslint/max-depth': {\n defaultOptions: {\n max: 4,\n },\n description:\n 'Enforce a maximum depth that blocks can be nested. This rule helps to limit the complexity of nested blocks, improving readability and maintainability by ensuring that code does not become too deeply nested.',\n },\n 'eslint/max-lines': {\n defaultOptions: {\n max: 300,\n skipBlankLines: false,\n skipComments: false,\n },\n description: 'Enforce a maximum number of lines per file.',\n },\n 'eslint/max-lines-per-function': {\n defaultOptions: {\n IIFEs: false,\n max: 50,\n skipBlankLines: false,\n skipComments: false,\n },\n description:\n 'Enforce a maximum number of lines of code in a function. This rule ensures that functions do not exceed a specified line count, promoting smaller, more focused functions that are easier to maintain and understand.',\n },\n 'eslint/max-nested-callbacks': {\n defaultOptions: {\n max: 10,\n },\n description:\n 'Enforce a maximum depth that callbacks can be nested. This rule helps to limit the complexity of callback nesting, ensuring that callbacks do not become too deeply nested, improving code readability and maintainability.',\n },\n 'eslint/max-params': {\n defaultOptions: {\n countVoidThis: false,\n max: 3,\n },\n description: 'Enforce a maximum number of parameters in function definitions which by default is three.',\n },\n 'eslint/max-statements': {\n defaultOptions: {\n ignoreTopLevelFunctions: false,\n max: 10,\n },\n description:\n 'Enforce a maximum number of statements in a function. This rule ensures that functions do not exceed a specified statements count, promoting smaller, more focused functions that are easier to maintain and understand.',\n },\n 'eslint/new-cap': {\n defaultOptions: {\n capIsNew: true,\n capIsNewExceptions: [],\n newIsCap: true,\n newIsCapExceptions: [\n 'Array',\n 'Boolean',\n 'Date',\n 'Error',\n 'Function',\n 'Number',\n 'Object',\n 'RegExp',\n 'String',\n 'Symbol',\n 'BigInt',\n ],\n properties: true,\n },\n description: 'This rule requires constructor names to begin with a capital letter.',\n },\n 'eslint/no-alert': {\n description: 'Disallow the use of alert, confirm, and prompt.',\n },\n 'eslint/no-array-constructor': {\n description: 'Disallows creating arrays with the Array constructor.',\n },\n 'eslint/no-async-promise-executor': {\n description: 'Disallow using an async function as a Promise executor.',\n },\n 'eslint/no-await-in-loop': {\n description: 'This rule disallows the use of await within loop bodies. (for, for-in, for-of, while, do-while).',\n },\n 'eslint/no-bitwise': {\n defaultOptions: {\n allow: [],\n int32Hint: false,\n },\n description: 'Disallow bitwise operators.',\n },\n 'eslint/no-caller': {\n description: 'Disallow the use of arguments.caller or arguments.callee.',\n },\n 'eslint/no-case-declarations': {\n description: 'Disallow lexical declarations in case clauses.',\n },\n 'eslint/no-class-assign': {\n description: 'Disallow reassigning class variables.',\n },\n 'eslint/no-compare-neg-zero': {\n description: 'Disallow comparing against -0',\n },\n 'eslint/no-cond-assign': {\n description: 'Disallow assignment operators in conditional expressions.',\n },\n 'eslint/no-console': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallow the use of console.',\n },\n 'eslint/no-const-assign': {\n description: 'Disallow reassigning const variables.',\n },\n 'eslint/no-constant-binary-expression': {\n defaultOptions: {\n checkRelationalComparisons: true,\n },\n description: \"Disallow expressions where the operation doesn't affect the value.\",\n },\n 'eslint/no-constant-condition': {\n description: 'Disallow constant expressions in conditions.',\n },\n 'eslint/no-constructor-return': {\n description: 'Disallow returning a value from a constructor.',\n },\n 'eslint/no-continue': {\n description: 'Disallow continue statements.',\n },\n 'eslint/no-control-regex': {\n description:\n 'Disallows control characters and some escape sequences that match control characters in regular expressions.',\n },\n 'eslint/no-debugger': {\n description: 'Checks for usage of the debugger statement.',\n },\n 'eslint/no-delete-var': {\n description: 'The purpose of the delete operator is to remove a property from an object.',\n },\n 'eslint/no-div-regex': {\n description: 'Disallow equal signs explicitly at the beginning of regular expressions.',\n },\n 'eslint/no-dupe-class-members': {\n description: 'Disallow duplicate class members.',\n },\n 'eslint/no-dupe-else-if': {\n description: 'Disallow duplicate conditions in if-else-if chains.',\n },\n 'eslint/no-dupe-keys': {\n description: 'Disallow duplicate keys in object literals.',\n },\n 'eslint/no-duplicate-case': {\n description: 'Disallow duplicate case labels.',\n },\n 'eslint/no-duplicate-imports': {\n defaultOptions: {\n allowSeparateTypeImports: false,\n includeExports: false,\n },\n description: 'Disallow duplicate module imports.',\n },\n 'eslint/no-else-return': {\n defaultOptions: {\n allowElseIf: true,\n },\n description: 'Disallow else blocks after return statements in if statements.',\n },\n 'eslint/no-empty': {\n defaultOptions: {\n allowEmptyCatch: false,\n },\n description: 'Disallows empty block statements.',\n },\n 'eslint/no-empty-character-class': {\n description: 'Disallow empty character classes in regular expressions.',\n },\n 'eslint/no-empty-function': {\n description: 'Disallows the usage of empty functions.',\n },\n 'eslint/no-empty-pattern': {\n defaultOptions: {\n allowObjectPatternsAsParameters: false,\n },\n description: 'Disallow empty destructuring patterns.',\n },\n 'eslint/no-empty-static-block': {\n description: 'Disallow empty static blocks.',\n },\n 'eslint/no-eq-null': {\n description: 'Disallow null comparisons without type-checking operators.',\n },\n 'eslint/no-eval': {\n defaultOptions: {\n allowIndirect: false,\n },\n description:\n 'Disallows referencing the eval function. This rule is aimed at preventing potentially dangerous, unnecessary, and slow code by disallowing the use of the eval() function.',\n },\n 'eslint/no-ex-assign': {\n description: 'Disallow reassigning exceptions in catch clauses.',\n },\n 'eslint/no-extend-native': {\n defaultOptions: {\n exceptions: [],\n },\n description: 'Prevents extending native global objects such as Object, String, or Array with new properties.',\n },\n 'eslint/no-extra-bind': {\n description: 'Disallow unnecessary calls to .bind().',\n },\n 'eslint/no-extra-boolean-cast': {\n defaultOptions: {\n enforceForInnerExpressions: false,\n },\n description: 'This rule disallows unnecessary boolean casts.',\n },\n 'eslint/no-extra-label': {\n description: 'Disallow unnecessary labels.',\n },\n 'eslint/no-fallthrough': {\n defaultOptions: {\n allowEmptyCase: false,\n reportUnusedFallthroughComment: false,\n },\n description: 'Disallow fallthrough of case statements',\n },\n 'eslint/no-func-assign': {\n description: 'Disallow reassigning function declarations.',\n },\n 'eslint/no-global-assign': {\n defaultOptions: {\n exceptions: [],\n },\n description: 'Disallow modifications to read-only global variables.',\n },\n 'eslint/no-implicit-coercion': {\n defaultOptions: {\n boolean: true,\n disallowTemplateShorthand: false,\n number: true,\n string: true,\n },\n description: 'Disallow shorthand type conversions using operators like !!, unary +, and \"\" +.',\n },\n 'eslint/no-implicit-globals': {\n defaultOptions: {\n lexicalBindings: false,\n },\n description:\n 'Disallows declarations in the global scope, global variable leaks, and writes or redeclarations of read-only globals.',\n },\n 'eslint/no-implied-eval': {\n description: 'Disallows passing strings to setTimeout(), setInterval(), and execScript().',\n },\n 'eslint/no-import-assign': {\n description: 'Disallow assigning to imported bindings.',\n },\n 'eslint/no-inline-comments': {\n description: 'Disallows comments on the same line as code.',\n },\n 'eslint/no-inner-declarations': {\n description: 'Disallow variable or function declarations in nested blocks.',\n },\n 'eslint/no-invalid-regexp': {\n defaultOptions: {\n allowConstructorFlags: [],\n },\n description: 'Disallow invalid regular expression strings in RegExp constructors.',\n },\n 'eslint/no-irregular-whitespace': {\n defaultOptions: {\n skipComments: false,\n skipJSXText: true,\n skipRegExps: true,\n skipStrings: true,\n skipTemplates: true,\n },\n description: 'Disallows the use of irregular whitespace characters in the code.',\n },\n 'eslint/no-iterator': {\n description: 'Disallow the use of the __iterator__ property.',\n },\n 'eslint/no-label-var': {\n description: 'Disallow labels that share a name with a variable.',\n },\n 'eslint/no-labels': {\n defaultOptions: {\n allowLoop: false,\n allowSwitch: false,\n },\n description: 'Disallow labeled statements.',\n },\n 'eslint/no-lone-blocks': {\n description: 'Disallows unnecessary standalone block statements.',\n },\n 'eslint/no-lonely-if': {\n description: 'Disallow if statements as the only statement in else blocks.',\n },\n 'eslint/no-loop-func': {\n description:\n 'Disallows function declarations and expressions inside loop statements when they reference variables declared in the outer scope that may change across iterations.',\n },\n 'eslint/no-loss-of-precision': {\n description: 'Disallow precision loss in numeric literals.',\n },\n 'eslint/no-magic-numbers': {\n defaultOptions: {\n detectObjects: false,\n enforceConst: false,\n ignore: [],\n ignoreArrayIndexes: false,\n ignoreClassFieldInitialValues: false,\n ignoreDefaultValues: false,\n ignoreEnums: false,\n ignoreNumericLiteralTypes: false,\n ignoreReadonlyClassProperties: false,\n ignoreTypeIndexes: false,\n },\n description:\n 'This rule aims to make code more readable and refactoring easier by ensuring that special numbers are declared as constants to make their meaning explicit. The current implementation does not support BigInt numbers inside array indexes.',\n },\n 'eslint/no-misleading-character-class': {\n defaultOptions: {\n allowEscape: false,\n },\n description:\n 'This rule reports regular expressions which include multiple code point characters in character class syntax. This includes:',\n },\n 'eslint/no-multi-assign': {\n defaultOptions: {\n ignoreNonDeclaration: false,\n },\n description: 'Disallow use of chained assignment expressions.',\n },\n 'eslint/no-multi-str': {\n description: 'Disallow multiline strings.',\n },\n 'eslint/no-negated-condition': {\n description: 'Disallow negated conditions.',\n },\n 'eslint/no-nested-ternary': {\n description: 'Disallow nested ternary expressions.',\n },\n 'eslint/no-new': {\n description: 'Disallow new operators outside of assignments or comparisons.',\n },\n 'eslint/no-new-func': {\n description: 'Disallow new operators with the Function object.',\n },\n 'eslint/no-new-native-nonconstructor': {\n description: 'Disallow new operators with global non-constructor functions (Symbol, BigInt).',\n },\n 'eslint/no-new-wrappers': {\n description: 'Disallow new operators with the String, Number, and Boolean objects.',\n },\n 'eslint/no-nonoctal-decimal-escape': {\n description: 'Disallow \\\\8 and \\\\9 escape sequences in string literals.',\n },\n 'eslint/no-obj-calls': {\n description: 'Disallow calling some global objects as functions.',\n },\n 'eslint/no-object-constructor': {\n description: 'Disallow calls to the Object constructor without an argument.',\n },\n 'eslint/no-param-reassign': {\n defaultOptions: {\n ignorePropertyModificationsFor: [],\n props: false,\n },\n description: 'Disallow reassigning function parameters or, optionally, their properties.',\n },\n 'eslint/no-plusplus': {\n defaultOptions: {\n allowForLoopAfterthoughts: false,\n },\n description: 'Disallow the unary operators ++ and --.',\n },\n 'eslint/no-promise-executor-return': {\n defaultOptions: {\n allowVoid: false,\n },\n description: 'Disallow returning values from Promise executor functions.',\n },\n 'eslint/no-proto': {\n description: 'Disallow the use of the __proto__ property.',\n },\n 'eslint/no-prototype-builtins': {\n description: 'Disallow calling some Object.prototype methods directly on objects.',\n },\n 'eslint/no-redeclare': {\n defaultOptions: {\n builtinGlobals: true,\n ignoreDeclarationMerge: true,\n },\n description:\n 'This rule disallows redeclaring variables within the same scope, ensuring that each variable is declared only once. It helps avoid confusion and unintended behavior in code.',\n },\n 'eslint/no-regex-spaces': {\n description: 'Disallow 2+ consecutive spaces in regular expressions.',\n },\n 'eslint/no-restricted-exports': {\n defaultOptions: {\n restrictDefaultExports: {\n defaultFrom: false,\n direct: false,\n named: false,\n namedFrom: false,\n namespaceFrom: false,\n },\n restrictedNamedExports: [],\n },\n description: 'This rule disallows specified names from being used as exported names.',\n },\n 'eslint/no-restricted-globals': {\n description: 'Specify global variable names that should not be used in your application.',\n },\n 'eslint/no-restricted-imports': {\n description:\n 'This rule allows you to specify imports that you don’t want to use in your application. It applies to static imports and to dynamic import() with a string-literal source; computed sources like import(bar) are ignored.',\n },\n 'eslint/no-restricted-properties': {\n description: 'This rule allows you to disallow access to certain properties on certain objects.',\n },\n 'eslint/no-return-assign': {\n description: 'Disallows assignment operators in return statements.',\n },\n 'eslint/no-script-url': {\n description: 'Disallow javascript: URLs.',\n },\n 'eslint/no-self-assign': {\n defaultOptions: {\n props: true,\n },\n description: 'Disallow assignments where both sides are exactly the same.',\n },\n 'eslint/no-self-compare': {\n description: 'Disallow comparisons where both sides are exactly the same.',\n },\n 'eslint/no-sequences': {\n defaultOptions: {\n allowInParentheses: true,\n },\n description: 'Disallows the use of the comma operator.',\n },\n 'eslint/no-setter-return': {\n description: 'Setters cannot return values.',\n },\n 'eslint/no-shadow': {\n defaultOptions: {\n allow: [],\n builtinGlobals: false,\n hoist: '\"functions-and-types\"',\n ignoreFunctionTypeParameterNameValueShadow: true,\n ignoreOnInitialization: false,\n ignoreTypeValueShadow: true,\n },\n description: 'Disallows variable declarations from shadowing variables declared in the outer scope.',\n },\n 'eslint/no-shadow-restricted-names': {\n defaultOptions: {\n reportGlobalThis: true,\n },\n description:\n 'Disallows the redefining of global variables such as undefined, NaN, Infinity, eval, globalThis and arguments.',\n },\n 'eslint/no-sparse-arrays': {\n description: 'Disallow sparse arrays.',\n },\n 'eslint/no-template-curly-in-string': {\n description:\n 'Disallow template literal placeholder syntax in regular strings. This rule ensures that expressions like ${variable} are only used within template literals, avoiding incorrect usage in regular strings.',\n },\n 'eslint/no-ternary': {\n description: 'Disallow ternary operators.',\n },\n 'eslint/no-this-before-super': {\n description: 'Requires calling super() before using this or super.',\n },\n 'eslint/no-throw-literal': {\n description: 'Disallows throwing literals or non-Error objects as exceptions.',\n },\n 'eslint/no-unassigned-vars': {\n description: 'Disallow let or var variables that are read but never assigned.',\n },\n 'eslint/no-undef': {\n defaultOptions: {\n typeof: false,\n },\n description: 'Disallow the use of undeclared variables.',\n },\n 'eslint/no-undefined': {\n description: 'Disallow the use of undefined as an identifier.',\n },\n 'eslint/no-underscore-dangle': {\n defaultOptions: {\n allow: [],\n allowAfterSuper: false,\n allowAfterThis: false,\n allowAfterThisConstructor: false,\n allowFunctionParams: true,\n allowInArrayDestructuring: true,\n allowInObjectDestructuring: true,\n allowInUsingDeclarations: false,\n enforceInClassFields: false,\n enforceInMethodNames: false,\n },\n description: 'Disallows dangling underscores in identifiers.',\n },\n 'eslint/no-unexpected-multiline': {\n description:\n 'In most cases, semicolons are not required in JavaScript in order for code to be parsed and executed as expected. Typically this occurs because semicolons are automatically inserted based on a fixed set of rules. This rule exists to detect those cases where a semicolon is NOT inserted automatically, and may be parsed differently than expected.',\n },\n 'eslint/no-unmodified-loop-condition': {\n defaultOptions: {\n checkConditionalExpressions: false,\n },\n description: 'Disallow references in loop conditions that are never modified within the loop.',\n },\n 'eslint/no-unneeded-ternary': {\n defaultOptions: {\n defaultAssignment: true,\n },\n description: 'Disallow ternary operators when simpler alternatives exist.',\n },\n 'eslint/no-unreachable': {\n description: 'Disallow unreachable code after return, throw, continue, and break statements.',\n },\n 'eslint/no-unreachable-loop': {\n description: 'Disallow loops whose body allows only one iteration.',\n },\n 'eslint/no-unsafe-finally': {\n description: 'Disallow control flow statements in finally blocks.',\n },\n 'eslint/no-unsafe-negation': {\n defaultOptions: {\n enforceForOrderingRelations: false,\n },\n description:\n 'Disallows negating the left operand of relational operators to prevent logical errors caused by misunderstanding operator precedence or accidental use of negation.',\n },\n 'eslint/no-unsafe-optional-chaining': {\n defaultOptions: {\n disallowArithmeticOperators: false,\n },\n description: 'Disallow use of optional chaining in contexts where the undefined value is not allowed.',\n },\n 'eslint/no-unused-expressions': {\n defaultOptions: {\n allowShortCircuit: false,\n allowTaggedTemplates: false,\n allowTernary: false,\n enforceForJSX: false,\n ignoreDirectives: false,\n },\n description: 'This rule disallows unused expressions.',\n },\n 'eslint/no-unused-labels': {\n description: 'Disallow unused labels.',\n },\n 'eslint/no-unused-private-class-members': {\n description: 'Disallow unused private class members.',\n },\n 'eslint/no-unused-vars': {\n defaultOptions: {\n ignoreClassWithStaticInitBlock: false,\n ignoreRestSiblings: false,\n ignoreUsingDeclarations: false,\n reportUsedIgnorePattern: false,\n reportVarsOnlyUsedAsTypes: false,\n },\n description: 'Disallows variable declarations, imports, or type declarations that are not used in code.',\n },\n 'eslint/no-use-before-define': {\n defaultOptions: {\n allowNamedExports: false,\n classes: true,\n enums: true,\n functions: true,\n ignoreTypeReferences: true,\n typedefs: true,\n variables: true,\n },\n description: 'Disallows using variables before they are defined.',\n },\n 'eslint/no-useless-assignment': {\n description:\n 'Flags assignments where the newly assigned value is never read afterward (a \"dead store\"). This helps catch wasted work or accidental mistakes.',\n },\n 'eslint/no-useless-backreference': {\n description:\n 'Disallows backreferences in regular expressions that will always be ignored because the capture group they refer to has not matched and cannot match at the time the backreference is evaluated.',\n },\n 'eslint/no-useless-call': {\n description: 'Disallow unnecessary calls to .call() and .apply()',\n },\n 'eslint/no-useless-catch': {\n description: 'Disallow unnecessary catch clauses.',\n },\n 'eslint/no-useless-computed-key': {\n defaultOptions: {\n enforceForClassMembers: true,\n },\n description: 'Disallow unnecessary computed property keys in objects and classes.',\n },\n 'eslint/no-useless-concat': {\n description: 'Disallow unnecessary concatenation of literals or template literals.',\n },\n 'eslint/no-useless-constructor': {\n description: 'Disallow constructors that can be safely removed without changing how the class works.',\n },\n 'eslint/no-useless-escape': {\n defaultOptions: {\n allowRegexCharacters: [],\n },\n description: 'Disallow unnecessary escape characters.',\n },\n 'eslint/no-useless-rename': {\n defaultOptions: {\n ignoreDestructuring: false,\n ignoreExport: false,\n ignoreImport: false,\n },\n description: 'Disallow renaming import, export, and destructured assignments to the same name.',\n },\n 'eslint/no-useless-return': {\n description: 'Disallows redundant return statements.',\n },\n 'eslint/no-var': {\n description:\n 'ECMAScript 2015 allows programmers to create variables with block scope instead of function scope using the let and const keywords. Block scope is common in many other programming languages and helps programmers avoid mistakes.',\n },\n 'eslint/no-void': {\n defaultOptions: {\n allowAsStatement: false,\n },\n description: 'Disallows the use of the void operator.',\n },\n 'eslint/no-warning-comments': {\n defaultOptions: {\n decoration: [],\n location: '\"start\"',\n terms: ['todo', 'fixme', 'xxx'],\n },\n description: 'Disallows warning comments such as TODO, FIXME, XXX in code.',\n },\n 'eslint/no-with': {\n description: 'Disallow with statements.',\n },\n 'eslint/object-shorthand': {\n defaultOptions: {\n 'The 2nd option': {\n avoidExplicitReturnArrows: false,\n avoidQuotes: false,\n ignoreConstructors: false,\n },\n },\n description: 'Require or disallow method and property shorthand syntax for object literals',\n },\n 'eslint/one-var': {\n description: 'Enforces variables to be declared either together or separately.',\n },\n 'eslint/operator-assignment': {\n description:\n 'This rule requires or disallows assignment operator shorthand where possible. It encourages the use of shorthand assignment operators like +=, -=, =, /=, etc. to make the code more concise and readable.',\n },\n 'eslint/prefer-arrow-callback': {\n defaultOptions: {\n allowNamedFunctions: false,\n allowUnboundThis: true,\n },\n description: 'Requires using arrow functions for callbacks.',\n },\n 'eslint/prefer-const': {\n defaultOptions: {\n ignoreReadBeforeAssign: false,\n },\n description: 'Requires const declarations for variables that are never reassigned after their initial declaration.',\n },\n 'eslint/prefer-destructuring': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForDeclarationWithTypeAnnotation: false,\n enforceForRenamedProperties: false,\n },\n },\n description: 'Require destructuring from arrays and/or objects.',\n },\n 'eslint/prefer-exponentiation-operator': {\n description: 'Disallow the use of Math.pow in favor of the operator.',\n },\n 'eslint/prefer-named-capture-group': {\n description: 'Enforces the use of named capture groups in regular expressions.',\n },\n 'eslint/prefer-numeric-literals': {\n description: 'Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.',\n },\n 'eslint/prefer-object-has-own': {\n description: 'Disallow use of Object.prototype.hasOwnProperty.call() and prefer use of Object.hasOwn()',\n },\n 'eslint/prefer-object-spread': {\n description:\n 'Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead.',\n },\n 'eslint/prefer-promise-reject-errors': {\n defaultOptions: {\n allowEmptyReject: false,\n },\n description: 'Require using Error objects as Promise rejection reasons.',\n },\n 'eslint/prefer-regex-literals': {\n defaultOptions: {\n disallowRedundantWrapping: false,\n },\n description: 'Disallow use of the RegExp constructor in favor of regular expression literals.',\n },\n 'eslint/prefer-rest-params': {\n description: 'Disallows the use of the arguments object and instead enforces the use of rest parameters.',\n },\n 'eslint/prefer-spread': {\n description: 'Require spread operators instead of .apply()',\n },\n 'eslint/prefer-template': {\n description: 'Require template literals instead of string concatenation.',\n },\n 'eslint/preserve-caught-error': {\n defaultOptions: {\n requireCatchParameter: false,\n },\n description:\n \"Enforces that when re-throwing an error in a catch block, the original error is preserved using the 'cause' property.\",\n },\n 'eslint/radix': {\n description:\n 'Enforce the consistent use of the radix argument when using parseInt(), which specifies what base to use for parsing the number.',\n },\n 'eslint/require-await': {\n description: 'Disallow async functions which have no await expression.',\n },\n 'eslint/require-unicode-regexp': {\n defaultOptions: {\n requireFlag: null,\n },\n description: 'Enforce the use of u or v flag on regular expressions.',\n },\n 'eslint/require-yield': {\n description: 'This rule generates warnings for generator functions that do not have the yield keyword.',\n },\n 'eslint/sort-imports': {\n defaultOptions: {\n allowSeparatedGroups: false,\n ignoreCase: false,\n ignoreDeclarationSort: false,\n ignoreMemberSort: false,\n memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],\n },\n description:\n 'This rule checks all import declarations and verifies that all imports are first sorted by the used member syntax and then alphabetically by the first member or alias name.',\n },\n 'eslint/sort-keys': {\n defaultOptions: {\n 'The 2nd option': {\n allowLineSeparatedGroups: false,\n caseSensitive: true,\n minKeys: 2,\n natural: false,\n },\n },\n description:\n 'When declaring multiple properties, sorting property names alphabetically makes it easier to find and/or diff necessary properties at a later time.',\n },\n 'eslint/sort-vars': {\n defaultOptions: {\n ignoreCase: false,\n },\n description: 'Enforce sorting of variable declarations within the same block.',\n },\n 'eslint/symbol-description': {\n description: 'Require symbol descriptions.',\n },\n 'eslint/unicode-bom': {\n description: 'Require or disallow Unicode byte order mark (BOM)',\n },\n 'eslint/use-isnan': {\n defaultOptions: {\n enforceForIndexOf: false,\n enforceForSwitchCase: true,\n },\n description: 'Disallows checking against NaN without using isNaN() call.',\n },\n 'eslint/valid-typeof': {\n defaultOptions: {\n requireStringLiterals: false,\n },\n description: 'Enforce comparing typeof expressions against valid strings.',\n },\n 'eslint/vars-on-top': {\n description: 'Enforces that all var declarations are placed at the top of their containing scope.',\n },\n 'eslint/yoda': {\n defaultOptions: {\n 'The 2nd option': {\n exceptRange: false,\n onlyEquality: false,\n },\n },\n description:\n 'Require or disallow \"Yoda\" conditions. This rule aims to enforce consistent style of conditions which compare a variable to a literal value.',\n },\n 'import/consistent-type-specifier-style': {\n description: 'Enforces or bans the use of inline type-only markers for named imports.',\n },\n 'import/default': {\n description:\n 'If a default import is requested, this rule will report if there is no default export in the imported module.',\n },\n 'import/export': {\n description: 'Reports funny business with exports, like repeated exports of names or defaults.',\n },\n 'import/exports-last': {\n description:\n 'This rule enforces that all exports are declared at the bottom of the file. This rule will report any export declarations that comes before any non-export statements.',\n },\n 'import/extensions': {\n defaultOptions: {\n 'The 2nd option': {\n checkTypeImports: false,\n ignorePackages: false,\n },\n },\n description:\n 'Some file resolve algorithms allow you to omit the file extension within the import source path. For example the node resolver (which does not yet support ESM/import) can resolve ./foo/bar to the absolute path /User/someone/foo/bar.js because the .js extension is resolved automatically by default in CJS. Depending on the resolver you can configure more extensions to get resolved automatically. In order to provide a consistent use of file extensions across your code base, this rule can enforce or disallow the use of certain file extensions.',\n },\n 'import/first': {\n description: 'Forbids any non-import statements before imports except directives.',\n },\n 'import/group-exports': {\n description:\n 'Reports when named exports are not grouped together in a single export declaration or when multiple assignments to CommonJS module.exports or exports object are present in a single file.',\n },\n 'import/max-dependencies': {\n defaultOptions: {\n ignoreTypeImports: false,\n max: 10,\n },\n description: 'Forbid modules to have too many dependencies (import statements only).',\n },\n 'import/named': {\n description: 'Verifies that all named imports are part of the set of named exports in the referenced module.',\n },\n 'import/namespace': {\n defaultOptions: {\n allowComputed: false,\n },\n description:\n 'Enforces names exist at the time they are dereferenced, when imported as a full namespace (i.e. import as foo from \\'./foo\\'; foo.bar(); will report if bar is not exported by ./foo.). Will report at the import declaration if there are no exported names found. Also, will report for computed references (i.e. foo\"bar\"). Reports on assignment to a member of an imported namespace.',\n },\n 'import/newline-after-import': {\n defaultOptions: {\n considerComments: false,\n count: 1,\n exactCount: false,\n },\n description: 'Enforces having one or more empty lines after the last top-level import statement or require call.',\n },\n 'import/no-absolute-path': {\n defaultOptions: {\n amd: false,\n commonjs: true,\n esmodule: true,\n },\n description: 'Forbid the import of modules using absolute paths.',\n },\n 'import/no-amd': {\n description: 'Forbids the use of AMD require and define calls.',\n },\n 'import/no-anonymous-default-export': {\n defaultOptions: {\n allowAnonymousClass: false,\n allowAnonymousFunction: false,\n allowArray: false,\n allowArrowFunction: false,\n allowCallExpression: true,\n allowLiteral: false,\n allowNew: false,\n allowObject: false,\n },\n description:\n \"Reports if a module's default export is unnamed. This includes several types of unnamed data types; literals, object expressions, arrays, anonymous functions, arrow functions, and anonymous class declarations.\",\n },\n 'import/no-commonjs': {\n defaultOptions: {\n allowConditionalRequire: true,\n allowPrimitiveModules: false,\n allowRequire: false,\n },\n description: 'Forbids the use of CommonJS require calls. Also forbids module.exports and exports..',\n },\n 'import/no-cycle': {\n defaultOptions: {\n allowUnsafeDynamicCyclicDependency: false,\n ignoreExternal: false,\n ignoreTypes: true,\n maxDepth: 'Infinity',\n },\n description:\n 'Disallow cyclic dependencies. The rule ensures that there is no resolvable path back to this module via its dependencies.',\n },\n 'import/no-default-export': {\n description: 'Disallow modules from having default exports.',\n },\n 'import/no-duplicates': {\n defaultOptions: {\n considerQueryString: false,\n preferInline: false,\n },\n description:\n 'Reports if a resolved path is imported more than once in the same module. Imports with different import attributes are treated as distinct modules. This helps avoid unnecessary duplicate imports and keeps the code clean.',\n },\n 'import/no-dynamic-require': {\n defaultOptions: {\n esmodule: false,\n },\n description:\n 'Forbids imports that use an expression for the module argument. This includes dynamically resolved paths in require or import statements.',\n },\n 'import/no-empty-named-blocks': {\n description: 'Enforces that named import blocks are not empty.',\n },\n 'import/no-mutable-exports': {\n description: 'Forbids the use of mutable exports with var or let.',\n },\n 'import/no-named-as-default': {\n description:\n 'Reports use of an exported name as the locally imported name of a default export. This happens when an imported default export is assigned a name that conflicts with a named export from the same module.',\n },\n 'import/no-named-as-default-member': {\n description:\n 'Reports the use of an exported name (named export) as a property on the default export. This occurs when trying to access a named export through the default export, which is incorrect.',\n },\n 'import/no-named-default': {\n description: 'Reports use of a default export as a locally named import.',\n },\n 'import/no-named-export': {\n description: 'Prohibit named exports.',\n },\n 'import/no-namespace': {\n defaultOptions: {\n ignore: [],\n },\n description: 'Enforce a convention of not using namespaced (a.k.a. \"wildcard\" \\\\) imports.',\n },\n 'import/no-nodejs-modules': {\n description:\n 'Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules.',\n },\n 'import/no-relative-parent-imports': {\n description: 'Forbids importing modules from parent directories using relative paths.',\n },\n 'import/no-self-import': {\n description:\n 'Forbids a module from importing itself. This can sometimes happen accidentally, especially during refactoring.',\n },\n 'import/no-unassigned-import': {\n defaultOptions: {\n allow: [],\n },\n description:\n 'This rule aims to remove modules with side-effects by reporting when a module is imported but not assigned.',\n },\n 'import/no-webpack-loader-syntax': {\n description: 'Forbids using Webpack loader syntax directly in import or require statements.',\n },\n 'import/prefer-default-export': {\n defaultOptions: {\n target: '\"single\"',\n },\n description: 'Checks whether there is a default export.',\n },\n 'import/unambiguous': {\n description: 'Warn if a module could be mistakenly parsed as a script instead of as a pure ES module.',\n },\n 'jest/consistent-test-it': {\n defaultOptions: {\n fn: '\"test\"',\n withinDescribe: '\"it\"',\n },\n description:\n 'Jest allows you to choose how you want to define your tests, using the it or the test keywords, with multiple permutations for each:',\n },\n 'jest/expect-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description:\n 'This rule triggers when there is no call made to expect in a test, ensure that there is at least one expect call made in a test.',\n },\n 'jest/max-expects': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum number of expect() calls in a single test.',\n },\n 'jest/max-nested-describe': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum depth to nested describe() calls.',\n },\n 'jest/no-alias-methods': {\n description: \"Enforces Jest's canonical matcher names instead of aliases.\",\n },\n 'jest/no-commented-out-tests': {\n description: \"This rule raises a warning about commented-out tests. It's similar to the no-disabled-tests rule.\",\n },\n 'jest/no-conditional-expect': {\n description:\n 'This rule prevents the use of expect in conditional blocks, such as if and catch. This includes using expect in callbacks to functions named catch, which are assumed to be promises.',\n },\n 'jest/no-conditional-in-test': {\n description: 'Disallow conditional statements in tests.',\n },\n 'jest/no-confusing-set-timeout': {\n description: 'Disallow confusing usages of jest.setTimeout.',\n },\n 'jest/no-deprecated-functions': {\n defaultOptions: {\n jest: {\n version: '\"29\"',\n },\n },\n description:\n 'Over the years Jest has accrued some debt in the form of functions that have either been renamed for clarity, or replaced with more powerful APIs.',\n },\n 'jest/no-disabled-tests': {\n description: 'This rule raises a warning about disabled tests.',\n },\n 'jest/no-done-callback': {\n description:\n 'This rule checks the function parameter of hooks & tests for use of the done argument, suggesting you return a promise instead.',\n },\n 'jest/no-duplicate-hooks': {\n description: 'Disallows duplicate hooks in describe blocks.',\n },\n 'jest/no-export': {\n description: 'Prevents using exports if a file has one or more tests in it.',\n },\n 'jest/no-focused-tests': {\n description:\n 'This rule reminds you to remove .only from your tests by raising a warning whenever you are using the exclusivity feature.',\n },\n 'jest/no-hooks': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallows Jest setup and teardown hooks, such as beforeAll.',\n },\n 'jest/no-identical-title': {\n description:\n 'This rule looks at the title of every test and test suite. It will report when two test suites or two test cases at the same level of a test suite have the same title.',\n },\n 'jest/no-interpolation-in-snapshots': {\n description: 'Prevents the use of string interpolations in snapshots.',\n },\n 'jest/no-jasmine-globals': {\n description:\n \"This rule reports on any usage of Jasmine globals, which are not ported to Jest, and suggests alternatives from Jest's own API.\",\n },\n 'jest/no-large-snapshots': {\n defaultOptions: {\n allowedSnapshots: {},\n inlineMaxSize: null,\n maxSize: 50,\n },\n description: 'Disallow large snapshots.',\n },\n 'jest/no-mocks-import': {\n description: 'This rule reports imports from a path containing a __mocks__ component.',\n },\n 'jest/no-restricted-jest-methods': {\n description: 'Restrict the use of specific jest and vi methods.',\n },\n 'jest/no-restricted-matchers': {\n description: 'Ban specific matchers & modifiers from being used, and can suggest alternatives.',\n },\n 'jest/no-standalone-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n },\n description:\n 'Prevents expect statements outside of a test or it block. An expect within a helper function (but outside of a test or it block) will not trigger this rule.',\n },\n 'jest/no-test-prefixes': {\n description: 'Require using .only and .skip over f and x.',\n },\n 'jest/no-test-return-statement': {\n description: 'Disallow explicitly returning from tests.',\n },\n 'jest/no-unneeded-async-expect-function': {\n description: 'Disallows unnecessary async function wrapper for expected promises.',\n },\n 'jest/no-untyped-mock-factory': {\n description:\n 'This rule triggers a warning if mock() or doMock() is used without a generic type parameter or return type.',\n },\n 'jest/padding-around-after-all-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more afterAll statements.',\n },\n 'jest/padding-around-test-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more test/it statements.',\n },\n 'jest/prefer-called-with': {\n description: 'Suggest using toBeCalledWith() or toHaveBeenCalledWith()',\n },\n 'jest/prefer-comparison-matcher': {\n description:\n 'This rule checks for comparisons in tests that could be replaced with one of the following built-in comparison matchers:',\n },\n 'jest/prefer-each': {\n description: 'This rule enforces using each rather than manual loops.',\n },\n 'jest/prefer-ending-with-an-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description: 'Enforces that test blocks end with an assertion (expect or a configured assertion function).',\n },\n 'jest/prefer-equality-matcher': {\n description:\n 'Jest has built-in matchers for expecting equality, which allow for more readable tests and error messages if an expectation fails.',\n },\n 'jest/prefer-expect-assertions': {\n defaultOptions: {\n onlyFunctionsWithAsyncKeyword: false,\n onlyFunctionsWithExpectInCallback: false,\n onlyFunctionsWithExpectInLoop: false,\n },\n description:\n 'Enforces that every test has either expect.assertions(<number>) or expect.hasAssertions() as its first expression.',\n },\n 'jest/prefer-expect-resolves': {\n description: 'Prefer await expect(...).resolves over expect(await ...) when testing promises.',\n },\n 'jest/prefer-hooks-in-order': {\n description: 'Ensures that hooks are in the order that they are called in.',\n },\n 'jest/prefer-hooks-on-top': {\n description:\n \"While hooks can be setup anywhere in a test file, they are always called in a specific order, which means it can be confusing if they're intermixed with test cases.\",\n },\n 'jest/prefer-importing-jest-globals': {\n defaultOptions: {\n types: ['hook', 'describe', 'test', 'expect', 'jest', 'unknown'],\n },\n description:\n 'Prefer importing Jest globals (describe, test, expect, etc.) from @jest/globals rather than relying on ambient globals.',\n },\n 'jest/prefer-jest-mocked': {\n description:\n \"When working with mocks of functions using Jest, it's recommended to use the jest.mocked() helper function to properly type the mocked functions. This rule enforces the use of jest.mocked() for better type safety and readability.\",\n },\n 'jest/prefer-lowercase-title': {\n defaultOptions: {\n allowedPrefixes: [],\n ignore: [],\n ignoreTopLevelDescribe: false,\n lowercaseFirstCharacterOnly: true,\n },\n description:\n 'Enforce it, test, describe, and bench to have descriptions that begin with a lowercase letter. This provides more readable test failures.',\n },\n 'jest/prefer-mock-promise-shorthand': {\n description:\n 'When working with mocks of functions that return promises, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write. These methods should be preferred when possible.',\n },\n 'jest/prefer-mock-return-shorthand': {\n description:\n 'When working with mocks of functions that return simple values, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write.',\n },\n 'jest/prefer-snapshot-hint': {\n description:\n 'Enforces including a hint string with snapshot matchers (toMatchSnapshot and toThrowErrorMatchingSnapshot).',\n },\n 'jest/prefer-spy-on': {\n description:\n 'When mocking a function by overwriting a property you have to manually restore the original implementation when cleaning up. When using jest.spyOn() Jest keeps track of changes, and they can be restored with jest.restoreAllMocks(), mockFn.mockRestore() or by setting restoreMocks to true in the Jest config.',\n },\n 'jest/prefer-strict-equal': {\n description: 'This rule triggers a warning if toEqual() is used to assert equality.',\n },\n 'jest/prefer-to-be': {\n description:\n 'Recommends using toBe matcher for primitive literals and specific matchers for null, undefined, and NaN.',\n },\n 'jest/prefer-to-contain': {\n description:\n 'In order to have a better failure message, toContain() should be used upon asserting expectations on an array containing an object.',\n },\n 'jest/prefer-to-have-been-called': {\n description:\n 'Suggests using toHaveBeenCalled() or not.toHaveBeenCalled() over toHaveBeenCalledTimes(0) or toBeCalledTimes(0).',\n },\n 'jest/prefer-to-have-been-called-times': {\n description:\n 'In order to have a better failure message, [toHaveBeenCalledTimes should be used instead of directly checking the length of mock.calls](https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md).',\n },\n 'jest/prefer-to-have-length': {\n description:\n 'In order to have a better failure message, toHaveLength() should be used upon asserting expectations on objects length property.',\n },\n 'jest/prefer-todo': {\n description:\n 'When test cases are empty then it is better to mark them as test.todo as it will be highlighted in the summary output.',\n },\n 'jest/require-hook': {\n defaultOptions: {\n allowedFunctionCalls: [],\n },\n description:\n 'This rule flags any expression that is either at the toplevel of a test file or directly within the body of a describe, except for the following:',\n },\n 'jest/require-to-throw-message': {\n description: 'This rule triggers a warning if toThrow() or toThrowError() is used without an error message.',\n },\n 'jest/require-top-level-describe': {\n defaultOptions: {\n maxNumberOfTopLevelDescribes: 'Infinity',\n },\n description: 'Requires test cases and hooks to be inside a top-level describe block.',\n },\n 'jest/valid-describe-callback': {\n description:\n 'This rule validates that the second parameter of a describe() function is a callback function. This callback function:',\n },\n 'jest/valid-expect': {\n defaultOptions: {\n alwaysAwait: false,\n asyncMatchers: ['toResolve', 'toReject'],\n maxArgs: 1,\n minArgs: 1,\n },\n description: 'Checks that expect() is called correctly.',\n },\n 'jest/valid-expect-in-promise': {\n description:\n 'Ensures that expect calls inside promise chains (.then(), .catch(), .finally()) are properly awaited or returned from the test.',\n },\n 'jest/valid-title': {\n description: 'Checks that the titles of Jest and Vitest blocks are valid.',\n },\n 'jsdoc/check-access': {\n description: 'Checks that @access tags use one of the following values:',\n },\n 'jsdoc/check-property-names': {\n description:\n 'Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots.',\n },\n 'jsdoc/check-tag-names': {\n defaultOptions: {\n definedTags: [],\n jsxTags: false,\n typed: false,\n },\n description:\n 'Reports invalid block tag names. Additionally checks for tag names that are redundant when using a type checker such as TypeScript.',\n },\n 'jsdoc/empty-tags': {\n defaultOptions: {\n tags: [],\n },\n description: 'Expects the following tags to be empty of any content:',\n },\n 'jsdoc/implements-on-classes': {\n description: 'Reports an issue with any non-constructor function using @implements.',\n },\n 'jsdoc/no-blank-blocks': {\n defaultOptions: {\n enableFixer: false,\n },\n description: 'Reports and optionally removes blocks with whitespace only.',\n },\n 'jsdoc/no-defaults': {\n defaultOptions: {\n noOptionalParamNames: false,\n },\n description:\n 'This rule reports defaults being used on the relevant portion of @param or @default. It also optionally reports the presence of the square-bracketed optional arguments at all.',\n },\n 'jsdoc/require-param': {\n defaultOptions: {\n checkConstructors: false,\n checkDestructured: true,\n checkDestructuredRoots: true,\n checkGetters: true,\n checkRestProperty: false,\n checkSetters: true,\n checkTypesPattern: '\"^(?:[oO]bject|[aA]rray|PlainObject|Generic(?:Object|Array))$\"',\n exemptedBy: ['inheritdoc'],\n ignoreWhenAllParamsMissing: false,\n interfaceExemptsParamsCheck: false,\n useDefaultObjectProperties: false,\n },\n description: 'Requires that all function parameters are documented with JSDoc @param tags.',\n },\n 'jsdoc/require-param-description': {\n defaultOptions: {\n defaultDestructuredRootDescription: '\"The root object\"',\n setDefaultDestructuredRootDescription: false,\n },\n description: 'Requires that each @param tag has a description value.',\n },\n 'jsdoc/require-param-name': {\n description: 'Requires that all @param tags have names.',\n },\n 'jsdoc/require-param-type': {\n defaultOptions: {\n defaultDestructuredRootType: '\"object\"',\n setDefaultDestructuredRootType: false,\n },\n description: 'Requires that each @param tag has a type value (within curly brackets).',\n },\n 'jsdoc/require-property': {\n description:\n 'Requires that all @typedef and @namespace tags have @property tags when their type is a plain object, Object, or PlainObject.',\n },\n 'jsdoc/require-property-description': {\n description: 'Requires that all @property tags have descriptions.',\n },\n 'jsdoc/require-property-name': {\n description: 'Requires that all @property tags have names.',\n },\n 'jsdoc/require-property-type': {\n description: 'Requires that each @property tag has a type value (within curly brackets).',\n },\n 'jsdoc/require-returns': {\n defaultOptions: {\n checkConstructors: false,\n checkGetters: true,\n exemptedBy: ['inheritdoc'],\n forceRequireReturn: false,\n forceReturnsWithAsync: false,\n },\n description:\n 'Requires that return statements are documented. Will also report if multiple @returns tags are present.',\n },\n 'jsdoc/require-returns-description': {\n description:\n 'Requires that the @returns tag has a description value. The error will not be reported if the return value is void or undefined or if it is Promise<void> or Promise<undefined>.',\n },\n 'jsdoc/require-returns-type': {\n description: 'Requires that the @returns tag has a type value (in curly brackets).',\n },\n 'jsdoc/require-throws-description': {\n description: 'Requires a description for @throws tags.',\n },\n 'jsdoc/require-throws-type': {\n description: 'Requires a type on the @throws tag.',\n },\n 'jsdoc/require-yields': {\n defaultOptions: {\n exemptedBy: ['inheritdoc'],\n forceRequireYields: false,\n withGeneratorTag: false,\n },\n description: 'Requires that yields are documented. Will also report if multiple @yields tags are present.',\n },\n 'jsdoc/require-yields-description': {\n description: 'Requires a description for @yields tags.',\n },\n 'jsdoc/require-yields-type': {\n description: 'Requires a type on the @yields tag.',\n },\n 'jsx-a11y/alt-text': {\n defaultOptions: {\n area: [],\n img: [],\n 'input\\\\[type=\"image\"]': [],\n object: [],\n },\n description:\n 'Enforce that all elements that require alternative text have meaningful information to relay back to the end user.',\n },\n 'jsx-a11y/anchor-ambiguous-text': {\n defaultOptions: {\n words: ['click here', 'here', 'link', 'a link', 'learn more'],\n },\n description: 'Inspects anchor link text for the use of ambiguous words.',\n },\n 'jsx-a11y/anchor-has-content': {\n defaultOptions: {\n components: [],\n },\n description:\n 'Enforce that anchors have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.',\n },\n 'jsx-a11y/anchor-is-valid': {\n defaultOptions: {\n components: [],\n specialLink: [],\n },\n description:\n 'The HTML <a> element, with a valid href attribute, is formally defined as representing a hyperlink. That is, a link between one HTML document and another, or between one location inside an HTML document and another location inside the same document.',\n },\n 'jsx-a11y/aria-activedescendant-has-tabindex': {\n description: 'Enforce elements with aria-activedescendant are tabbable.',\n },\n 'jsx-a11y/aria-props': {\n description: 'Enforces that elements do not use invalid ARIA attributes.',\n },\n 'jsx-a11y/aria-proptypes': {\n description: 'Enforces that elements do not use invalid ARIA state and property values.',\n },\n 'jsx-a11y/aria-role': {\n defaultOptions: {\n allowedInvalidRoles: [],\n ignoreNonDOM: false,\n },\n description:\n 'Elements with ARIA roles must use a valid, non-abstract ARIA role. A reference to role definitions can be found at WAI-ARIA site.',\n },\n 'jsx-a11y/aria-unsupported-elements': {\n description: 'Enforces that reserved DOM elements do not contain ARIA roles, states, or properties.',\n },\n 'jsx-a11y/autocomplete-valid': {\n defaultOptions: {\n inputComponents: ['input'],\n },\n description: \"Enforces that an element's autocomplete attribute must be a valid value.\",\n },\n 'jsx-a11y/click-events-have-key-events': {\n description: 'Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.',\n },\n 'jsx-a11y/control-has-associated-label': {\n defaultOptions: {\n controlComponents: [],\n depth: 2,\n ignoreElements: ['audio', 'canvas', 'embed', 'input', 'textarea', 'tr', 'video'],\n ignoreRoles: [\n 'grid',\n 'listbox',\n 'menu',\n 'menubar',\n 'radiogroup',\n 'row',\n 'tablist',\n 'toolbar',\n 'tree',\n 'treegrid',\n ],\n labelAttributes: [],\n },\n description: 'Enforce that a control (an interactive element) has a text label.',\n },\n 'jsx-a11y/heading-has-content': {\n defaultOptions: {\n components: null,\n },\n description:\n 'Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.',\n },\n 'jsx-a11y/html-has-lang': {\n description: 'Ensures that every HTML document has a lang attribute.',\n },\n 'jsx-a11y/iframe-has-title': {\n description: 'Enforce iframe elements have a title attribute.',\n },\n 'jsx-a11y/img-redundant-alt': {\n defaultOptions: {\n components: ['img'],\n words: ['image', 'photo', 'picture'],\n },\n description: 'Enforce that img alt attributes do not contain redundant words like \"image\", \"picture\", or \"photo\".',\n },\n 'jsx-a11y/interactive-supports-focus': {\n defaultOptions: {\n tabbable: ['button', 'checkbox', 'link', 'searchbox', 'spinbutton', 'switch', 'textbox'],\n },\n description:\n 'Enforce that elements with interactive roles and interaction handlers (mouse or key press) must be focusable.',\n },\n 'jsx-a11y/label-has-associated-control': {\n defaultOptions: {\n assert: '\"either\"',\n controlComponents: [],\n depth: 2,\n labelAttributes: ['alt', 'aria-label', 'aria-labelledby'],\n labelComponents: ['label'],\n },\n description: 'Enforce that a label tag has a text label and an associated control.',\n },\n 'jsx-a11y/lang': {\n description: 'The lang prop on the <html> element must be a valid IETF BCP 47 language tag.',\n },\n 'jsx-a11y/media-has-caption': {\n defaultOptions: {\n audio: ['audio'],\n track: ['track'],\n video: ['video'],\n },\n description:\n 'Checks if <audio> and <video> elements have a <track> element for captions. This ensures media content is accessible to all users, including those with hearing impairments.',\n },\n 'jsx-a11y/mouse-events-have-key-events': {\n defaultOptions: {\n hoverInHandlers: ['onMouseOver'],\n hoverOutHandlers: ['onMouseOut'],\n },\n description: 'Enforce onMouseOver/onMouseOut are accompanied by onFocus/onBlur.',\n },\n 'jsx-a11y/no-access-key': {\n description:\n 'Enforces that the accessKey prop is not used on any element to avoid complications with keyboard commands used by a screen reader.',\n },\n 'jsx-a11y/no-aria-hidden-on-focusable': {\n description: 'Enforces that aria-hidden=\"true\" is not set on focusable elements.',\n },\n 'jsx-a11y/no-autofocus': {\n defaultOptions: {\n ignoreNonDOM: false,\n },\n description: 'Enforce that autoFocus prop is not used on elements.',\n },\n 'jsx-a11y/no-distracting-elements': {\n description: 'Enforces that no distracting elements are used.',\n },\n 'jsx-a11y/no-interactive-element-to-noninteractive-role': {\n description:\n 'Interactive HTML elements indicate controls in the user interface. Interactive elements include <a href>, <button>, <input>, <select>, <textarea>.',\n },\n 'jsx-a11y/no-noninteractive-element-interactions': {\n defaultOptions: {\n handlers: [\n 'onError',\n 'onLoad',\n 'onKeyPress',\n 'onKeyDown',\n 'onKeyUp',\n 'onFocus',\n 'onBlur',\n 'onClick',\n 'onContextMenu',\n 'onDblClick',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n ],\n },\n description:\n 'Prevents non-interactive HTML elements and elements with non-interactive ARIA roles from being assigned mouse or keyboard event handlers.',\n },\n 'jsx-a11y/no-noninteractive-element-to-interactive-role': {\n description:\n 'Non-interactive HTML elements indicate content and containers in the user interface. Non-interactive elements include <main>, <area>, <h1> (through <h6>), <p>, <img>, <li>, <ul>, and <ol>.',\n },\n 'jsx-a11y/no-noninteractive-tabindex': {\n defaultOptions: {\n allowExpressionValues: true,\n roles: ['tabpanel'],\n tags: [],\n },\n description:\n \"This rule checks that non-interactive elements don't have a tabIndex which would make them interactive via keyboard navigation.\",\n },\n 'jsx-a11y/no-redundant-roles': {\n description:\n \"Enforces that code does not include a redundant role property, in the case that it's identical to the implicit role property of the element type.\",\n },\n 'jsx-a11y/no-static-element-interactions': {\n defaultOptions: {\n allowExpressionValues: false,\n handlers: null,\n },\n description: 'Enforces that static HTML elements with event handlers must have appropriate ARIA roles.',\n },\n 'jsx-a11y/prefer-tag-over-role': {\n description: 'Enforces using semantic HTML tags over role attribute.',\n },\n 'jsx-a11y/role-has-required-aria-props': {\n description: 'Enforces that elements with ARIA roles must have all required attributes for that role.',\n },\n 'jsx-a11y/role-supports-aria-props': {\n description:\n 'Enforce that elements with explicit or implicit roles defined contain only aria- properties supported by that role. Many ARIA attributes (states and properties) can only be used on elements with particular roles. Some elements have implicit roles, such as <a href=\"#\" />, which will resolve to role=\"link\".',\n },\n 'jsx-a11y/scope': {\n description: 'The scope prop should be used only on <th> elements.',\n },\n 'jsx-a11y/tabindex-no-positive': {\n description: 'Enforces that positive values for the tabIndex attribute are not used in JSX.',\n },\n 'nextjs/google-font-display': {\n description: 'Enforce font-display behavior with Google Fonts.',\n },\n 'nextjs/google-font-preconnect': {\n description: 'Enforces the presence of rel=\"preconnect\" when using Google Fonts via <link> tags.',\n },\n 'nextjs/inline-script-id': {\n description:\n 'Enforces that all next/script components with inline content or dangerouslySetInnerHTML must have an id prop.',\n },\n 'nextjs/next-script-for-ga': {\n description:\n 'Enforces the use of the next/script component when implementing Google Analytics in Next.js applications, instead of using regular <script> tags.',\n },\n 'nextjs/no-assign-module-variable': {\n description: 'Prevents the assignment or declaration of variables named module in Next.js applications.',\n },\n 'nextjs/no-async-client-component': {\n description:\n 'Prevents the use of async functions for client components in Next.js applications. This rule checks for any async function that:',\n },\n 'nextjs/no-before-interactive-script-outside-document': {\n description:\n \"Prevents the usage of next/script's beforeInteractive strategy outside of pages/_document.js. This rule ensures that scripts with the beforeInteractive loading strategy are only used in the document component where they are most effective.\",\n },\n 'nextjs/no-css-tags': {\n description:\n 'Prevents manual inclusion of stylesheets using <link> tags in Next.js applications. This rule checks for <link> tags with rel=\"stylesheet\" that reference local CSS files.',\n },\n 'nextjs/no-document-import-in-page': {\n description: 'Prevent importing next/document outside of pages/_document.js.',\n },\n 'nextjs/no-duplicate-head': {\n description: 'Prevent duplicate usage of <Head> in pages/_document.js.',\n },\n 'nextjs/no-head-element': {\n description: 'Prevents the usage of the native <head> element inside a Next.js application.',\n },\n 'nextjs/no-head-import-in-document': {\n description: 'Prevents the usage of next/head inside a Next.js document.',\n },\n 'nextjs/no-html-link-for-pages': {\n description: 'Prevents the usage of <a> elements to navigate between Next.js pages.',\n },\n 'nextjs/no-img-element': {\n description: 'Prevent the usage of the <img> element due to slower LCP and higher bandwidth.',\n },\n 'nextjs/no-page-custom-font': {\n description: 'Prevent page-only custom fonts.',\n },\n 'nextjs/no-script-component-in-head': {\n description: 'Prevent usage of next/script in next/head component.',\n },\n 'nextjs/no-styled-jsx-in-document': {\n description: 'Prevent usage of styled-jsx in pages/_document.js.',\n },\n 'nextjs/no-sync-scripts': {\n description:\n 'Prevent the use of synchronous <script> tags in Next.js applications. Require any <script> tag with a src attribute to also have either the async or defer attribute.',\n },\n 'nextjs/no-title-in-document-head': {\n description: 'Prevent usage of <title> with Head component from next/document.',\n },\n 'nextjs/no-typos': {\n description: 'Detects common typos in Next.js data fetching function names.',\n },\n 'nextjs/no-unwanted-polyfillio': {\n description: 'Prevent use of unsafe polyfill.io domains and duplicate polyfills.',\n },\n 'node/callback-return': {\n description: 'Require return statements after callbacks.',\n },\n 'node/exports-style': {\n defaultOptions: {\n 'The 2nd option': {\n allowBatchAssign: false,\n },\n },\n description: 'Enforce either module.exports or exports.',\n },\n 'node/global-require': {\n description: 'Require require() calls to be placed at top-level module scope.',\n },\n 'node/handle-callback-err': {\n description: \"This rule expects that when you're using the callback pattern in Node.js you'll handle the error.\",\n },\n 'node/no-exports-assign': {\n description: 'Disallows assignment to exports.',\n },\n 'node/no-mixed-requires': {\n defaultOptions: {\n allowCall: false,\n grouping: false,\n },\n description: 'Disallows require calls to be mixed with regular variable declarations.',\n },\n 'node/no-new-require': {\n description: 'Warn about calling new on require.',\n },\n 'node/no-path-concat': {\n description: 'Disallows string concatenation with __dirname and __filename.',\n },\n 'node/no-process-env': {\n defaultOptions: {\n allowedVariables: [],\n },\n description: 'Disallows use of process.env.',\n },\n 'node/no-sync': {\n defaultOptions: {\n allowAtRootLevel: false,\n ignores: [],\n },\n description: 'Disallows synchronous methods from being called in Node.js code.',\n },\n 'node/no-top-level-await': {\n defaultOptions: {\n ignoreBin: false,\n },\n description:\n 'Disallows the use of top-level await, including for await...of loops and await using declarations that are not nested inside a function.',\n },\n 'oxc/approx-constant': {\n description:\n 'Disallows the use of approximate constants, instead preferring the use of the constants in the Math object.',\n },\n 'oxc/bad-array-method-on-arguments': {\n description: 'This rule applies when an array method is called on the arguments object itself.',\n },\n 'oxc/bad-bitwise-operator': {\n description: 'This rule applies when bitwise operators are used where logical operators are expected.',\n },\n 'oxc/bad-char-at-comparison': {\n description:\n 'This rule warns when a character accessed with charAt, at, or bracket notation is compared with a string of length greater than 1.',\n },\n 'oxc/bad-comparison-sequence': {\n description: 'This rule applies when the comparison operator is applied two or more times in a row.',\n },\n 'oxc/bad-match-all-arg': {\n description:\n 'This rule warns when the matchAll method is called with a regular expression that does not have the global flag (g).',\n },\n 'oxc/bad-min-max-func': {\n description:\n 'Checks whether the clamp function Math.min(Math.max(x, y), z) always evaluates to a constant result because the arguments are in the wrong order.',\n },\n 'oxc/bad-object-literal-comparison': {\n description: 'Checks for comparisons between object and array literals.',\n },\n 'oxc/bad-replace-all-arg': {\n description:\n 'This rule warns when the replaceAll method is called with a regular expression that does not have the global flag (g).',\n },\n 'oxc/branches-sharing-code': {\n description: 'Checks if the if and else blocks contain shared code that can be moved out of the blocks.',\n },\n 'oxc/const-comparisons': {\n description: 'Checks for redundant or logically impossible comparisons. This includes:',\n },\n 'oxc/double-comparisons': {\n description: 'This rule checks for double comparisons in logical expressions.',\n },\n 'oxc/erasing-op': {\n description: 'Checks for erasing operations, e.g., x 0.',\n },\n 'oxc/misrefactored-assign-op': {\n description: 'https://rust-lang.github.io/rust-clippy/master/#/misrefactored\\\\_assign\\\\_op',\n },\n 'oxc/missing-throw': {\n description: 'Checks whether the throw keyword is missing in front of a new expression.',\n },\n 'oxc/no-accumulating-spread': {\n description: 'Prevents using object or array spreads on accumulators in Array.prototype.reduce() and in loops.',\n },\n 'oxc/no-async-await': {\n description: 'Disallows the use of async/await.',\n },\n 'oxc/no-async-endpoint-handlers': {\n defaultOptions: {\n allowedNames: [],\n },\n description: 'Disallows the use of async functions as Express endpoint handlers.',\n },\n 'oxc/no-barrel-file': {\n defaultOptions: {\n threshold: 100,\n },\n description:\n 'Disallow the use of barrel files where the file contains export statements, and the total number of modules exceeds a threshold.',\n },\n 'oxc/no-const-enum': {\n description: 'Disallow TypeScript const enum',\n },\n 'oxc/no-map-spread': {\n defaultOptions: {\n ignoreArgs: true,\n ignoreRereads: true,\n },\n description:\n 'Disallow the use of object or array spreads in Array.prototype.map and Array.prototype.flatMap to add properties/elements to array items.',\n },\n 'oxc/no-optional-chaining': {\n defaultOptions: {\n message: '\"\"',\n },\n description: 'Disallow optional chaining.',\n },\n 'oxc/no-rest-spread-properties': {\n defaultOptions: {\n objectRestMessage: '\"\"',\n objectSpreadMessage: '\"\"',\n },\n description: 'Disallow Object Rest/Spread Properties.',\n },\n 'oxc/no-this-in-exported-function': {\n description: 'Disallows the use of this in exported functions.',\n },\n 'oxc/number-arg-out-of-range': {\n description: 'Checks whether the radix or precision arguments of number-related functions exceed the limit.',\n },\n 'oxc/only-used-in-recursion': {\n description: 'Checks for arguments that are only used in recursion with no side-effects.',\n },\n 'oxc/uninvoked-array-callback': {\n description: 'This rule applies when an Array function has a callback argument used for an array with empty slots.',\n },\n 'promise/always-return': {\n defaultOptions: {\n ignoreAssignmentVariable: ['globalThis'],\n ignoreLastCallback: false,\n },\n description:\n 'Require returning inside each then() to create readable and reusable Promise chains. We also allow someone to throw inside a then() which is essentially the same as return Promise.reject().',\n },\n 'promise/avoid-new': {\n description: 'Disallow creating promises with new Promise().',\n },\n 'promise/catch-or-return': {\n defaultOptions: {\n allowFinally: false,\n allowThen: false,\n allowThenStrict: false,\n },\n description:\n 'Ensure that each time a then() is applied to a promise, a catch() must be applied as well. Exceptions are made for promises returned from a function.',\n },\n 'promise/no-callback-in-promise': {\n defaultOptions: {\n exceptions: [],\n timeoutsErr: false,\n },\n description:\n 'Disallows calling a callback function (cb()) inside a Promise.prototype.then() or Promise.prototype.catch().',\n },\n 'promise/no-multiple-resolved': {\n description: 'This rule warns of paths that resolve multiple times in executor functions of Promise constructors.',\n },\n 'promise/no-nesting': {\n description: 'Disallow nested then() or catch() statements.',\n },\n 'promise/no-new-statics': {\n description: 'Disallows calling new on static Promise methods.',\n },\n 'promise/no-promise-in-callback': {\n defaultOptions: {\n exemptDeclarations: false,\n },\n description: 'Disallows the use of Promises within error-first callback functions.',\n },\n 'promise/no-return-in-finally': {\n description: 'Disallow return statements in a finally() callback of a promise.',\n },\n 'promise/no-return-wrap': {\n defaultOptions: {\n allowReject: false,\n },\n description:\n 'Prevents unnecessary wrapping of return values in promises with either Promise.resolve or Promise.reject.',\n },\n 'promise/param-names': {\n description: 'Enforce standard parameter names for Promise constructors.',\n },\n 'promise/prefer-await-to-callbacks': {\n description:\n 'The rule encourages the use of async/await for handling asynchronous code instead of traditional callback functions. async/await, introduced in ES2017, provides a clearer and more concise syntax for writing asynchronous code, making it easier to read and maintain.',\n },\n 'promise/prefer-await-to-then': {\n defaultOptions: {\n strict: false,\n },\n description: 'Prefer await to then()/catch()/finally() for reading Promise values.',\n },\n 'promise/prefer-catch': {\n description:\n 'Prefer catch to then(a, b) and then(null, b). This rule disallows the passing of an argument into the second parameter of then calls for handling promise errors.',\n },\n 'promise/spec-only': {\n defaultOptions: {\n allowedMethods: null,\n },\n description: 'Disallow use of non-standard Promise static methods.',\n },\n 'promise/valid-params': {\n description: 'Enforces the proper number of arguments are passed to Promise functions.',\n },\n 'react/button-has-type': {\n defaultOptions: {\n button: true,\n reset: true,\n submit: true,\n },\n description: 'Enforces an explicit type attribute for all HTML button elements.',\n },\n 'react/capitalized-calls': {\n defaultOptions: {\n allow: [],\n },\n description:\n 'Disallows calling capitalized functions or methods directly during render instead of rendering them with JSX, since capitalized names are reserved for components.',\n },\n 'react/checked-requires-onchange-or-readonly': {\n defaultOptions: {\n ignoreExclusiveCheckedAttribute: false,\n ignoreMissingProperties: false,\n },\n description:\n 'This rule enforces onChange or readOnly attribute for checked property of input elements. It also warns when checked and defaultChecked properties are used together.',\n },\n 'react/display-name': {\n defaultOptions: {\n checkContextObjects: false,\n ignoreTranspilerName: false,\n },\n description: 'Enforces that React components have a displayName property.',\n },\n 'react/error-boundaries': {\n description: 'Validates using error boundaries instead of try/catch around JSX for errors in child components.',\n },\n 'react/exhaustive-deps': {\n description: 'Verifies the list of dependencies for Hooks like useEffect and similar.',\n },\n 'react/exhaustive-effect-dependencies': {\n description: 'Validates that effect dependency arrays are exhaustive and contain no extraneous values.',\n },\n 'react/forbid-component-props': {\n description:\n 'This rule prevents passing of props to components. This rule only applies to Components (e.g. <Foo />) and not DOM nodes (e.g. <div />). By default this rule prevents passing of props that add lots of complexity (className, style) to Components. The list of forbidden props can be customized with the forbid option.',\n },\n 'react/forbid-dom-props': {\n description:\n 'This rule prevents passing of props to elements. This rule only applies to DOM Nodes (e.g. <div />) and not Components (e.g. <Component />). The list of forbidden props can be customized with the forbid option.',\n },\n 'react/forbid-elements': {\n description: 'Allows you to configure a list of forbidden elements and to specify their desired replacements.',\n },\n 'react/forward-ref-uses-ref': {\n description:\n \"Requires that components wrapped with forwardRef must have a ref parameter. Omitting the ref argument is usually a bug, and components not using ref don't need to be wrapped by forwardRef.\",\n },\n 'react/function-component-definition': {\n description: 'Enforces a consistent function form for React function components.',\n },\n 'react/globals': {\n description:\n 'Disallows assigning to or mutating variables declared outside a component or hook during render; side effects must run outside of render.',\n },\n 'react/hook-use-state': {\n defaultOptions: {\n allowDestructuredState: false,\n },\n description: 'Ensure destructuring and symmetric naming of useState hook value and setter variables.',\n },\n 'react/hooks': {\n description:\n \"Runs the React Compiler's Rules of Hooks validation: hooks must be called unconditionally, in a consistent order, at the top level of a component or hook, and not be used as first-class values.\",\n },\n 'react/iframe-missing-sandbox': {\n description: 'Enforce the sandbox attribute on iframe elements.',\n },\n 'react/immutability': {\n description:\n 'Disallows mutating props, state, hook arguments, hook return values, and other values that are immutable by the Rules of React.',\n },\n 'react/incompatible-library': {\n description:\n \"Warns on usage of library APIs known to be incompatible with memoization (manual or automatic), such as react-hook-form's watch(), TanStack Table's useReactTable(), and TanStack Virtual's useVirtualizer().\",\n },\n 'react/invariant': {\n description:\n 'Reports internal React Compiler invariant violations. These indicate a bug in the compiler itself, not in your code — consider reporting them to the oxc or React teams.',\n },\n 'react/jsx-boolean-value': {\n defaultOptions: {\n 'The 2nd option': {\n always: [],\n assumeUndefinedIsFalse: false,\n never: [],\n },\n },\n description: 'Enforce a consistent boolean attribute style in your code.',\n },\n 'react/jsx-curly-brace-presence': {\n defaultOptions: {\n children: '\"never\"',\n propElementValues: '\"ignore\"',\n props: '\"never\"',\n },\n description:\n 'Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes.',\n },\n 'react/jsx-filename-extension': {\n defaultOptions: {\n allow: '\"always\"',\n extensions: ['jsx'],\n ignoreFilesWithoutCode: false,\n },\n description: 'Enforces consistent use of the .jsx file extension.',\n },\n 'react/jsx-fragments': {\n description: 'Enforces the shorthand or standard form for React Fragments.',\n },\n 'react/jsx-handler-names': {\n defaultOptions: {\n checkInlineFunction: false,\n checkLocalVariables: false,\n eventHandlerPrefix: '\"handle\"',\n eventHandlerPropPrefix: '\"on\"',\n ignoreComponentNames: [],\n },\n description: 'Ensures that any component or prop methods used to handle events are correctly prefixed.',\n },\n 'react/jsx-key': {\n defaultOptions: {\n checkFragmentShorthand: true,\n checkKeyMustBeforeSpread: true,\n warnOnDuplicates: true,\n },\n description: 'Enforce key prop for elements in an array.',\n },\n 'react/jsx-max-depth': {\n defaultOptions: {\n max: 2,\n },\n description: 'Enforces a maximum depth for nested JSX elements and fragments.',\n },\n 'react/jsx-no-comment-textnodes': {\n description:\n 'This rule prevents comment strings (e.g. beginning with // or /) from being accidentally injected as a text node in JSX statements.',\n },\n 'react/jsx-no-constructed-context-values': {\n description: 'Disallows JSX context provider values that cause needless re-renders.',\n },\n 'react/jsx-no-duplicate-props': {\n description: 'This rule prevents duplicate props in JSX elements.',\n },\n 'react/jsx-no-literals': {\n defaultOptions: {\n allowedStrings: [],\n ignoreProps: false,\n noAttributeStrings: false,\n noStrings: false,\n restrictedAttributes: [],\n },\n description:\n 'Disallows usage of unwrapped string literals inside JSX, such as text children of a JSX element or string-valued props.',\n },\n 'react/jsx-no-script-url': {\n defaultOptions: {\n 'The 2nd option': {\n includeFromSettings: false,\n },\n },\n description: 'Disallow usage of javascript: URLs.',\n },\n 'react/jsx-no-target-blank': {\n defaultOptions: {\n allowReferrer: false,\n enforceDynamicLinks: '\"always\"',\n forms: false,\n links: true,\n warnOnSpreadAttributes: false,\n },\n description:\n \"This rule aims to prevent user-generated link hrefs and form actions from creating security vulnerabilities by requiring rel='noreferrer' for external link hrefs and form actions, and optionally any dynamically generated link hrefs and form actions.\",\n },\n 'react/jsx-no-undef': {\n description: 'Disallow undeclared variables in JSX.',\n },\n 'react/jsx-no-useless-fragment': {\n defaultOptions: {\n allowExpressions: false,\n },\n description: 'Disallow unnecessary fragments.',\n },\n 'react/jsx-pascal-case': {\n defaultOptions: {\n allowAllCaps: false,\n allowLeadingUnderscore: false,\n allowNamespace: false,\n ignore: [],\n },\n description: 'Enforce PascalCase for user-defined JSX components.',\n },\n 'react/jsx-props-no-spread-multi': {\n description: 'Enforces that any unique expression is only spread once.',\n },\n 'react/jsx-props-no-spreading': {\n defaultOptions: {\n custom: '\"enforce\"',\n exceptions: [],\n explicitSpread: '\"enforce\"',\n html: '\"enforce\"',\n },\n description: 'Disallow JSX prop spreading.',\n },\n 'react/memo-dependencies': {\n description:\n 'Validates that useMemo() and useCallback() declare comprehensive dependency lists without extraneous values.',\n },\n 'react/no-array-index-key': {\n description: 'Warn if an element uses an Array index in its key.',\n },\n 'react/no-children-prop': {\n description: 'Checks that children are not passed using a prop.',\n },\n 'react/no-clone-element': {\n description: 'Prevents the usage of React.cloneElement, which is considered an anti-pattern in React.',\n },\n 'react/no-danger': {\n description: 'This rule prevents the use of dangerouslySetInnerHTML prop.',\n },\n 'react/no-danger-with-children': {\n description: 'Disallows DOM elements from using both children and dangerouslySetInnerHTML properties.',\n },\n 'react/no-deriving-state-in-effects': {\n description:\n 'Disallows deriving values from state inside an effect and storing them back into state; derived values should be computed during render instead.',\n },\n 'react/no-did-mount-set-state': {\n description: 'Disallows using setState in the componentDidMount lifecycle method.',\n },\n 'react/no-did-update-set-state': {\n description: 'Disallow usage of setState in componentDidUpdate.',\n },\n 'react/no-direct-mutation-state': {\n description: 'This rule forbids the direct mutation of this.state in React components.',\n },\n 'react/no-find-dom-node': {\n description: 'This rule disallows the use of findDOMNode, which was deprecated in 2018 and removed in React 19.',\n },\n 'react/no-is-mounted': {\n description: 'This rule prevents using isMounted in class components.',\n },\n 'react/no-multi-comp': {\n defaultOptions: {\n ignoreStateless: false,\n },\n description: 'Prevents multiple React components from being defined in the same file.',\n },\n 'react/no-namespace': {\n description: 'Enforce that namespaces are not used in React elements.',\n },\n 'react/no-object-type-as-default-prop': {\n description:\n 'Disallows using object, array, function, class, regex, JSX, or new-constructed values as default values for destructured React component props.',\n },\n 'react/no-react-children': {\n description: 'Disallows the usage of React.Children, as it is considered a bad practice.',\n },\n 'react/no-redundant-should-component-update': {\n description: 'Disallow usage of shouldComponentUpdate when extending React.PureComponent.',\n },\n 'react/no-render-return-value': {\n description: 'This rule will warn you if you try to use the ReactDOM.render() return value.',\n },\n 'react/no-set-state': {\n description: 'Disallow the usage of this.setState in React components.',\n },\n 'react/no-string-refs': {\n defaultOptions: {\n noTemplateLiterals: false,\n },\n description: 'This rule prevents using the deprecated behavior of string literals in ref attributes.',\n },\n 'react/no-this-in-sfc': {\n description: 'Prevents using this in stateless functional components.',\n },\n 'react/no-unescaped-entities': {\n description:\n 'This rule prevents characters that you may have meant as JSX escape characters from being accidentally injected as a text node in JSX statements.',\n },\n 'react/no-unknown-property': {\n defaultOptions: {\n ignore: [],\n requireDataLowercase: false,\n },\n description: 'Disallow usage of unknown DOM properties.',\n },\n 'react/no-unsafe': {\n defaultOptions: {\n checkAliases: false,\n },\n description: 'This rule identifies and restricts the use of unsafe React lifecycle methods.',\n },\n 'react/no-unstable-nested-components': {\n defaultOptions: {\n allowAsProps: false,\n customValidators: [],\n propNamePattern: '\"render*\"',\n },\n description: 'Disallows defining React components inside other components.',\n },\n 'react/no-will-update-set-state': {\n description: 'Disallows using setState in the componentWillUpdate lifecycle method.',\n },\n 'react/only-export-components': {\n defaultOptions: {\n allowCompoundComponents: false,\n allowConstantExport: false,\n allowExportNames: [],\n checkJS: false,\n customHOCs: [],\n },\n description:\n 'Ensures that modules only export React components (and related HMR-safe items) so that Fast Refresh (a.k.a. hot reloading) can safely preserve component state. Concretely, it validates the shape of your module’s exports and common entrypoints (e.g. createRoot(...).render(<App />)) to match what integrations like react-refresh expect.',\n },\n 'react/prefer-es6-class': {\n description:\n 'React offers you two ways to create traditional components: using the create-react-class package or the newer ES2015 class system.',\n },\n 'react/prefer-function-component': {\n defaultOptions: {\n allowErrorBoundary: true,\n allowJsxUtilityClass: false,\n },\n description: 'Enforces that React components are written as function components instead of class components.',\n },\n 'react/preserve-manual-memoization': {\n description:\n 'Validates that existing manual memoization (useMemo, useCallback, React.memo) is preserved by the React Compiler: the compiler only compiles code whose inferred dependencies match or exceed the manually specified ones.',\n },\n 'react/purity': {\n description:\n 'Validates that components and hooks are pure by checking that they do not call known-impure functions such as Math.random(), Date.now(), or performance.now() during render.',\n },\n 'react/react-in-jsx-scope': {\n description: 'Enforces that React is imported and in-scope when using JSX syntax.',\n },\n 'react/refs': {\n description:\n 'Validates correct usage of refs: ref.current may not be read or written during render, only in event handlers and effects.',\n },\n 'react/require-render-return': {\n description: 'Require render methods in ES5 and ES2015 React components to return a value.',\n },\n 'react/rule-suppression': {\n description:\n 'Reports ESLint/Oxlint suppressions of React rules (for example eslint-disable-next-line react-hooks/exhaustive-deps) inside a component or hook. The React Compiler skips functions containing such suppressions, since the suppressed violation may make compilation unsafe.',\n },\n 'react/rules-of-hooks': {\n description:\n 'Enforces the Rules of Hooks, ensuring that React Hooks are only called in valid contexts and in the correct order.',\n },\n 'react/self-closing-comp': {\n defaultOptions: {\n component: true,\n html: true,\n },\n description:\n 'Detects components without children which can be self-closed to avoid unnecessary extra closing tags.',\n },\n 'react/set-state-in-effect': {\n description: 'Disallows calling setState synchronously inside an effect body.',\n },\n 'react/set-state-in-render': {\n description:\n 'Disallows unconditionally setting state during render (including inside useMemo callbacks), which triggers additional renders and can cause infinite render loops.',\n },\n 'react/state-in-constructor': {\n description: 'Enforces the state initialization style to be either in a constructor or with a class property.',\n },\n 'react/static-components': {\n description:\n 'Validates that components are static — defined at module scope rather than recreated on every render — because dynamically recreated components reset state and cause excessive re-rendering.',\n },\n 'react/style-prop-object': {\n defaultOptions: {\n allow: [],\n },\n description: 'Require that the value of the prop style be an object or a variable that is an object.',\n },\n 'react/syntax': {\n description:\n 'Reports invalid JavaScript encountered by React Compiler while analyzing a component or hook, such as reassigning a const binding.',\n },\n 'react/todo': {\n description:\n 'Reports code that React Compiler cannot yet analyze because it uses features the compiler has not implemented. These are skipped optimizations (bail-outs), not rule violations.',\n },\n 'react/unsupported-syntax': {\n description:\n 'Warns on syntax that React Compiler does not plan to support, such as eval; components and hooks using it are skipped, not optimized.',\n },\n 'react/use-memo': {\n description:\n 'Validates usage of the useMemo() hook against common mistakes, such as passing an async or generator callback or misusing its arguments.',\n },\n 'react/void-dom-elements-no-children': {\n description: 'Disallow void DOM elements (e.g. <img />, <br />) from receiving children.',\n },\n 'react/void-use-memo': {\n description:\n 'Validates that useMemo() callbacks return a value and that the memoized result is actually used by the component or hook.',\n },\n 'react-perf/jsx-no-jsx-as-prop': {\n description: 'Prevent JSX elements that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-array-as-prop': {\n description: 'Prevent arrays that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-function-as-prop': {\n description: 'Prevent functions that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-object-as-prop': {\n description: 'Prevent objects that are local to the current method from being used as values of JSX props.',\n },\n 'typescript/adjacent-overload-signatures': {\n description: 'Require that function overload signatures be consecutive.',\n },\n 'typescript/array-type': {\n defaultOptions: {\n default: '\"array\"',\n readonly: null,\n },\n description: 'Require consistently using either T[] or Array<T> for arrays.',\n },\n 'typescript/await-thenable': {\n defaultOptions: {\n allowMixedPromiseArrays: false,\n },\n description: 'This rule disallows awaiting a value that is not a Thenable.',\n },\n 'typescript/ban-ts-comment': {\n defaultOptions: {\n minimumDescriptionLength: 3,\n },\n description: 'This rule lets you set which directive comments you want to allow in your codebase.',\n },\n 'typescript/ban-tslint-comment': {\n description: 'This rule disallows tslint:<rule-flag> comments.',\n },\n 'typescript/ban-types': {\n description:\n 'This rule bans specific types and can suggest alternatives. Note that it does not ban the corresponding runtime objects from being used.',\n },\n 'typescript/class-literal-property-style': {\n description: 'Enforces a consistent style for exposing literal values on classes.',\n },\n 'typescript/consistent-generic-constructors': {\n description:\n 'When constructing a generic class, you can specify the type arguments on either the left-hand side (as a type annotation) or the right-hand side (as part of the constructor call).',\n },\n 'typescript/consistent-indexed-object-style': {\n description: 'Choose between requiring either Record type or indexed signature types.',\n },\n 'typescript/consistent-return': {\n defaultOptions: {\n treatUndefinedAsUnspecified: false,\n },\n description: 'Enforce consistent return behavior in functions.',\n },\n 'typescript/consistent-type-assertions': {\n description: 'Enforce consistent usage of TypeScript type assertions.',\n },\n 'typescript/consistent-type-definitions': {\n description: 'Enforce type definitions to consistently use either interface or type.',\n },\n 'typescript/consistent-type-exports': {\n defaultOptions: {\n fixMixedExportsWithInlineTypeSpecifier: false,\n },\n description: 'Enforce using export type for exports that are only used as types.',\n },\n 'typescript/consistent-type-imports': {\n defaultOptions: {\n disallowTypeAnnotations: true,\n fixStyle: '\"separate-type-imports\"',\n prefer: '\"type-imports\"',\n },\n description: 'Enforce consistent usage of type imports by adding or removing the type keyword from imports.',\n },\n 'typescript/dot-notation': {\n defaultOptions: {\n allowIndexSignaturePropertyAccess: false,\n allowKeywords: true,\n allowPattern: '\"\"',\n allowPrivateClassPropertyAccess: false,\n allowProtectedClassPropertyAccess: false,\n },\n description: 'Enforce dot notation whenever property access can be written safely as obj.prop.',\n },\n 'typescript/explicit-function-return-type': {\n defaultOptions: {\n allowConciseArrowFunctionExpressionsStartingWithVoid: false,\n allowDirectConstAssertionInArrowFunctions: true,\n allowExpressions: false,\n allowFunctionsWithoutTypeParameters: false,\n allowHigherOrderFunctions: true,\n allowIIFEs: false,\n allowTypedFunctionExpressions: true,\n allowedNames: [],\n },\n description: 'This rule enforces that functions have an explicit return type annotation.',\n },\n 'typescript/explicit-member-accessibility': {\n defaultOptions: {\n ignoredMethodNames: [],\n },\n description: 'Require explicit accessibility modifiers on class properties and methods.',\n },\n 'typescript/explicit-module-boundary-types': {\n defaultOptions: {\n allowArgumentsExplicitlyTypedAsAny: false,\n allowDirectConstAssertionInArrowFunctions: true,\n allowHigherOrderFunctions: true,\n allowOverloadFunctions: false,\n allowTypedFunctionExpressions: true,\n allowedNames: [],\n },\n description: \"Require explicit return and argument types on exported functions' and classes' public class methods.\",\n },\n 'typescript/method-signature-style': {\n description: 'Enforce using a particular method signature syntax.',\n },\n 'typescript/no-array-delete': {\n description: 'This rule disallows using the delete operator on array values.',\n },\n 'typescript/no-base-to-string': {\n defaultOptions: {\n checkUnknown: false,\n ignoredTypeNames: ['Error', 'RegExp', 'URL', 'URLSearchParams'],\n },\n description:\n 'This rule requires toString() and toLocaleString() calls to only be called on objects which provide useful information when stringified.',\n },\n 'typescript/no-confusing-non-null-assertion': {\n description: 'Disallow non-null assertion in locations that may be confusing.',\n },\n 'typescript/no-confusing-void-expression': {\n defaultOptions: {\n ignoreArrowShorthand: false,\n ignoreVoidOperator: false,\n ignoreVoidReturningFunctions: false,\n },\n description: 'This rule forbids using void expressions in confusing locations such as arrow function returns.',\n },\n 'typescript/no-deprecated': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallow using code marked as @deprecated.',\n },\n 'typescript/no-duplicate-enum-values': {\n description: 'Disallow duplicate enum member values.',\n },\n 'typescript/no-duplicate-type-constituents': {\n defaultOptions: {\n ignoreIntersections: false,\n ignoreUnions: false,\n },\n description: 'This rule disallows duplicate constituents of union or intersection types.',\n },\n 'typescript/no-dynamic-delete': {\n description: 'Disallow using the delete operator on computed key expressions.',\n },\n 'typescript/no-empty-interface': {\n defaultOptions: {\n allowSingleExtends: false,\n },\n description: 'Disallow the declaration of empty interfaces.',\n },\n 'typescript/no-empty-object-type': {\n defaultOptions: {\n allowInterfaces: '\"never\"',\n allowObjectTypes: '\"never\"',\n },\n description:\n 'To avoid confusion around the {} type allowing any non-nullish value, this rule bans usage of the {} type. That includes interfaces and object type aliases with no fields.',\n },\n 'typescript/no-explicit-any': {\n defaultOptions: {\n fixToUnknown: false,\n ignoreRestArgs: false,\n },\n description: 'Disallows explicit use of the any type.',\n },\n 'typescript/no-extra-non-null-assertion': {\n description: 'Disallow extra non-null assertions.',\n },\n 'typescript/no-extraneous-class': {\n defaultOptions: {\n allowConstructorOnly: false,\n allowEmpty: false,\n allowStaticOnly: false,\n allowWithDecorator: false,\n },\n description:\n 'This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace. This rule also reports classes that have only a constructor and no fields. Those classes can generally be replaced with a standalone function.',\n },\n 'typescript/no-floating-promises': {\n defaultOptions: {\n allowForKnownSafeCalls: [],\n allowForKnownSafePromises: [],\n checkThenables: false,\n ignoreIIFE: false,\n ignoreVoid: true,\n },\n description:\n 'This rule disallows \"floating\" Promises in TypeScript code, which is a Promise that is created without any code to handle its resolution or rejection.',\n },\n 'typescript/no-for-in-array': {\n description: 'This rule disallows iterating over an array with a for-in loop.',\n },\n 'typescript/no-generated-empty-object-type': {\n description:\n 'Disallows type operations that resolve to the empty object type {}. This includes generic type references and intersections, but excludes mapped types whose keys have not yet been resolved.',\n },\n 'typescript/no-implied-eval': {\n description: 'This rule disallows the use of eval-like methods.',\n },\n 'typescript/no-import-type-side-effects': {\n description:\n 'Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers.',\n },\n 'typescript/no-inferrable-types': {\n defaultOptions: {\n ignoreParameters: false,\n ignoreProperties: false,\n },\n description:\n 'Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean.',\n },\n 'typescript/no-invalid-void-type': {\n defaultOptions: {\n allowAsThisParameter: false,\n },\n description: 'Disallow void type usage outside return types and configured generic contexts.',\n },\n 'typescript/no-meaningless-void-operator': {\n defaultOptions: {\n checkNever: false,\n },\n description: 'This rule disallows the void operator when its argument is already of type void or undefined.',\n },\n 'typescript/no-misused-new': {\n description:\n 'Enforces valid definitions of new and constructor. This rule prevents classes from defining a method named new, interfaces from defining a method named constructor, and interfaces from defining a construct signature that returns the interface itself.',\n },\n 'typescript/no-misused-promises': {\n defaultOptions: {\n checksConditionals: true,\n checksSpreads: true,\n checksVoidReturn: {\n arguments: true,\n attributes: true,\n inheritedMethods: true,\n properties: true,\n returns: true,\n variables: true,\n },\n },\n description:\n 'This rule forbids providing Promises to logical locations such as if statements in places where the TypeScript compiler allows them but they are not handled properly. These situations can often arise due to a missing await keyword or just a misunderstanding of the way async functions are handled/awaited.',\n },\n 'typescript/no-misused-spread': {\n defaultOptions: {\n allow: [],\n },\n description:\n \"This rule disallows spreading syntax in places where it doesn't make sense or could cause runtime errors.\",\n },\n 'typescript/no-mixed-enums': {\n description: 'This rule disallows enums from having both string and numeric members.',\n },\n 'typescript/no-namespace': {\n defaultOptions: {\n allowDeclarations: false,\n allowDefinitionFiles: true,\n },\n description: 'Disallow TypeScript namespaces.',\n },\n 'typescript/no-non-null-asserted-nullish-coalescing': {\n description: 'Disallow non-null assertions in the left operand of a nullish coalescing operator.',\n },\n 'typescript/no-non-null-asserted-optional-chain': {\n description: 'Disallow non-null assertions after an optional chain expression.',\n },\n 'typescript/no-non-null-assertion': {\n description: 'Disallow non-null assertions using the ! postfix operator.',\n },\n 'typescript/no-redundant-type-constituents': {\n description: 'This rule disallows type constituents of unions and intersections that are redundant.',\n },\n 'typescript/no-require-imports': {\n defaultOptions: {\n allowAsImport: false,\n },\n description: 'Forbids the use of CommonJS require calls.',\n },\n 'typescript/no-restricted-types': {\n defaultOptions: {\n types: {},\n },\n description: 'Disallow certain types from being used.',\n },\n 'typescript/no-this-alias': {\n defaultOptions: {\n allowDestructuring: true,\n allowedNames: [],\n },\n description: 'Disallow aliasing of this.',\n },\n 'typescript/no-unnecessary-boolean-literal-compare': {\n defaultOptions: {\n allowComparingNullableBooleansToFalse: true,\n allowComparingNullableBooleansToTrue: true,\n },\n description: 'This rule disallows unnecessary equality comparisons with boolean literals.',\n },\n 'typescript/no-unnecessary-condition': {\n defaultOptions: {\n checkTypePredicates: false,\n },\n description:\n \"Disallow conditions that are always truthy, always falsy, or always nullish based on TypeScript's type information.\",\n },\n 'typescript/no-unnecessary-parameter-property-assignment': {\n description: 'Prevents unnecessary assignment of parameter properties.',\n },\n 'typescript/no-unnecessary-qualifier': {\n description: 'Disallow namespace qualifiers when the referenced name is already in scope.',\n },\n 'typescript/no-unnecessary-template-expression': {\n description: 'Disallows unnecessary template expressions (interpolations) that can be simplified.',\n },\n 'typescript/no-unnecessary-type-arguments': {\n description: 'This rule disallows type arguments that are identical to the default type parameter.',\n },\n 'typescript/no-unnecessary-type-assertion': {\n defaultOptions: {\n checkLiteralConstAssertions: false,\n typesToIgnore: [],\n },\n description: 'This rule disallows type assertions that do not change the type of an expression.',\n },\n 'typescript/no-unnecessary-type-constraint': {\n description: 'Disallow unnecessary constraints on generic types.',\n },\n 'typescript/no-unnecessary-type-conversion': {\n description: 'Disallow unnecessary type conversion expressions.',\n },\n 'typescript/no-unnecessary-type-parameters': {\n description: 'Disallow type parameters that are declared but not meaningfully used.',\n },\n 'typescript/no-unsafe-argument': {\n description: 'This rule disallows calling a function with an argument which is typed as any.',\n },\n 'typescript/no-unsafe-assignment': {\n description: 'This rule disallows assigning a value with type any to variables and properties.',\n },\n 'typescript/no-unsafe-call': {\n description: 'This rule disallows calling a value with type any.',\n },\n 'typescript/no-unsafe-declaration-merging': {\n description: 'Disallow unsafe declaration merging.',\n },\n 'typescript/no-unsafe-enum-assignment': {\n description:\n 'Disallows using values that do not share an enum type where an enum value is expected. This includes assignments, arguments, return values, type assertions, mutations, and computed keys in objects keyed by enum members.',\n },\n 'typescript/no-unsafe-enum-comparison': {\n description: 'This rule disallows comparing an enum value with a non-enum value.',\n },\n 'typescript/no-unsafe-function-type': {\n description: 'Disallow using the unsafe built-in Function type.',\n },\n 'typescript/no-unsafe-member-access': {\n defaultOptions: {\n allowOptionalChaining: false,\n },\n description: 'This rule disallows member access on a value with type any.',\n },\n 'typescript/no-unsafe-return': {\n description: 'This rule disallows returning a value with type any from a function.',\n },\n 'typescript/no-unsafe-type-assertion': {\n description: 'Disallows unsafe type assertions that narrow a type.',\n },\n 'typescript/no-unsafe-unary-minus': {\n description:\n \"This rule disallows using the unary minus operator on a value which is not of type 'number' | 'bigint'.\",\n },\n 'typescript/no-useless-default-assignment': {\n description: 'Disallow default assignments that can never be used.',\n },\n 'typescript/no-useless-empty-export': {\n description: \"Disallow empty exports that don't change anything in a module file.\",\n },\n 'typescript/no-var-requires': {\n description: 'Disallow require statements except in import statements.',\n },\n 'typescript/no-wrapper-object-types': {\n description: 'Disallow the use of wrapper object types.',\n },\n 'typescript/non-nullable-type-assertion-style': {\n description: 'This rule prefers a non-null assertion over an explicit type cast for non-nullable types.',\n },\n 'typescript/only-throw-error': {\n defaultOptions: {\n allow: [],\n allowRethrowing: true,\n allowThrowingAny: true,\n allowThrowingUnknown: true,\n },\n description: 'This rule disallows throwing non-Error values.',\n },\n 'typescript/parameter-properties': {\n defaultOptions: {\n allow: [],\n prefer: '\"class-property\"',\n },\n description: 'Requires or disallows parameter properties in class constructors.',\n },\n 'typescript/prefer-as-const': {\n description: 'Enforce the use of as const over literal types.',\n },\n 'typescript/prefer-enum-initializers': {\n description: 'Require each enum member value to be explicitly initialized.',\n },\n 'typescript/prefer-find': {\n description: 'Prefer .find(...) over .filter(...)[0] for retrieving a single element.',\n },\n 'typescript/prefer-for-of': {\n description: 'Enforces the use of a for...of loop instead of a for loop with simple iteration.',\n },\n 'typescript/prefer-function-type': {\n description: 'Enforce using function types instead of interfaces with call signatures.',\n },\n 'typescript/prefer-includes': {\n description: 'Enforce using .includes() instead of .indexOf() !== -1 or /regex/.test().',\n },\n 'typescript/prefer-literal-enum-member': {\n defaultOptions: {\n allowBitwiseExpressions: false,\n },\n description: 'Explicit enum values must only be literal values (string, number, boolean, etc.).',\n },\n 'typescript/prefer-namespace-keyword': {\n description:\n \"This rule reports when the module keyword is used instead of namespace. This rule does not report on the use of TypeScript module declarations to describe external APIs (declare module 'foo' {}).\",\n },\n 'typescript/prefer-nullish-coalescing': {\n defaultOptions: {\n ignoreBooleanCoercion: false,\n ignoreConditionalTests: true,\n ignoreIfStatements: false,\n ignoreMixedLogicalExpressions: false,\n ignorePrimitives: {\n bigint: false,\n boolean: false,\n number: false,\n string: false,\n },\n ignoreTernaryTests: false,\n },\n description:\n 'Enforce using the nullish coalescing operator (??) instead of logical OR (||) or conditional expressions when the left operand might be null or undefined.',\n },\n 'typescript/prefer-optional-chain': {\n defaultOptions: {\n allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,\n checkAny: true,\n checkBigInt: true,\n checkBoolean: true,\n checkNumber: true,\n checkString: true,\n checkUnknown: true,\n requireNullish: false,\n },\n description:\n 'Enforce using concise optional chain expressions instead of chained logical AND operators, negated logical OR operators, or empty objects.',\n },\n 'typescript/prefer-promise-reject-errors': {\n defaultOptions: {\n allow: [],\n allowEmptyReject: false,\n allowThrowingAny: false,\n allowThrowingUnknown: false,\n },\n description: 'This rule enforces passing an Error object to Promise.reject().',\n },\n 'typescript/prefer-readonly': {\n defaultOptions: {\n onlyInlineLambdas: false,\n },\n description: 'Require class members that are never reassigned to be marked readonly.',\n },\n 'typescript/prefer-readonly-parameter-types': {\n defaultOptions: {\n allow: [],\n checkParameterProperties: true,\n ignoreInferredTypes: false,\n treatMethodsAsReadonly: false,\n },\n description: 'Require function and method parameters to use readonly-compatible types.',\n },\n 'typescript/prefer-reduce-type-parameter': {\n description: 'This rule prefers using a type parameter for the accumulator in Array#reduce() instead of casting.',\n },\n 'typescript/prefer-regexp-exec': {\n description: 'Prefer RegExp#exec() over String#match() when extracting a regex match.',\n },\n 'typescript/prefer-return-this-type': {\n description: 'This rule enforces using this types for return types when possible.',\n },\n 'typescript/prefer-string-starts-ends-with': {\n defaultOptions: {\n allowSingleElementEquality: '\"never\"',\n },\n description: 'Prefer startsWith and endsWith over manual string boundary checks.',\n },\n 'typescript/prefer-ts-expect-error': {\n description: 'Enforce using @ts-expect-error over @ts-ignore.',\n },\n 'typescript/promise-function-async': {\n defaultOptions: {\n allowAny: true,\n allowedPromiseNames: [],\n checkArrowFunctions: true,\n checkFunctionDeclarations: true,\n checkFunctionExpressions: true,\n checkMethodDeclarations: true,\n },\n description: 'This rule requires any function or method that returns a Promise to be marked as async.',\n },\n 'typescript/related-getter-setter-pairs': {\n description:\n 'This rule enforces that getters and setters for the same property are defined together and have related types.',\n },\n 'typescript/require-array-sort-compare': {\n defaultOptions: {\n ignoreStringArrays: true,\n },\n description: 'This rule requires Array#sort() to be called with a comparison function.',\n },\n 'typescript/require-await': {\n description: 'This rule disallows async functions which do not have an await expression.',\n },\n 'typescript/restrict-plus-operands': {\n defaultOptions: {\n allowAny: true,\n allowBoolean: true,\n allowNullish: true,\n allowNumberAndString: true,\n allowRegExp: true,\n skipCompoundAssignments: false,\n },\n description: 'This rule requires both operands of addition to be the same type and be number, string, or any.',\n },\n 'typescript/restrict-template-expressions': {\n defaultOptions: {\n allow: [\n {\n from: 'lib',\n name: ['Error', 'URL', 'URLSearchParams'],\n },\n ],\n allowAny: true,\n allowArray: false,\n allowBoolean: true,\n allowNever: false,\n allowNullish: true,\n allowNumber: true,\n allowRegExp: true,\n },\n description: 'This rule restricts the types allowed in template literal expressions.',\n },\n 'typescript/return-await': {\n description: 'This rule enforces consistent returning of awaited values from async functions.',\n },\n 'typescript/strict-boolean-expressions': {\n defaultOptions: {\n allowAny: false,\n allowNullableBoolean: false,\n allowNullableEnum: false,\n allowNullableNumber: false,\n allowNullableObject: true,\n allowNullableString: false,\n allowNumber: true,\n allowString: true,\n },\n description: 'Disallow certain types in boolean expressions.',\n },\n 'typescript/strict-void-return': {\n defaultOptions: {\n allowReturnAny: false,\n },\n description: 'Disallow returning non-void values where a void return is expected.',\n },\n 'typescript/switch-exhaustiveness-check': {\n defaultOptions: {\n allowDefaultCaseForExhaustiveSwitch: true,\n considerDefaultExhaustiveForUnions: false,\n requireDefaultForNonUnion: false,\n },\n description: 'This rule requires switch statements to be exhaustive when switching on union types.',\n },\n 'typescript/triple-slash-reference': {\n defaultOptions: {\n lib: '\"always\"',\n path: '\"never\"',\n types: '\"prefer-import\"',\n },\n description: 'Disallow certain triple slash directives in favor of ES module import declarations.',\n },\n 'typescript/unbound-method': {\n defaultOptions: {\n ignoreStatic: false,\n },\n description: 'This rule enforces that unbound methods are called with their expected scope.',\n },\n 'typescript/unified-signatures': {\n defaultOptions: {\n ignoreDifferentlyNamedParameters: false,\n ignoreOverloadsWithDifferentJSDoc: false,\n },\n description: 'Disallow overload signatures that can be unified into one.',\n },\n 'typescript/use-unknown-in-catch-callback-variable': {\n description: 'This rule enforces using unknown for catch clause variables instead of any.',\n },\n 'unicorn/catch-error-name': {\n defaultOptions: {\n name: '\"error\"',\n },\n description:\n 'This rule enforces consistent and descriptive naming for error variables in catch statements, preventing the use of vague names like badName or _ when the error is used.',\n },\n 'unicorn/consistent-assert': {\n description: 'Enforces consistent usage of the assert module.',\n },\n 'unicorn/consistent-date-clone': {\n description:\n 'The Date constructor can clone a Date object directly when passed as an argument, making timestamp conversion unnecessary. This rule enforces the use of the direct Date cloning instead of using .getTime() for conversion.',\n },\n 'unicorn/consistent-empty-array-spread': {\n description:\n \"When spreading a ternary in an array, we can use both [] and '' as fallbacks, but it's better to have consistent types in both branches.\",\n },\n 'unicorn/consistent-existence-index-check': {\n description:\n 'Enforce consistent style for element existence checks with indexOf(), lastIndexOf(), findIndex(), and findLastIndex(). This ensures that comparisons are performed in a standard and clear way.',\n },\n 'unicorn/consistent-function-scoping': {\n defaultOptions: {\n checkArrowFunctions: true,\n },\n description:\n 'Disallow functions that are declared in a scope which does not capture any variables from the outer scope.',\n },\n 'unicorn/consistent-template-literal-escape': {\n description: 'Enforce consistent style for escaping ${ in template literals.',\n },\n 'unicorn/custom-error-definition': {\n description: 'Enforces the only valid way of Error subclassing. It works with any super class that ends in Error.',\n },\n 'unicorn/empty-brace-spaces': {\n description:\n 'Removes the extra spaces or new line characters inside a pair of braces that does not contain additional code. This ensures that braces are clean and do not contain unnecessary spaces or newlines.',\n },\n 'unicorn/error-message': {\n description:\n 'Enforces providing a message when creating built-in Error objects to improve readability and debugging.',\n },\n 'unicorn/escape-case': {\n description:\n 'Enforces defining escape sequence values with uppercase characters rather than lowercase ones. This promotes readability by making the escaped value more distinguishable from the identifier.',\n },\n 'unicorn/explicit-length-check': {\n defaultOptions: {\n 'non-zero': '\"greater-than\"',\n },\n description: 'Enforce explicitly comparing the length or size property of a value.',\n },\n 'unicorn/explicit-timer-delay': {\n description: 'Enforce or disallow explicit delay argument for setTimeout() and setInterval().',\n },\n 'unicorn/filename-case': {\n defaultOptions: {\n case: null,\n cases: null,\n multipleFileExtensions: true,\n },\n description:\n 'Enforces a consistent case style for filenames to improve project organization and maintainability. By default, kebab-case is enforced, but other styles can be configured.',\n },\n 'unicorn/import-style': {\n defaultOptions: {\n checkDynamicImport: true,\n checkExportFrom: false,\n checkImport: true,\n checkRequire: true,\n extendDefaultStyles: true,\n styles: {},\n },\n description: 'Enforce specific import styles per module.',\n },\n 'unicorn/max-nested-calls': {\n defaultOptions: {\n max: 3,\n },\n description: 'Limit the depth of nested calls.',\n },\n 'unicorn/new-for-builtins': {\n description:\n 'Enforces the use of new for the following builtins: Object, Array, ArrayBuffer, BigInt64Array, BigUint64Array, DataView, Date, Error, Float16Array, Float32Array, Float64Array, Function, Int8Array, Int16Array, Int32Array, Map, WeakMap, Set, WeakSet, Promise, RegExp, Uint8Array, Uint16Array, Uint32Array, Uint8ClampedArray, SharedArrayBuffer, Proxy, WeakRef, FinalizationRegistry.',\n },\n 'unicorn/no-abusive-eslint-disable': {\n description: 'Disallows oxlint-disable or eslint-disable comments without specifying rules.',\n },\n 'unicorn/no-accessor-recursion': {\n description: 'Disallow recursive access to this within getters and setters.',\n },\n 'unicorn/no-anonymous-default-export': {\n description: 'Disallows anonymous functions and classes as default exports.',\n },\n 'unicorn/no-array-callback-reference': {\n description: 'Prevents passing a function reference directly to iterator methods.',\n },\n 'unicorn/no-array-fill-with-reference-type': {\n description: 'Disallows using reference values as Array#fill() values.',\n },\n 'unicorn/no-array-for-each': {\n description: 'Forbids the use of Array#forEach in favor of a for loop.',\n },\n 'unicorn/no-array-method-this-argument': {\n description:\n 'Disallows the use of the thisArg parameter in array iteration methods such as map, filter, some, every, and similar.',\n },\n 'unicorn/no-array-reduce': {\n defaultOptions: {\n allowSimpleOperations: true,\n },\n description: 'Disallow Array#reduce() and Array#reduceRight().',\n },\n 'unicorn/no-array-reverse': {\n defaultOptions: {\n allowExpressionStatement: true,\n },\n description: 'Prefer using Array#toReversed() over Array#reverse().',\n },\n 'unicorn/no-array-sort': {\n defaultOptions: {\n allowAfterSpread: false,\n allowExpressionStatement: true,\n },\n description: 'Prefer using Array#toSorted() over Array#sort().',\n },\n 'unicorn/no-await-expression-member': {\n description: 'Disallows member access from await expressions.',\n },\n 'unicorn/no-await-in-promise-methods': {\n description: 'Disallow using await in Promise method parameters.',\n },\n 'unicorn/no-confusing-array-with': {\n description: 'Disallows confusing uses of Array#with().',\n },\n 'unicorn/no-console-spaces': {\n description: 'Disallows leading/trailing space inside console.log() and similar methods.',\n },\n 'unicorn/no-document-cookie': {\n description: 'Disallows direct use of document.cookie.',\n },\n 'unicorn/no-empty-file': {\n description: 'Disallows files that do not contain any meaningful code.',\n },\n 'unicorn/no-hex-escape': {\n description:\n 'Enforces a convention of using Unicode escapes instead of hexadecimal escapes for consistency and clarity.',\n },\n 'unicorn/no-immediate-mutation': {\n description: 'Disallows mutating a variable immediately after initialization.',\n },\n 'unicorn/no-instanceof-array': {\n description: 'Require Array.isArray() instead of instanceof Array.',\n },\n 'unicorn/no-instanceof-builtins': {\n defaultOptions: {\n exclude: [],\n include: [],\n strategy: '\"loose\"',\n useErrorIsError: false,\n },\n description: 'Disallows the use of instanceof with ECMAScript built-in constructors because:',\n },\n 'unicorn/no-invalid-fetch-options': {\n description:\n 'Disallow invalid options in fetch() and new Request(). Specifically, this rule ensures that a body is not provided when the method is GET or HEAD, as it will result in a TypeError.',\n },\n 'unicorn/no-invalid-remove-event-listener': {\n description: 'It warns when you use a non-function value as the second argument of removeEventListener.',\n },\n 'unicorn/no-length-as-slice-end': {\n description: 'Disallow using length as the end argument of a slice call.',\n },\n 'unicorn/no-lonely-if': {\n description: 'Disallow if statements as the only statement in if blocks without else.',\n },\n 'unicorn/no-magic-array-flat-depth': {\n description: 'Disallow magic numbers for Array.prototype.flat depth.',\n },\n 'unicorn/no-negated-condition': {\n description: 'Disallow negated conditions.',\n },\n 'unicorn/no-negation-in-equality-check': {\n description: 'Disallow negated expressions on the left of (in)equality checks.',\n },\n 'unicorn/no-nested-ternary': {\n description: 'Disallow deeply nested ternary expressions.',\n },\n 'unicorn/no-new-array': {\n description: 'Disallow new Array().',\n },\n 'unicorn/no-new-buffer': {\n description: 'Disallows the deprecated new Buffer() constructor.',\n },\n 'unicorn/no-null': {\n defaultOptions: {\n checkArguments: true,\n checkStrictEquality: false,\n },\n description: 'Disallow the use of the null literal, to encourage using undefined instead.',\n },\n 'unicorn/no-object-as-default-parameter': {\n description: 'Disallow the use of an object literal as a default value for a parameter.',\n },\n 'unicorn/no-process-exit': {\n description: 'Disallow all usage of process.exit().',\n },\n 'unicorn/no-single-promise-in-promise-methods': {\n description: 'Disallow passing single-element arrays to Promise methods.',\n },\n 'unicorn/no-static-only-class': {\n description: 'Disallow class declarations that exclusively contain static members.',\n },\n 'unicorn/no-thenable': {\n description: 'Disallow defining a then property.',\n },\n 'unicorn/no-this-assignment': {\n description: 'Disallow assigning this to a variable.',\n },\n 'unicorn/no-typeof-undefined': {\n defaultOptions: {\n checkGlobalVariables: false,\n },\n description: 'Disallow typeof comparisons with undefined.',\n },\n 'unicorn/no-unnecessary-array-flat-depth': {\n description: 'Disallows passing 1 to Array.prototype.flat.',\n },\n 'unicorn/no-unnecessary-array-splice-count': {\n description:\n 'Disallows passing .length or Infinity as the deleteCount or skipCount argument of Array#splice() or Array#toSpliced().',\n },\n 'unicorn/no-unnecessary-await': {\n description: 'Disallow awaiting on non-promise values.',\n },\n 'unicorn/no-unnecessary-slice-end': {\n description:\n 'Disallows unnecessarily passing a second argument to slice(...), for cases where it would not change the result.',\n },\n 'unicorn/no-unreadable-array-destructuring': {\n description: 'Disallows destructuring values from an array in ways that are difficult to read.',\n },\n 'unicorn/no-unreadable-iife': {\n description: 'This rule disallows IIFEs with a parenthesized arrow function body.',\n },\n 'unicorn/no-useless-collection-argument': {\n description: 'Disallow useless values or fallbacks in Set, Map, WeakSet, or WeakMap.',\n },\n 'unicorn/no-useless-error-capture-stack-trace': {\n description: 'Disallows unnecessary Error.captureStackTrace(…) in error constructors.',\n },\n 'unicorn/no-useless-fallback-in-spread': {\n description: 'Disallow useless fallback when spreading in object literals.',\n },\n 'unicorn/no-useless-iterator-to-array': {\n description: 'Disallow unnecessary .toArray() on iterators.',\n },\n 'unicorn/no-useless-length-check': {\n description: 'It checks for an unnecessary array length check in a logical expression.',\n },\n 'unicorn/no-useless-promise-resolve-reject': {\n defaultOptions: {\n allowReject: false,\n },\n description:\n 'Disallows returning values wrapped in Promise.resolve or Promise.reject in an async function or a Promise#then/catch/finally callback.',\n },\n 'unicorn/no-useless-spread': {\n description: 'Disallows using spread syntax in following, unnecessary cases:',\n },\n 'unicorn/no-useless-switch-case': {\n description: 'Disallows useless default cases in switch statements.',\n },\n 'unicorn/no-useless-undefined': {\n defaultOptions: {\n checkArguments: true,\n checkArrowFunctionBody: true,\n },\n description: 'Prevents usage of undefined in cases where it would be useless.',\n },\n 'unicorn/no-zero-fractions': {\n description: 'Prevents the use of zero fractions.',\n },\n 'unicorn/number-literal-case': {\n description: 'This rule enforces proper case for numeric literals.',\n },\n 'unicorn/numeric-separators-style': {\n defaultOptions: {\n binary: {\n groupLength: 4,\n minimumDigits: 0,\n },\n hexadecimal: {\n groupLength: 2,\n minimumDigits: 0,\n },\n number: {\n fractionGroupLength: 'Infinity',\n groupLength: 3,\n minimumDigits: 5,\n },\n octal: {\n groupLength: 4,\n minimumDigits: 0,\n },\n onlyIfContainsSeparator: false,\n },\n description: 'Enforces a convention of grouping digits using numeric separators.',\n },\n 'unicorn/prefer-add-event-listener': {\n description:\n 'Enforces the use of .addEventListener() and .removeEventListener() over their on-function counterparts.',\n },\n 'unicorn/prefer-array-find': {\n description:\n 'Encourages using Array.prototype.find and Array.prototype.findLast instead of taking the first or last matching element from filter(...).',\n },\n 'unicorn/prefer-array-flat': {\n description: 'Prefers Array#flat() over legacy techniques to flatten arrays.',\n },\n 'unicorn/prefer-array-flat-map': {\n description: 'Prefers a single .flatMap() over .map().flat() or .filter().flatMap().',\n },\n 'unicorn/prefer-array-index-of': {\n description:\n 'Enforces using indexOf or lastIndexOf instead of findIndex or findLastIndex when the callback is a simple strict equality comparison.',\n },\n 'unicorn/prefer-array-some': {\n description:\n 'Prefers using Array#some() over Array#find(), Array#findLast() with comparing to undefined, or Array#findIndex(), Array#findLastIndex() and a non-zero length check on the result of Array#filter()',\n },\n 'unicorn/prefer-at': {\n defaultOptions: {\n checkAllIndexAccess: false,\n getLastElementFunctions: [],\n },\n description: 'Prefer the Array#at() and String#at() methods for index access.',\n },\n 'unicorn/prefer-bigint-literals': {\n description:\n 'Requires using BigInt literals (e.g. 123n) instead of calling the BigInt() constructor with literal arguments such as numbers or numeric strings',\n },\n 'unicorn/prefer-blob-reading-methods': {\n description:\n 'Recommends using Blob#text() and Blob#arrayBuffer() over FileReader#readAsText() and FileReader#readAsArrayBuffer().',\n },\n 'unicorn/prefer-class-fields': {\n description: 'Prefers class field declarations over this assignments in constructors for static values.',\n },\n 'unicorn/prefer-classlist-toggle': {\n description:\n 'Prefers the use of element.classList.toggle(className, condition) over conditional add/remove patterns.',\n },\n 'unicorn/prefer-code-point': {\n description:\n 'Prefer usage of String#codePointAt over String#charCodeAt. Prefer usage of String.fromCodePoint over String.fromCharCode.',\n },\n 'unicorn/prefer-date-now': {\n description: 'Prefers use of Date.now() over new Date().getTime() or new Date().valueOf().',\n },\n 'unicorn/prefer-default-parameters': {\n description:\n 'Instead of reassigning a function parameter, default parameters should be used. The foo = foo || 123 statement evaluates to 123 when foo is falsy, possibly leading to confusing behavior, whereas default parameters only apply when passed an undefined value. This rule only reports reassignments to literal values.',\n },\n 'unicorn/prefer-dom-node-append': {\n description:\n 'Enforces the use of, for example, document.body.append(div); over document.body.appendChild(div); for DOM nodes.',\n },\n 'unicorn/prefer-dom-node-dataset': {\n description:\n 'Use .dataset on DOM elements over getAttribute(…), .setAttribute(…), .removeAttribute(…) and .hasAttribute(…).',\n },\n 'unicorn/prefer-dom-node-remove': {\n description: 'Prefers the use of child.remove() over parentNode.removeChild(child).',\n },\n 'unicorn/prefer-dom-node-text-content': {\n description: 'Enforces the use of .textContent over .innerText for DOM nodes.',\n },\n 'unicorn/prefer-event-target': {\n description: 'Prefers EventTarget over EventEmitter.',\n },\n 'unicorn/prefer-export-from': {\n defaultOptions: {\n checkUsedVariables: true,\n },\n description:\n \"When re-exporting from a module, it's unnecessary to import and then export. It can be done in a single export…from declaration. This rule encourages using direct re-export syntax (export ... from) instead of importing and then exporting. It helps reduce boilerplate code and keeps the module scope clean by avoiding unnecessary local bindings.\",\n },\n 'unicorn/prefer-global-this': {\n description:\n 'Enforces the use of globalThis instead of environment‑specific global object aliases (window, self, or global).',\n },\n 'unicorn/prefer-import-meta-properties': {\n description: 'Prefer import.meta.{dirname,filename} over legacy techniques for getting file paths.',\n },\n 'unicorn/prefer-includes': {\n description:\n 'Prefer includes() over indexOf() when checking for existence/non-existence. All built-ins have .includes() in addition to .indexOf().',\n },\n 'unicorn/prefer-keyboard-event-key': {\n description: 'Enforces the use of KeyboardEvent#key over KeyboardEvent#keyCode, which is deprecated.',\n },\n 'unicorn/prefer-logical-operator-over-ternary': {\n description: 'This rule finds ternary expressions that can be simplified to a logical operator.',\n },\n 'unicorn/prefer-math-min-max': {\n description:\n 'Prefers use of Math.min() and Math.max() instead of ternary expressions when performing simple comparisons.',\n },\n 'unicorn/prefer-math-trunc': {\n description: 'Prefers use of Math.trunc() instead of bitwise operations for clarity and more reliable results.',\n },\n 'unicorn/prefer-modern-dom-apis': {\n description: 'Enforces the use of:',\n },\n 'unicorn/prefer-modern-math-apis': {\n description: 'Checks for usage of legacy patterns for mathematical operations.',\n },\n 'unicorn/prefer-module': {\n description: 'Prefer JavaScript modules (ESM) over CommonJS.',\n },\n 'unicorn/prefer-native-coercion-functions': {\n description: 'Prefers built-in functions over custom ones with the same functionality.',\n },\n 'unicorn/prefer-negative-index': {\n description: 'Prefer using a negative index over .length - index when possible.',\n },\n 'unicorn/prefer-node-protocol': {\n description: 'Prefer using the node: protocol when importing Node.js built-in modules.',\n },\n 'unicorn/prefer-number-coercion': {\n description: 'Prefer Number() over parseFloat() and base-10 parseInt().',\n },\n 'unicorn/prefer-number-properties': {\n defaultOptions: {\n checkInfinity: false,\n checkNaN: true,\n },\n description:\n 'Disallows use of parseInt(), parseFloat(), isNaN(), isFinite(), NaN, Infinity and -Infinity as global variables.',\n },\n 'unicorn/prefer-object-from-entries': {\n defaultOptions: {\n functions: ['_.fromPairs', 'lodash.fromPairs'],\n },\n description: 'Encourages using Object.fromEntries when converting an array of key-value pairs into an object.',\n },\n 'unicorn/prefer-optional-catch-binding': {\n description: 'Prefers omitting the catch binding parameter if it is unused.',\n },\n 'unicorn/prefer-prototype-methods': {\n description: 'This rule prefers borrowing methods from the prototype instead of the instance.',\n },\n 'unicorn/prefer-query-selector': {\n defaultOptions: {\n allowWithVariables: false,\n },\n description:\n 'Prefer .querySelector() over .getElementById(). And prefer .querySelectorAll() over .getElementsByClassName(), .getElementsByTagName(), and .getElementsByName().',\n },\n 'unicorn/prefer-reflect-apply': {\n description: 'Disallows the use of Function.prototype.apply() and suggests using Reflect.apply() instead.',\n },\n 'unicorn/prefer-regexp-test': {\n description: 'Prefers RegExp#test() over String#match() and String#exec().',\n },\n 'unicorn/prefer-response-static-json': {\n description: 'Enforces the use of Response.json() over new Response(JSON.stringify()).',\n },\n 'unicorn/prefer-set-has': {\n description: 'Prefer Set#has() over Array#includes() when checking for existence or non-existence.',\n },\n 'unicorn/prefer-set-size': {\n description: 'Prefer Set#size over Set#length when the Set is converted to an array.',\n },\n 'unicorn/prefer-single-call': {\n defaultOptions: {\n ignore: [],\n },\n description:\n 'Enforces combining multiple Array#{push,unshift}(), Element#classList.{add,remove}(), and importScripts() into a single call.',\n },\n 'unicorn/prefer-spread': {\n description: 'Enforces the use of the spread operator (...) over outdated patterns.',\n },\n 'unicorn/prefer-string-raw': {\n description: 'Prefers use of String.raw to avoid escaping \\\\.',\n },\n 'unicorn/prefer-string-replace-all': {\n description: 'Prefers String#replaceAll() over String#replace() when using a regex with the global flag.',\n },\n 'unicorn/prefer-string-slice': {\n description: 'Prefer String#slice() over String#substr() and String#substring().',\n },\n 'unicorn/prefer-string-starts-ends-with': {\n description: 'Prefer String#startsWith() and String#endsWith() over using a regex with /^foo/ or /foo$/.',\n },\n 'unicorn/prefer-string-trim-start-end': {\n description:\n 'String#trimLeft() and String#trimRight() are aliases of String#trimStart() and String#trimEnd(). This is to ensure consistency and use direction-independent wording.',\n },\n 'unicorn/prefer-structured-clone': {\n defaultOptions: {\n functions: ['cloneDeep', 'utils.clone'],\n },\n description: 'Prefer using structuredClone to create a deep clone.',\n },\n 'unicorn/prefer-ternary': {\n description: 'Prefers ternary expressions over simple if/else statements.',\n },\n 'unicorn/prefer-top-level-await': {\n description: 'Prefer top-level await over top-level promises and async function calls.',\n },\n 'unicorn/prefer-type-error': {\n description: 'Enforce throwing a TypeError instead of a generic Error after a type checking if-statement.',\n },\n 'unicorn/relative-url-style': {\n description: 'Enforce consistent relative URL style.',\n },\n 'unicorn/require-array-join-separator': {\n description: 'Enforce using the separator argument with Array#join().',\n },\n 'unicorn/require-module-attributes': {\n description: 'This rule enforces a non-empty attribute list in import/export statements and import() expressions.',\n },\n 'unicorn/require-module-specifiers': {\n description: 'Enforce a non-empty specifier list in import and export statements.',\n },\n 'unicorn/require-number-to-fixed-digits-argument': {\n description: 'Enforce using the digits argument with Number#toFixed().',\n },\n 'unicorn/require-post-message-target-origin': {\n description: 'Enforce using the targetOrigin argument with window.postMessage().',\n },\n 'unicorn/switch-case-braces': {\n description:\n 'Requires empty switch cases to omit braces, while non-empty cases must use braces. This reduces visual clutter for empty cases and enforces proper scoping for non-empty ones.',\n },\n 'unicorn/switch-case-break-position': {\n description: 'Enforce consistent break/return/continue/throw position in case clauses.',\n },\n 'unicorn/text-encoding-identifier-case': {\n defaultOptions: {\n withDash: false,\n },\n description: 'This rule enforces consistent casing for text encoding identifiers, specifically:',\n },\n 'unicorn/throw-new-error': {\n description: 'This rule makes sure you always use new when throwing an error.',\n },\n 'vitest/consistent-each-for': {\n description:\n 'This rule enforces consistency in which method is used to create parameterized tests. This configuration affects different test function types (test, it, describe, suite).',\n },\n 'vitest/consistent-test-filename': {\n description:\n 'This rule triggers an error when a file is considered a test file, but its name does not match an expected filename format.',\n },\n 'vitest/consistent-test-it': {\n defaultOptions: {\n fn: '\"test\"',\n withinDescribe: '\"it\"',\n },\n description:\n 'Vitest allows you to choose how you want to define your tests, using the it or the test keywords, with multiple permutations for each:',\n },\n 'vitest/consistent-vitest-vi': {\n defaultOptions: {\n fn: '\"vi\"',\n },\n description: 'This rule triggers an error when an unexpected Vitest accessor is used.',\n },\n 'vitest/expect-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description:\n 'This rule triggers when there is no call made to expect in a test, ensure that there is at least one expect call made in a test.',\n },\n 'vitest/hoisted-apis-on-top': {\n description:\n 'Requires hoisted Vitest APIs (vi.mock, vi.unmock, and vi.hoisted) to appear at the top level of the file.',\n },\n 'vitest/max-expects': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum number of expect() calls in a single test.',\n },\n 'vitest/max-nested-describe': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum depth to nested describe() calls.',\n },\n 'vitest/no-alias-methods': {\n description: \"Enforces Vitest's canonical matcher names instead of aliases.\",\n },\n 'vitest/no-commented-out-tests': {\n description: \"This rule raises a warning about commented-out tests. It's similar to the no-disabled-tests rule.\",\n },\n 'vitest/no-conditional-expect': {\n description:\n 'This rule prevents the use of expect in conditional blocks, such as if and catch. This includes using expect in callbacks to functions named catch, which are assumed to be promises.',\n },\n 'vitest/no-conditional-in-test': {\n description: 'Disallow conditional statements in tests.',\n },\n 'vitest/no-conditional-tests': {\n description:\n 'The rule disallows the use of conditional statements within test cases to ensure that tests are deterministic and clearly readable.',\n },\n 'vitest/no-disabled-tests': {\n description: 'This rule raises a warning about disabled tests.',\n },\n 'vitest/no-duplicate-hooks': {\n description: 'Disallows duplicate hooks in describe blocks.',\n },\n 'vitest/no-focused-tests': {\n description:\n 'This rule reminds you to remove .only from your tests by raising a warning whenever you are using the exclusivity feature.',\n },\n 'vitest/no-hooks': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallows Jest setup and teardown hooks, such as beforeAll.',\n },\n 'vitest/no-identical-title': {\n description:\n 'This rule looks at the title of every test and test suite. It will report when two test suites or two test cases at the same level of a test suite have the same title.',\n },\n 'vitest/no-import-node-test': {\n description:\n 'This rule warns when node:test is imported (usually accidentally). With --fix, it will replace the import with vitest.',\n },\n 'vitest/no-importing-vitest-globals': {\n description: 'The rule disallows importing any Vitest global functions.',\n },\n 'vitest/no-interpolation-in-snapshots': {\n description: 'Prevents the use of string interpolations in snapshots.',\n },\n 'vitest/no-large-snapshots': {\n defaultOptions: {\n allowedSnapshots: {},\n inlineMaxSize: null,\n maxSize: 50,\n },\n description: 'Disallow large snapshots.',\n },\n 'vitest/no-mocks-import': {\n description: 'This rule reports imports from a path containing a __mocks__ component.',\n },\n 'vitest/no-restricted-matchers': {\n description: 'Ban specific matchers & modifiers from being used, and can suggest alternatives.',\n },\n 'vitest/no-restricted-vi-methods': {\n description: 'Restrict the use of specific jest and vi methods.',\n },\n 'vitest/no-standalone-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n },\n description:\n 'Prevents expect statements outside of a test or it block. An expect within a helper function (but outside of a test or it block) will not trigger this rule.',\n },\n 'vitest/no-test-prefixes': {\n description: 'Require using .only and .skip over f and x.',\n },\n 'vitest/no-test-return-statement': {\n description: 'Disallow explicitly returning from tests.',\n },\n 'vitest/no-unneeded-async-expect-function': {\n description: 'Disallows unnecessary async function wrapper for expected promises.',\n },\n 'vitest/padding-around-after-all-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more afterAll statements.',\n },\n 'vitest/padding-around-test-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more test/it statements.',\n },\n 'vitest/prefer-called-exactly-once-with': {\n description:\n 'It checks when a target is asserted with both toHaveBeenCalledOnce and toHaveBeenCalledWith instead of toHaveBeenCalledExactlyOnceWith.',\n },\n 'vitest/prefer-called-once': {\n description:\n 'Substitute toBeCalledTimes(1) and toHaveBeenCalledTimes(1) with toBeCalledOnce() and toHaveBeenCalledOnce() respectively.',\n },\n 'vitest/prefer-called-times': {\n description:\n 'This rule aims to enforce the use of toBeCalledTimes(1) or toHaveBeenCalledTimes(1) over toBeCalledOnce() or toHaveBeenCalledOnce().',\n },\n 'vitest/prefer-called-with': {\n description: 'Suggest using toBeCalledWith() or toHaveBeenCalledWith()',\n },\n 'vitest/prefer-comparison-matcher': {\n description:\n 'This rule checks for comparisons in tests that could be replaced with one of the following built-in comparison matchers:',\n },\n 'vitest/prefer-describe-function-title': {\n description:\n 'When testing a specific function, this rule aims to enforce passing a named function to describe() instead of an equivalent hardcoded string.',\n },\n 'vitest/prefer-each': {\n description: 'This rule enforces using each rather than manual loops.',\n },\n 'vitest/prefer-equality-matcher': {\n description:\n 'Jest has built-in matchers for expecting equality, which allow for more readable tests and error messages if an expectation fails.',\n },\n 'vitest/prefer-expect-assertions': {\n defaultOptions: {\n onlyFunctionsWithAsyncKeyword: false,\n onlyFunctionsWithExpectInCallback: false,\n onlyFunctionsWithExpectInLoop: false,\n },\n description:\n 'Enforces that every test has either expect.assertions(<number>) or expect.hasAssertions() as its first expression.',\n },\n 'vitest/prefer-expect-resolves': {\n description: 'Prefer await expect(...).resolves over expect(await ...) when testing promises.',\n },\n 'vitest/prefer-expect-type-of': {\n description: 'Enforce using toBeTypeOf instead of expect(typeof ...).toBe(...).',\n },\n 'vitest/prefer-hooks-in-order': {\n description: 'Ensures that hooks are in the order that they are called in.',\n },\n 'vitest/prefer-hooks-on-top': {\n description:\n \"While hooks can be setup anywhere in a test file, they are always called in a specific order, which means it can be confusing if they're intermixed with test cases.\",\n },\n 'vitest/prefer-import-in-mock': {\n description:\n 'This rule enforces using a dynamic import() in vi.mock() or vi.doMock(), which improves type information and IntelliSense for the mocked module.',\n },\n 'vitest/prefer-importing-vitest-globals': {\n description: \"Enforces explicit imports from 'vitest' instead of using Vitest globals.\",\n },\n 'vitest/prefer-lowercase-title': {\n defaultOptions: {\n allowedPrefixes: [],\n ignore: [],\n ignoreTopLevelDescribe: false,\n lowercaseFirstCharacterOnly: true,\n },\n description:\n 'Enforce it, test, describe, and bench to have descriptions that begin with a lowercase letter. This provides more readable test failures.',\n },\n 'vitest/prefer-mock-promise-shorthand': {\n description:\n 'When working with mocks of functions that return promises, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write. These methods should be preferred when possible.',\n },\n 'vitest/prefer-mock-return-shorthand': {\n description:\n 'When working with mocks of functions that return simple values, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write.',\n },\n 'vitest/prefer-snapshot-hint': {\n description:\n 'Enforces including a hint string with snapshot matchers (toMatchSnapshot and toThrowErrorMatchingSnapshot).',\n },\n 'vitest/prefer-spy-on': {\n description:\n 'When mocking a function by overwriting a property you have to manually restore the original implementation when cleaning up. When using jest.spyOn() Jest keeps track of changes, and they can be restored with jest.restoreAllMocks(), mockFn.mockRestore() or by setting restoreMocks to true in the Jest config.',\n },\n 'vitest/prefer-strict-boolean-matchers': {\n description: 'Enforce using toBe(true) and toBe(false) over matchers that coerce types to boolean.',\n },\n 'vitest/prefer-strict-equal': {\n description: 'This rule triggers a warning if toEqual() is used to assert equality.',\n },\n 'vitest/prefer-to-be': {\n description:\n 'Recommends using toBe matcher for primitive literals and specific matchers for null, undefined, and NaN.',\n },\n 'vitest/prefer-to-be-falsy': {\n description:\n 'This rule warns when toBe(false) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeFalsy().',\n },\n 'vitest/prefer-to-be-object': {\n description: 'This rule enforces using toBeObject() to check if a value is of type Object.',\n },\n 'vitest/prefer-to-be-truthy': {\n description:\n 'This rule warns when toBe(true) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeTruthy().',\n },\n 'vitest/prefer-to-contain': {\n description:\n 'In order to have a better failure message, toContain() should be used upon asserting expectations on an array containing an object.',\n },\n 'vitest/prefer-to-have-been-called-times': {\n description:\n 'In order to have a better failure message, [toHaveBeenCalledTimes should be used instead of directly checking the length of mock.calls](https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md).',\n },\n 'vitest/prefer-to-have-length': {\n description:\n 'In order to have a better failure message, toHaveLength() should be used upon asserting expectations on objects length property.',\n },\n 'vitest/prefer-todo': {\n description:\n 'When test cases are empty then it is better to mark them as test.todo as it will be highlighted in the summary output.',\n },\n 'vitest/require-awaited-expect-poll': {\n description:\n 'This rule ensures that promises returned by expect.poll and expect.element calls are handled properly.',\n },\n 'vitest/require-hook': {\n defaultOptions: {\n allowedFunctionCalls: [],\n },\n description:\n 'This rule flags any expression that is either at the toplevel of a test file or directly within the body of a describe, except for the following:',\n },\n 'vitest/require-local-test-context-for-concurrent-snapshots': {\n description:\n 'The rule is intended to ensure that concurrent snapshot tests are executed within a properly configured local test context.',\n },\n 'vitest/require-mock-type-parameters': {\n defaultOptions: {\n checkImportFunctions: false,\n },\n description:\n 'Enforces the use of type parameters on vi.fn(), and optionally on vi.importActual() and vi.importMock().',\n },\n 'vitest/require-test-timeout': {\n description:\n 'Requires every test to have a timeout specified, either as a numeric third argument, a { timeout } option, or via vi.setConfig({ testTimeout: ... }).',\n },\n 'vitest/require-to-throw-message': {\n description: 'This rule triggers a warning if toThrow() or toThrowError() is used without an error message.',\n },\n 'vitest/require-top-level-describe': {\n defaultOptions: {\n maxNumberOfTopLevelDescribes: 'Infinity',\n },\n description: 'Requires test cases and hooks to be inside a top-level describe block.',\n },\n 'vitest/valid-describe-callback': {\n description:\n 'This rule validates that the second parameter of a describe() function is a callback function. This callback function:',\n },\n 'vitest/valid-expect': {\n defaultOptions: {\n alwaysAwait: false,\n asyncMatchers: ['toResolve', 'toReject'],\n maxArgs: 1,\n minArgs: 1,\n },\n description: 'Checks that expect() is called correctly.',\n },\n 'vitest/valid-expect-in-promise': {\n description:\n 'Ensures that expect calls inside promise chains (.then(), .catch(), .finally()) are properly awaited or returned from the test.',\n },\n 'vitest/valid-title': {\n description: 'Checks that the titles of Jest and Vitest blocks are valid.',\n },\n 'vitest/warn-todo': {\n description: 'This rule warns about usage of .todo in describe, it, or test functions.',\n },\n 'vue/component-definition-name-casing': {\n description: 'Enforce specific casing for component definition names.',\n },\n 'vue/define-emits-declaration': {\n description:\n 'Enforce consistent declaration style for defineEmits in Vue. This rule only works in <script setup> with lang=\"ts\".',\n },\n 'vue/define-props-declaration': {\n description:\n 'Enforce consistent declaration style for defineProps in Vue. This rule only works in <script setup> with lang=\"ts\".',\n },\n 'vue/define-props-destructuring': {\n defaultOptions: {\n destructure: '\"only-when-assigned\"',\n },\n description:\n 'This rule enforces a consistent style for handling Vue 3 Composition API props, allowing you to choose between requiring destructuring or prohibiting it.',\n },\n 'vue/max-props': {\n defaultOptions: {\n maxProps: 1,\n },\n description: 'Enforce a maximum number of props defined for a given Vue component.',\n },\n 'vue/next-tick-style': {\n description: 'Enforce Promise or callback style in nextTick.',\n },\n 'vue/no-arrow-functions-in-watch': {\n description: 'This rule disallows using arrow functions when defining a watcher.',\n },\n 'vue/no-async-in-computed-properties': {\n defaultOptions: {\n ignoredObjectNames: [],\n },\n description: 'Disallow asynchronous actions in computed properties.',\n },\n 'vue/no-computed-properties-in-data': {\n description: 'Disallow accessing computed properties inside data().',\n },\n 'vue/no-deprecated-data-object-declaration': {\n description: 'Disallow object declarations for data (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-delete-set': {\n description: 'Disallow using deprecated $set / $delete (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-destroyed-lifecycle': {\n description: 'Disallow using deprecated destroyed and beforeDestroy lifecycle hooks in Vue.js 3.0.0+.',\n },\n 'vue/no-deprecated-events-api': {\n description: 'Disallow using deprecated Events API ($on, $off, $once) in Vue.js 3.0.0+.',\n },\n 'vue/no-deprecated-model-definition': {\n defaultOptions: {\n allowVue3Compat: false,\n },\n description: 'Disallow deprecated model definition (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-props-default-this': {\n description: 'Disallow deprecated this access in props default function (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-vue-config-keycodes': {\n description: 'Disallow using deprecated Vue.config.keyCodes (in Vue.js 3.0.0+).',\n },\n 'vue/no-dupe-keys': {\n defaultOptions: {\n groups: [],\n },\n description: 'Disallow duplication of field names.',\n },\n 'vue/no-export-in-script-setup': {\n description: 'Disallow export in <script setup>',\n },\n 'vue/no-expose-after-await': {\n description: 'Disallow asynchronously registered expose.',\n },\n 'vue/no-import-compiler-macros': {\n description: 'Disallow importing Vue compiler macros.',\n },\n 'vue/no-lifecycle-after-await': {\n description: 'Disallow asynchronously registered lifecycle hooks.',\n },\n 'vue/no-multiple-slot-args': {\n description: 'Disallow passing multiple arguments to scoped slots.',\n },\n 'vue/no-required-prop-with-default': {\n description: 'Enforce props with default values to be optional.',\n },\n 'vue/no-reserved-component-names': {\n defaultOptions: {\n disallowVue3BuiltInComponents: false,\n disallowVueBuiltInComponents: false,\n htmlElementCaseSensitive: false,\n },\n description:\n 'Disallow Vue component names that collide with HTML / SVG element names (and optionally Vue built-in component names).',\n },\n 'vue/no-reserved-keys': {\n defaultOptions: {\n groups: [],\n reserved: [],\n },\n description:\n 'Disallow overwriting reserved Vue instance keys (e.g. $data, $emit) or using _-prefixed keys inside data / asyncData.',\n },\n 'vue/no-reserved-props': {\n defaultOptions: {\n vueVersion: 3,\n },\n description: 'Disallow reserved attribute names (e.g. key, ref) from being used as prop names.',\n },\n 'vue/no-shared-component-data': {\n description: 'Enforce that the data property of a Vue component definition is a function.',\n },\n 'vue/no-side-effects-in-computed-properties': {\n description: 'Disallow side effects in computed properties.',\n },\n 'vue/no-this-in-before-route-enter': {\n description: 'Disallow this usage in a beforeRouteEnter method.',\n },\n 'vue/no-watch-after-await': {\n description: 'Disallow asynchronously-registered watch.',\n },\n 'vue/prefer-import-from-vue': {\n description: 'Enforce imports from vue instead of @vue/.',\n },\n 'vue/prop-name-casing': {\n description: 'Enforce a specific casing (camelCase or snake\\\\_case) for Vue component prop names.',\n },\n 'vue/require-default-export': {\n description: 'Require components to be the default export.',\n },\n 'vue/require-default-prop': {\n description: 'Requires default value to be set for props that are not marked as required.',\n },\n 'vue/require-direct-export': {\n defaultOptions: {\n disallowFunctionalComponentFunction: false,\n },\n description: 'This rule requires that the component object be directly exported.',\n },\n 'vue/require-prop-type-constructor': {\n description:\n 'Require props type values to be a constructor function (e.g. String, Number, Boolean) rather than a string, number, or other literal.',\n },\n 'vue/require-prop-types': {\n description: 'This rule enforces that a props statement contains a type definition.',\n },\n 'vue/require-render-return': {\n description: 'Enforce that a render function always returns a value.',\n },\n 'vue/require-slots-as-functions': {\n description: 'Enforce properties of $slots to be used as functions.',\n },\n 'vue/require-typed-ref': {\n description: 'Require ref and shallowRef functions to be strongly typed.',\n },\n 'vue/return-in-computed-property': {\n defaultOptions: {\n treatUndefinedAsUnspecified: true,\n },\n description: 'Enforce that a return statement is present in every computed property.',\n },\n 'vue/return-in-emits-validator': {\n description: 'Enforce that a return statement is present in emits validators (in Vue.js 3.0.0+).',\n },\n 'vue/valid-define-emits': {\n description: 'Enforce valid usage of the defineEmits compiler macro in Vue.',\n },\n 'vue/valid-define-options': {\n description: 'Enforce valid use of the defineOptions compiler macro.',\n },\n 'vue/valid-define-props': {\n description: 'Enforce valid usage of the defineProps compiler macro in Vue.',\n },\n 'vue/valid-next-tick': {\n description: 'Enforce valid nextTick function calls.',\n },\n} as const\n","import type { Jiti } from 'jiti'\nimport type { ExternalPluginEntry } from 'oxlint'\nimport type { LoadedOxlintConfig } from './config'\n\nimport path from 'node:path'\nimport { fileURLToPath, pathToFileURL } from 'node:url'\n\nimport { createJiti } from 'jiti'\n\ntype JsPlugin = {\n meta?: {\n name?: string\n }\n rules?: Record<string, JsPluginRuleDefinition>\n}\n\ntype JsPluginRuleDefinition = {\n meta?: unknown\n}\n\ntype PluginRuleInfo = {\n /** The rule's own metadata (e.g. schema, deprecation info). */\n meta?: unknown\n /** The rule name as exported by the plugin (without prefix). */\n name: string\n /** The plugin name this rule belongs to. */\n pluginName: string\n /** The fully-qualified rule ID, e.g. `\"my-plugin/my-rule\"`. */\n ruleId: string\n}\n\n/**\n * Information about a successfully loaded JS plugin.\n */\nexport type PluginInfo = {\n /** Deduplication key of the declaring entry, matching {@link getPluginEntryKey}. */\n entryKey: string\n name: string\n /** The resolved file path to the plugin module on disk. */\n resolvedPath: string\n rules: PluginRuleInfo[]\n /** The original specifier used to load the plugin (path or package name). */\n specifier: string\n}\n\n/**\n * Represents an error that occurred while loading a JS plugin entry.\n */\nexport type PluginLoadError = {\n message: string\n name?: string\n specifier: string\n}\n\n/**\n * The result of loading JS plugins from a config, including any failures.\n */\nexport type LoadedPlugins = {\n errors: PluginLoadError[]\n plugins: PluginInfo[]\n}\n\ntype PluginLoadResult = PluginInfo | PluginLoadError\n\n/**\n * Loads all JS plugins declared in the config (both root-level and override-level).\n *\n * Each plugin entry is imported dynamically. Failures are captured as\n * {@link PluginLoadError} rather than thrown, so partial success is possible.\n *\n * @param config - The loaded Oxlint config.\n * @returns All successfully loaded plugins and any load errors encountered.\n */\nexport async function getPlugins(config: LoadedOxlintConfig): Promise<LoadedPlugins> {\n const entries = getPluginEntries(config)\n const pluginLoader = createJiti(config.filepath)\n const results = await Promise.all(\n entries.map(async (entry) => {\n try {\n return await loadPlugin(entry, config.filepath, pluginLoader)\n } catch (error) {\n return createPluginLoadError(entry, error)\n }\n }),\n )\n const errors: PluginLoadError[] = []\n const plugins: PluginInfo[] = []\n\n for (const result of results) {\n if (isPluginLoadError(result)) {\n errors.push(result)\n continue\n }\n\n plugins.push(result)\n }\n\n return {\n errors,\n plugins,\n }\n}\n\n/**\n * Collects all unique JS plugin entries from root-level and override-level config, deduplicating by key.\n */\nfunction getPluginEntries(config: LoadedOxlintConfig) {\n const entries = new Map<string, ExternalPluginEntry>()\n\n for (const entry of config.config.jsPlugins ?? []) {\n entries.set(getPluginEntryKey(entry), entry)\n }\n\n for (const override of config.config.overrides ?? []) {\n for (const entry of override.jsPlugins ?? []) {\n entries.set(getPluginEntryKey(entry), entry)\n }\n }\n\n return [...entries.values()]\n}\n\n/**\n * Resolves display names for JS plugin entries declared in a single config block.\n *\n * Entries are matched to loaded plugins by their deduplication key so that the\n * same specifier loaded under multiple aliases resolves deterministically. Entries\n * that failed to load fall back to their alias or specifier.\n *\n * @param entries - JS plugin entries from a root or override config block.\n * @param plugins - Successfully loaded plugins used to normalize names.\n * @returns Display names in declaration order.\n */\nexport function getPluginEntryNames(entries: ExternalPluginEntry[], plugins: PluginInfo[]): string[] {\n const namesByKey = new Map(plugins.map((plugin) => [plugin.entryKey, plugin.name]))\n\n return entries.map((entry) => {\n const loadedName = namesByKey.get(getPluginEntryKey(entry))\n\n if (loadedName) {\n return loadedName\n }\n\n return typeof entry === 'string' ? entry : entry.name\n })\n}\n\n/**\n * Computes a deduplication key for a plugin entry.\n *\n * String entries use the specifier itself as the key. Object entries use\n * `\"name:specifier\"` so that the same package loaded under a different alias\n * is treated as a distinct plugin.\n *\n * @param entry - The plugin entry (string specifier or object).\n * @returns A unique key string for deduplication.\n */\nfunction getPluginEntryKey(entry: ExternalPluginEntry) {\n if (typeof entry === 'string') {\n return entry\n }\n\n return `${entry.name}:${entry.specifier}`\n}\n\n/**\n * Wraps an error thrown during plugin loading into a structured {@link PluginLoadError}.\n */\nfunction createPluginLoadError(entry: ExternalPluginEntry, error: unknown): PluginLoadError {\n return {\n message: error instanceof Error ? error.message : String(error),\n name: typeof entry === 'string' ? undefined : entry.name,\n specifier: getPluginSpecifier(entry),\n }\n}\n\n/**\n * Type guard that discriminates {@link PluginLoadError} from {@link PluginInfo}.\n */\nfunction isPluginLoadError(result: PluginLoadResult): result is PluginLoadError {\n return 'message' in result\n}\n\n/**\n * Resolves, imports, and extracts rule information from a single JS plugin entry.\n */\nasync function loadPlugin(entry: ExternalPluginEntry, configFilepath: string, pluginLoader: Jiti): Promise<PluginInfo> {\n const specifier = getPluginSpecifier(entry)\n const resolvedPath = resolvePluginPath(specifier, configFilepath, pluginLoader)\n const plugin = await importPlugin(resolvedPath, pluginLoader)\n const name = getPluginName(entry, specifier, plugin)\n const rules = getPluginRules(name, plugin)\n\n return {\n entryKey: getPluginEntryKey(entry),\n name,\n resolvedPath,\n rules,\n specifier,\n }\n}\n\n/**\n * Extracts the specifier (path or package name) from a plugin entry.\n */\nfunction getPluginSpecifier(entry: ExternalPluginEntry) {\n if (typeof entry === 'string') {\n return entry\n }\n\n return entry.specifier\n}\n\n/**\n * Resolves a plugin specifier to an absolute file path.\n *\n * Handles three cases: `file:` URLs, relative/absolute path specifiers\n * (resolved against the config file directory), and bare package specifiers\n * (resolved via Node's module resolution).\n *\n * @param specifier - The plugin specifier string.\n * @param configFilepath - Absolute path to the config file declaring the plugin.\n * @returns The absolute file path to the plugin module.\n */\nfunction resolvePluginPath(specifier: string, configFilepath: string, pluginLoader: Jiti) {\n if (specifier.startsWith('file:')) {\n return fileURLToPath(specifier)\n }\n\n const resolved = pluginLoader.esmResolve(specifier, {\n parentURL: pathToFileURL(configFilepath).href,\n })\n\n return resolved.startsWith('file:') ? fileURLToPath(resolved) : resolved\n}\n\n/**\n * Dynamically imports a plugin module and validates that it is a {@link JsPlugin}.\n *\n * @throws {TypeError} If the imported module is not a valid plugin object.\n */\nasync function importPlugin(resolvedPath: string, pluginLoader: Jiti): Promise<JsPlugin> {\n const plugin = await pluginLoader.import(pathToFileURL(resolvedPath).href, { default: true })\n\n if (!isJsPlugin(plugin)) {\n throw new TypeError(`Invalid Oxlint JS plugin: ${resolvedPath}`)\n }\n\n return plugin\n}\n\n/**\n * Type guard that checks whether a value is a non-null object (valid JS plugin).\n */\nfunction isJsPlugin(value: unknown): value is JsPlugin {\n return typeof value === 'object' && value !== null\n}\n\n/**\n * Determines the plugin name based on the entry type and specifier.\n *\n * Priority:\n * 1. Object entry — uses the explicitly provided `name` (alias).\n * 2. Path specifier — uses `meta.name` from the plugin, falling back to the basename.\n * 3. Package specifier — normalizes the package name (strips `eslint-plugin-` prefix).\n */\nfunction getPluginName(entry: ExternalPluginEntry, specifier: string, plugin: JsPlugin) {\n if (typeof entry !== 'string') {\n return entry.name\n }\n\n if (isPathSpecifier(specifier)) {\n return plugin.meta?.name ?? path.basename(specifier, path.extname(specifier))\n }\n\n return normalizePackagePluginName(specifier)\n}\n\n/**\n * Extracts rule definitions from a loaded plugin and wraps them with metadata.\n */\nfunction getPluginRules(pluginName: string, plugin: JsPlugin) {\n const rules = plugin.rules ?? {}\n const infos: PluginRuleInfo[] = []\n\n for (const [name, rule] of Object.entries(rules)) {\n infos.push({\n meta: rule.meta,\n name,\n pluginName,\n ruleId: `${pluginName}/${name}`,\n })\n }\n\n return infos\n}\n\n/**\n * Returns `true` if the specifier looks like a local file path (starts with `./`, `../`, or `/`).\n */\nfunction isPathSpecifier(specifier: string) {\n return specifier.startsWith('.') || specifier.startsWith('/')\n}\n\n/**\n * Derives a plugin name from a resolved npm package path.\n *\n * Strips the `eslint-plugin-` prefix and handles scoped packages\n * (e.g. `@scope/eslint-plugin-foo` becomes `@scope/foo`).\n */\nfunction normalizePackagePluginName(specifier: string) {\n const packageName = specifier.split('/node_modules/').at(-1) ?? specifier\n\n if (packageName.startsWith('@')) {\n const [scope, name] = packageName.split('/')\n const scopedName = scope ?? packageName\n\n if (name === 'eslint-plugin') {\n return scopedName\n }\n\n if (!name) {\n return scopedName\n }\n\n return `${scopedName}/${name.replace(/^eslint-plugin-?/, '')}`\n }\n\n return packageName.replace(/^eslint-plugin-?/, '')\n}\n","import type { RuleInfo } from './types'\n\nimport { createRequire } from 'node:module'\nimport path from 'node:path'\nimport process from 'node:process'\n\nimport { x } from 'tinyexec'\n\nlet oxlintBinaryAvailability: Promise<boolean> | undefined\n\n/**\n * Options for locating and invoking the project's linter.\n */\nexport type GetOxlintRulesOptions = {\n /** The project directory used to resolve and run Vite+. Defaults to `process.cwd()`. */\n cwd?: string\n /** Selects Vite+ instead of Oxlint. When omitted, detects Vite+ in the project. */\n useVitePlus?: boolean\n}\n\n/**\n * Fetches the list of builtin lint rules by invoking the linter binary.\n *\n * @param options - See {@link GetOxlintRulesOptions}.\n * @returns The parsed rules, or an empty array if the binary is unavailable or the invocation fails.\n */\nexport async function getOxlintRules(options?: GetOxlintRulesOptions): Promise<RuleInfo[]> {\n const cwd = path.resolve(options?.cwd ?? process.cwd())\n const entry = resolveVitePlusEntry(cwd)\n\n if (options?.useVitePlus ?? Boolean(entry)) {\n return getVitePlusRules(cwd, entry)\n }\n\n if (!(await isOxlintBinaryAvailable())) {\n console.error('Unable to inspect builtin Oxlint rules because the `oxlint` binary is not available on PATH.')\n return []\n }\n\n try {\n const rules = await x('oxlint', ['--rules', '--format=json'])\n return JSON.parse(rules.stdout) as RuleInfo[]\n } catch (error) {\n console.error('Error fetching Oxlint rules:', error)\n return []\n }\n}\n\nfunction resolveVitePlusEntry(cwd: string): string | undefined {\n const require = createRequire(path.join(cwd, 'package.json'))\n\n // Resolve only project ancestors, excluding unrelated packages on NODE_PATH.\n for (let directory = cwd; ; directory = path.dirname(directory)) {\n try {\n const packagePath = require.resolve(path.join(directory, 'node_modules/vite-plus/package.json'))\n return path.join(path.dirname(packagePath), 'bin/vp')\n } catch {\n if (path.dirname(directory) === directory) {\n return undefined\n }\n }\n }\n}\n\nasync function getVitePlusRules(cwd: string, entry: string | undefined) {\n try {\n const args = ['lint', '--rules', '--format=json']\n const rules = await x(entry ? process.execPath : 'vp', entry ? [entry, ...args] : args, {\n nodeOptions: { cwd },\n })\n return JSON.parse(rules.stdout) as RuleInfo[]\n } catch (error) {\n console.error('Error fetching Vite+ rules:', error)\n return []\n }\n}\n\nasync function isOxlintBinaryAvailable() {\n oxlintBinaryAvailability ??= checkOxlintBinaryAvailability()\n\n return oxlintBinaryAvailability\n}\n\nasync function checkOxlintBinaryAvailability() {\n try {\n await x('oxlint', ['--version'])\n return true\n } catch {\n return false\n }\n}\n","import type { RuleInfo } from './types'\n\n/** Type guard that checks whether a value is a non-null object (record). */\nexport function isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null\n}\n\n/** Returns the string value if it is a string, or `undefined` otherwise. */\nexport function getString(value: unknown) {\n return typeof value === 'string' ? value : undefined\n}\n\n/** Returns the boolean value if it is a boolean, or `undefined` otherwise. */\nexport function getBoolean(value: unknown) {\n return typeof value === 'boolean' ? value : undefined\n}\n\ntype ScopeConfig = {\n /** Canonical plugin prefix used by Oxlint for this internal rule scope. */\n pluginName: string\n /** Additional accepted rule prefixes that should resolve to the same builtin rule. */\n prefixAliases?: string[]\n}\n\n/**\n * Maps oxlint's internal rule scopes to user-facing plugin prefixes and known\n * compatibility aliases accepted by oxlint.\n *\n * This mirrors the plugin scope normalization in Oxlint so rules configured\n * with aliases like `@typescript-eslint/no-unused-vars`,\n * `react-hooks/rules-of-hooks`, or `deepscan/no-...` resolve to the same\n * builtin catalog entries as their canonical Oxlint rule IDs.\n *\n * @see https://github.com/oxc-project/oxc/blob/f30a64c2/crates/oxc_linter/src/config/plugins.rs#L150-L184\n */\nexport const SCOPE_CONFIG: Record<string, ScopeConfig> = {\n import: { pluginName: 'import', prefixAliases: ['import-x'] },\n jsx_a11y: { pluginName: 'jsx-a11y', prefixAliases: ['jsx_a11y', 'jsx-a11y-x', 'jsx_a11y-x'] },\n oxc: { pluginName: 'oxc', prefixAliases: ['deepscan'] },\n react: { pluginName: 'react', prefixAliases: ['react-hooks', 'react_hooks'] },\n react_perf: { pluginName: 'react-perf', prefixAliases: ['react_perf'] },\n typescript: {\n pluginName: 'typescript',\n prefixAliases: ['@typescript-eslint', 'typescript-eslint', 'typescript_eslint'],\n },\n}\n\n/**\n * Resolves an Oxlint internal scope name to its canonical user-facing plugin prefix.\n *\n * @param scope - The internal scope name from Oxlint.\n * @returns The canonical plugin prefix, or the scope itself if no mapping exists.\n */\nexport function getPluginName(scope: string): string {\n return SCOPE_CONFIG[scope]?.pluginName ?? scope\n}\n\n/**\n * Constructs a fully-qualified rule ID from an Oxlint rule's scope and value.\n *\n * @param rule - The rule info from Oxlint.\n * @returns The fully-qualified rule ID (e.g. `\"eslint/no-debugger\"`).\n */\nexport function getBuiltinRuleId(rule: RuleInfo): string {\n return `${getPluginName(rule.scope)}/${rule.value}`\n}\n","import type { RuleCategories } from 'oxlint'\nimport type { GetConfigOptions, LoadedOxlintConfig } from './config'\nimport type { PluginInfo, PluginLoadError } from './plugins'\nimport type { RuleInfo } from './types'\n\nimport pkgJson from '../package.json'\nimport { getConfig } from './config'\nimport { builtinRuleDocs } from './generated/builtin-rule-docs'\nimport { getPluginEntryNames, getPlugins } from './plugins'\nimport { getOxlintRules } from './rules'\nimport { getBoolean, getBuiltinRuleId, getPluginName, getString, isRecord, SCOPE_CONFIG } from './utils'\n\n// Oxlint enables these plugin scopes unless the root `plugins` field replaces the default set.\n// Source: https://github.com/oxc-project/oxc/blob/070cfc74fb8b3faa27fb272243ba4e989cde05f8/crates/oxc_linter/src/config/plugins.rs#L116-L122\nconst DEFAULT_ENABLED_PLUGIN_NAMES = ['typescript', 'unicorn', 'oxc'] as const\n\n/**\n * Origin of a plugin entry discovered during config inspection.\n */\nexport type InspectedPluginSource = 'builtin' | 'js-plugin'\n\n/**\n * Summary information about a builtin or JS plugin discovered during config inspection.\n */\nexport type InspectedPlugin = {\n /** Number of rules exported by the plugin. */\n ruleCount: number\n /** The plugin name used as the rule prefix. */\n name: string\n /** The original specifier used to load the JS plugin (path or package name). */\n specifier?: string\n /** Whether this is an Oxlint builtin plugin scope or a loaded JS plugin. */\n source: InspectedPluginSource\n}\n\n/**\n * Error information for a JS plugin that failed to load during config inspection.\n */\nexport type InspectedPluginLoadError = PluginLoadError\n\n/**\n * Normalized severity for a configured or cataloged Oxlint rule.\n */\nexport type RuleSeverity = 'error' | 'warn' | 'off' | 'unknown'\n\n/**\n * Origin of a rule discovered during config inspection.\n */\nexport type InspectedRuleSource = 'builtin' | 'js-plugin' | 'unknown'\n\n/**\n * ESLint-compatible rule type, when supplied by JS plugin metadata.\n */\nexport type InspectedRuleType = 'layout' | 'problem' | 'suggestion'\n\n/**\n * Normalized severity state used by the inspector UI.\n */\nexport type InspectedRuleUsageSeverity = 'error' | 'warn' | 'off'\n\n/**\n * Normalized representation of a rule entry from an Oxlint config.\n */\nexport type InspectedRuleConfig = {\n /** Rule options after the severity tuple item, or an empty array when none are configured. */\n options: unknown[]\n /** The original unmodified config value for the rule. */\n raw: unknown\n /** The rule ID exactly as it appeared in the config entry. */\n ruleId: string\n /** The normalized severity parsed from the config value. */\n severity: RuleSeverity\n}\n\n/**\n * Aggregate counts derived from inspected rules.\n */\nexport type InspectConfigStats = {\n /** Number of builtin rules known to the inspector. */\n builtinRules: number\n /** Number of rules configured at the root config level. */\n configuredRules: number\n /** Number of deprecated rules known to the inspector. */\n deprecatedRules: number\n /** Number of rules enabled by default, root config, or override config. */\n enabledRules: number\n /** Number of rules that can apply an automatic fix. */\n fixableRules: number\n /** Number of JS plugin rules known to the inspector. */\n jsPluginRules: number\n /** Number of rules configured in one or more override blocks. */\n overrideRules: number\n /** Number of rules that belong to a recommended rule set. */\n recommendedRules: number\n /** Total number of builtin, JS plugin, and unknown rules known to the inspector. */\n totalRules: number\n /** Number of configured rules that were not found in the builtin catalog or loaded JS plugins. */\n unknownRules: number\n}\n\n/**\n * Compact usage references for category, root, and override configuration.\n */\nexport type InspectedRuleUsage = {\n /** Whether this rule is enabled by a category-level severity config. */\n category: boolean\n /** Override group indexes that configure this rule. */\n overrideGroups: number[]\n /** Whether this rule is configured at the root config level. */\n root: boolean\n}\n\n/**\n * A builtin, JS plugin, or unknown rule with its catalog metadata and config state.\n */\nexport type InspectedRule = {\n /** Rule IDs that resolve to this rule, including compatibility aliases. */\n aliases: string[]\n /** Oxlint category for builtin rules, when available. */\n category?: string\n /** Root-level config applied to this rule, when configured. */\n configured?: InspectedRuleConfig\n /** Severity implied by the rule catalog before user configuration is applied. */\n defaultSeverity: RuleSeverity\n /** Documented default option values, when available. */\n defaultOptions?: Record<string, unknown>\n /** Human-readable rule description from ESLint-compatible rule metadata, when available. */\n description?: string\n /** Whether the rule is deprecated. */\n deprecated: boolean\n /** Documentation URL for builtin rules, when available. */\n docsUrl?: string\n /** Whether the rule can apply an automatic fix. */\n fixable: boolean\n /** Whether the rule can provide editor suggestions. */\n hasSuggestions: boolean\n /** Rule metadata provided by a JS plugin rule, when available. */\n meta?: unknown\n /** Rule name without the plugin prefix. */\n name: string\n /** Whether this rule is configured but explicitly turned off everywhere. */\n offOnly: boolean\n /** Whether this rule has more than one normalized usage severity. */\n overloaded: boolean\n /** Plugin or scope name for the rule, when the rule ID has one. */\n pluginName?: string\n /** Whether the rule belongs to the recommended/default-enabled rule set. */\n recommended: boolean\n /** Replacement rule IDs or names declared by deprecation metadata. */\n replacedBy: string[]\n /** Canonical rule ID used by the inspector. */\n ruleId: string\n /** Unique normalized severities present on this rule, ordered as error, warn, then off. */\n severityStates: InspectedRuleUsageSeverity[]\n /** ESLint-compatible rule type, when available. */\n ruleType?: InspectedRuleType\n /** Source that supplied this rule. */\n source: InspectedRuleSource\n /** Whether a builtin rule requires type information, when available. */\n typeAware?: boolean\n /** Compact usage references for default, root, and override configuration. */\n usage: InspectedRuleUsage\n /** Whether this rule is used by default, root config, or override config. */\n used: boolean\n}\n\n/**\n * A rule entry grouped under a config override block.\n */\nexport type InspectedOverrideGroupRule = {\n /** Rule options after the severity tuple item, or an empty array when none are configured. */\n options: unknown[]\n /** The original unmodified config value for the rule. */\n raw: unknown\n /** Canonical rule ID used by the inspector. */\n ruleId: string\n /** Normalized severity parsed from the override config value. */\n severity: RuleSeverity\n /** Source that supplied this rule. */\n source: InspectedRuleSource\n}\n\n/**\n * A normalized config override block.\n */\nexport type InspectedOverrideGroup = {\n /** File globs excluded by the override, when configured. */\n excludeFiles?: string[]\n /** File globs included by the override. */\n files: string[]\n /** Zero-based position of the override in the resolved config. */\n index: number\n /** JS plugins enabled by this override block. */\n jsPlugins?: string[]\n /** Plugins enabled by this override block. */\n plugins?: string[]\n /** Rules configured by this override block. */\n rules: InspectedOverrideGroupRule[]\n}\n\n/**\n * Complete inspection result for a resolved Oxlint config.\n */\nexport type InspectConfigResult = {\n /** Every config file visited while resolving `extends`. */\n configFiles: string[]\n /** Absolute path to the root config file that was inspected. */\n configFilepath: string\n /** ISO 8601 timestamp for when this inspection result was generated. */\n generatedAt: string\n /** Override blocks from the resolved config, including blocks without rule configs. */\n overrideGroups: InspectedOverrideGroup[]\n /** JS plugin load errors encountered during inspection. */\n pluginErrors: InspectedPluginLoadError[]\n /** Builtin plugin scopes and JS plugins discovered during inspection. */\n plugins: InspectedPlugin[]\n /** Available plugin filter values derived from inspected rules. */\n rulePluginFilters: string[]\n /** All builtin, JS plugin, and unknown rules known to the inspector. */\n rules: InspectedRule[]\n /** Aggregate counts derived from inspected rules. */\n stats: InspectConfigStats\n /** Configured rules that were not found in the builtin catalog or loaded JS plugins. */\n unknownRules: InspectedRule[]\n /** The inspector package version that produced this result. */\n version: string\n}\n\ntype RuleCatalog = {\n aliasesByRuleId: Map<string, Set<string>>\n ruleIdByAlias: Map<string, string>\n rulesById: Map<string, InspectedRule>\n}\n\n/**\n * Loads an Oxlint config and returns an inspection model for its rules and JS plugins.\n *\n * @param options - See {@link GetConfigOptions}.\n * @returns The inspected config result, or `null` if no config file is found.\n */\nexport async function inspectConfig(options: GetConfigOptions = {}): Promise<InspectConfigResult | null> {\n const config = await getConfig(options)\n\n if (!config) {\n return null\n }\n\n const isVitePlus = config.filepath.endsWith('vite.config.ts')\n const [builtinRules, loadedPlugins] = await Promise.all([\n getOxlintRules({ useVitePlus: isVitePlus ? true : undefined, cwd: options.cwd }),\n getPlugins(config),\n ])\n\n return inspectLoadedConfig(config, builtinRules, loadedPlugins.plugins, loadedPlugins.errors)\n}\n\n/**\n * Builds an inspection model from an already loaded config and precomputed rule catalogs.\n *\n * @param config - The resolved Oxlint config to inspect.\n * @param builtinRules - Builtin Oxlint rules to include in the catalog.\n * @param plugins - Successfully loaded JS plugins to include in the catalog.\n * @param pluginErrors - JS plugin load errors to surface in the inspection result.\n * @returns The inspected config result.\n */\nexport function inspectLoadedConfig(\n config: LoadedOxlintConfig,\n builtinRules: RuleInfo[],\n plugins: PluginInfo[],\n pluginErrors: PluginLoadError[],\n): InspectConfigResult {\n const rootEnabledPlugins = config.config.plugins ?? DEFAULT_ENABLED_PLUGIN_NAMES\n const enabledPlugins = [...rootEnabledPlugins, ...(config.config.overrides?.flatMap((o) => o.plugins ?? []) ?? [])]\n\n const catalog = createRuleCatalog(builtinRules, plugins, enabledPlugins, config.config.categories)\n\n applyConfiguredRules(catalog, config.config.rules)\n\n const overrideGroups = createInspectedOverrideGroups(catalog, config.config.overrides, plugins)\n const overrideSeveritiesByRuleId = createOverrideSeveritiesByRuleId(overrideGroups)\n\n const rules = [...catalog.rulesById.values()]\n .map((rule) => {\n const usage = createRuleUsageSummary(rule, overrideSeveritiesByRuleId.get(rule.ruleId) ?? [])\n\n const aliases = [...(catalog.aliasesByRuleId.get(rule.ruleId) ?? [])]\n return {\n ...rule,\n ...usage,\n aliases,\n }\n })\n .toSorted((left, right) => left.ruleId.localeCompare(right.ruleId))\n\n return {\n configFiles: config.files,\n configFilepath: config.filepath,\n generatedAt: new Date().toISOString(),\n overrideGroups,\n pluginErrors,\n plugins: createInspectedPlugins(plugins, rules),\n rulePluginFilters: createRulePluginFilters(rules),\n rules,\n stats: createInspectConfigStats(rules),\n unknownRules: rules.filter((rule) => rule.source === 'unknown'),\n version: pkgJson.version,\n }\n}\n\nfunction createInspectConfigStats(rules: InspectedRule[]): InspectConfigStats {\n return {\n builtinRules: rules.filter((rule) => rule.source === 'builtin').length,\n configuredRules: rules.filter((rule) => rule.configured).length,\n deprecatedRules: rules.filter((rule) => rule.deprecated).length,\n enabledRules: rules.filter((rule) => rule.severityStates.some((severity) => severity !== 'off')).length,\n fixableRules: rules.filter((rule) => rule.fixable).length,\n jsPluginRules: rules.filter((rule) => rule.source === 'js-plugin').length,\n overrideRules: rules.filter((rule) => rule.usage.overrideGroups.length > 0).length,\n recommendedRules: rules.filter((rule) => rule.recommended).length,\n totalRules: rules.length,\n unknownRules: rules.filter((rule) => rule.source === 'unknown').length,\n }\n}\n\nfunction createRulePluginFilters(rules: InspectedRule[]): string[] {\n const pluginNames = new Set<string>()\n\n for (const rule of rules) {\n if (rule.pluginName) {\n pluginNames.add(rule.pluginName)\n }\n }\n\n return ['all', ...[...pluginNames].toSorted((left, right) => left.localeCompare(right))]\n}\n\nfunction createInspectedOverrideGroups(\n catalog: RuleCatalog,\n overrides: LoadedOxlintConfig['config']['overrides'],\n plugins: PluginInfo[],\n): InspectedOverrideGroup[] {\n const groups: InspectedOverrideGroup[] = []\n\n for (const [index, override] of overrides?.entries() ?? []) {\n const group: InspectedOverrideGroup = {\n excludeFiles: override.excludeFiles,\n files: override.files,\n index,\n jsPlugins: override.jsPlugins?.length ? getPluginEntryNames(override.jsPlugins, plugins) : undefined,\n plugins: override.plugins,\n rules: [],\n }\n\n if (override.rules) {\n for (const [ruleId, raw] of Object.entries(override.rules)) {\n const normalizedRuleId = getNormalizedRuleId(catalog, ruleId)\n const rule = getOrCreateUnknownRule(catalog, normalizedRuleId, ruleId)\n const config = createRuleConfig(ruleId, raw)\n\n rule.usage.overrideGroups.push(index)\n group.rules.push({\n options: config.options,\n raw: config.raw,\n ruleId: rule.ruleId,\n severity: config.severity,\n source: rule.source,\n })\n }\n }\n\n groups.push(group)\n }\n\n return groups\n}\n\nfunction createOverrideSeveritiesByRuleId(overrideGroups: InspectedOverrideGroup[]) {\n const severitiesByRuleId = new Map<string, RuleSeverity[]>()\n\n for (const group of overrideGroups) {\n for (const rule of group.rules) {\n const severities = severitiesByRuleId.get(rule.ruleId) ?? []\n severities.push(rule.severity)\n severitiesByRuleId.set(rule.ruleId, severities)\n }\n }\n\n return severitiesByRuleId\n}\n\nfunction createInspectedPlugins(plugins: PluginInfo[], rules: InspectedRule[]): InspectedPlugin[] {\n const inspectedPlugins = new Map<string, InspectedPlugin>()\n\n for (const rule of rules) {\n if (!rule.pluginName || rule.source === 'unknown') {\n continue\n }\n\n const key = `${rule.source}:${rule.pluginName}`\n const inspectedPlugin = inspectedPlugins.get(key) ?? {\n name: rule.pluginName,\n ruleCount: 0,\n source: rule.source,\n }\n\n inspectedPlugin.ruleCount += 1\n inspectedPlugins.set(key, inspectedPlugin)\n }\n\n for (const plugin of plugins) {\n const key = `js-plugin:${plugin.name}`\n const inspectedPlugin = inspectedPlugins.get(key) ?? {\n name: plugin.name,\n ruleCount: plugin.rules.length,\n source: 'js-plugin',\n }\n\n inspectedPlugins.set(key, {\n ...inspectedPlugin,\n specifier: plugin.specifier,\n })\n }\n\n return [...inspectedPlugins.values()].toSorted((left, right) => {\n if (left.source !== right.source) {\n return left.source.localeCompare(right.source)\n }\n\n return left.name.localeCompare(right.name)\n })\n}\n\nfunction createRuleCatalog(\n builtinRules: RuleInfo[],\n plugins: PluginInfo[],\n enabledPlugins: string[],\n categories?: RuleCategories,\n): RuleCatalog {\n const bareBuiltinRuleIds = createBareBuiltinRuleIds(builtinRules)\n const enabledPluginNames = new Set(['eslint', ...enabledPlugins])\n /**\n * When categories are not explicitly configured, Oxlint applies a default\n * severity of `warn` to all correctness rules via the `RulesBuilder` defaults.\n *\n * @see https://github.com/oxc-project/oxc/blob/f30a64c26971a7eef6b4dd1b42c0a947555f47c0/crates/oxc_linter/src/config/config_builder.rs#L47-L51\n */\n const implicitCategoryDefaults: Record<string, unknown> = {\n correctness: 'warn',\n }\n const catalog: RuleCatalog = {\n aliasesByRuleId: new Map(),\n ruleIdByAlias: new Map(),\n rulesById: new Map(),\n }\n\n for (const rule of builtinRules) {\n const ruleId = getBuiltinRuleId(rule)\n const pluginName = getPluginName(rule.scope)\n const isPluginEnabled = enabledPluginNames.has(pluginName)\n const userCategorySeverity = categories?.[rule.category as keyof RuleCategories]\n const resolvedCategorySeverity = userCategorySeverity ?? implicitCategoryDefaults[rule.category]\n const useCategorySeverity = resolvedCategorySeverity !== undefined && isPluginEnabled\n const defaultSeverity = useCategorySeverity\n ? getRuleSeverity(resolvedCategorySeverity)\n : getDefaultSeverity(rule.default)\n\n const metadata = createBuiltinRuleMetadata(rule)\n\n catalog.rulesById.set(ruleId, {\n aliases: [],\n category: rule.category,\n defaultSeverity,\n ...metadata,\n name: rule.value,\n ...createEmptyRuleUsage(isPluginEnabled && useCategorySeverity),\n pluginName,\n ruleId,\n source: 'builtin',\n typeAware: rule.type_aware,\n })\n\n addAliases(catalog, ruleId, getBuiltinRuleAliases(rule, ruleId, bareBuiltinRuleIds))\n }\n\n for (const plugin of plugins) {\n for (const rule of plugin.rules) {\n const metadata = createPluginRuleMetadata(rule.meta)\n\n catalog.rulesById.set(rule.ruleId, {\n aliases: [],\n defaultSeverity: 'off',\n ...metadata,\n meta: rule.meta,\n name: rule.name,\n ...createEmptyRuleUsage(false),\n pluginName: plugin.name,\n ruleId: rule.ruleId,\n source: 'js-plugin',\n })\n\n addAliases(catalog, rule.ruleId, [rule.ruleId])\n }\n }\n\n return catalog\n}\n\nfunction applyConfiguredRules(catalog: RuleCatalog, rules: Record<string, unknown> | undefined) {\n if (!rules) {\n return\n }\n\n for (const [ruleId, raw] of Object.entries(rules)) {\n const normalizedRuleId = getNormalizedRuleId(catalog, ruleId)\n const rule = getOrCreateUnknownRule(catalog, normalizedRuleId, ruleId)\n const configured = createRuleConfig(ruleId, raw)\n\n rule.configured = configured\n rule.usage.root = true\n }\n}\n\nfunction getOrCreateUnknownRule(catalog: RuleCatalog, normalizedRuleId: string, configuredRuleId: string) {\n const rule = catalog.rulesById.get(normalizedRuleId)\n\n if (rule) {\n return rule\n }\n\n const unknownRule: InspectedRule = {\n aliases: [],\n defaultSeverity: 'unknown',\n deprecated: false,\n fixable: false,\n hasSuggestions: false,\n name: getRuleName(configuredRuleId),\n ...createEmptyRuleUsage(false),\n pluginName: getConfiguredPluginName(configuredRuleId),\n recommended: false,\n replacedBy: [],\n ruleId: configuredRuleId,\n source: 'unknown',\n }\n\n catalog.rulesById.set(configuredRuleId, unknownRule)\n addAliases(catalog, configuredRuleId, [configuredRuleId])\n\n return unknownRule\n}\n\nfunction createRuleConfig(ruleId: string, raw: unknown): InspectedRuleConfig {\n return {\n options: getRuleOptions(raw),\n raw,\n ruleId,\n severity: getRuleSeverity(raw),\n }\n}\n\nfunction getRuleSeverity(raw: unknown): RuleSeverity {\n let severity = raw\n\n if (Array.isArray(raw)) {\n severity = (raw as unknown[])[0]\n }\n\n if (typeof severity === 'number') {\n if (severity === 0) {\n return 'off'\n }\n\n if (severity === 1) {\n return 'warn'\n }\n\n if (severity === 2) {\n return 'error'\n }\n\n return 'unknown'\n }\n\n if (typeof severity !== 'string') {\n return 'unknown'\n }\n\n if (severity === 'allow' || severity === 'off') {\n return 'off'\n }\n\n if (severity === 'deny' || severity === 'error') {\n return 'error'\n }\n\n if (severity === 'warn') {\n return severity\n }\n\n return 'unknown'\n}\n\nfunction getRuleOptions(raw: unknown): unknown[] {\n if (!Array.isArray(raw)) {\n return []\n }\n\n return raw.slice(1)\n}\n\nfunction getDefaultSeverity(enabledByDefault: boolean): RuleSeverity {\n return enabledByDefault ? 'warn' : 'off'\n}\n\ntype RuleUsageSummary = Pick<InspectedRule, 'offOnly' | 'overloaded' | 'severityStates' | 'used'>\n\nfunction createRuleUsageSummary(rule: InspectedRule, overrideSeverities: RuleSeverity[]): RuleUsageSummary {\n const severities: InspectedRuleUsageSeverity[] = []\n\n if (rule.usage.category) {\n addUsageSeverity(severities, rule.defaultSeverity)\n }\n\n if (rule.configured) {\n addUsageSeverity(severities, rule.configured.severity)\n }\n\n for (const severity of overrideSeverities) {\n addUsageSeverity(severities, severity)\n }\n\n const severityStates = createSeverityStates(severities)\n const used = rule.usage.category || rule.usage.root || rule.usage.overrideGroups.length > 0\n\n return {\n offOnly: used && severityStates.every((severity) => severity === 'off'),\n overloaded: severityStates.length > 1,\n severityStates,\n used,\n }\n}\n\nfunction createEmptyRuleUsage(isCategory: boolean): RuleUsageSummary & Pick<InspectedRule, 'usage'> {\n return {\n offOnly: false,\n overloaded: false,\n severityStates: [],\n usage: {\n category: isCategory,\n overrideGroups: [],\n root: false,\n },\n used: false,\n }\n}\n\nfunction addUsageSeverity(severities: InspectedRuleUsageSeverity[], severity: RuleSeverity) {\n if (severity === 'unknown') {\n return\n }\n\n severities.push(severity)\n}\n\nfunction createSeverityStates(configs: InspectedRuleUsageSeverity[]) {\n const severities = new Set(configs)\n\n return (['error', 'warn', 'off'] satisfies InspectedRuleUsageSeverity[]).filter((severity) =>\n severities.has(severity),\n )\n}\n\ntype NormalizedRuleMetadata = {\n defaultOptions?: Record<string, unknown>\n deprecated: boolean\n description?: string\n docsUrl?: string\n fixable: boolean\n hasSuggestions: boolean\n recommended: boolean\n replacedBy: string[]\n ruleType?: InspectedRuleType\n typeAware?: boolean\n}\n\nfunction createBuiltinRuleMetadata(rule: RuleInfo): NormalizedRuleMetadata {\n const docMetadata = builtinRuleDocs[getBuiltinRuleId(rule)]\n\n return {\n defaultOptions: docMetadata?.defaultOptions,\n deprecated: false,\n description: docMetadata?.description,\n docsUrl: rule.docs_url,\n fixable: isBuiltinRuleFixable(rule.fix),\n hasSuggestions: hasBuiltinRuleSuggestions(rule.fix),\n recommended: rule.default,\n replacedBy: [],\n }\n}\n\nfunction createPluginRuleMetadata(meta: unknown): NormalizedRuleMetadata {\n if (!isRecord(meta)) {\n return createEmptyRuleMetadata()\n }\n\n const docs = isRecord(meta.docs) ? meta.docs : undefined\n\n return {\n deprecated: isDeprecated(meta.deprecated),\n description: getString(docs?.description),\n docsUrl: getString(docs?.url),\n fixable: meta.fixable === 'code' || meta.fixable === 'whitespace',\n hasSuggestions: meta.hasSuggestions === true,\n recommended: docs?.recommended === true,\n replacedBy: getReplacementRuleNames(meta.replacedBy),\n ruleType: getRuleType(meta.type),\n typeAware: getBoolean(docs?.requiresTypeChecking),\n }\n}\n\nfunction createEmptyRuleMetadata(): NormalizedRuleMetadata {\n return {\n deprecated: false,\n fixable: false,\n hasSuggestions: false,\n recommended: false,\n replacedBy: [],\n }\n}\n\nfunction isDeprecated(value: unknown) {\n return value === true || isRecord(value)\n}\n\nfunction getReplacementRuleNames(value: unknown) {\n if (!Array.isArray(value)) {\n return []\n }\n\n return value.flatMap((item) => {\n if (typeof item === 'string') {\n return [item]\n }\n\n if (!isRecord(item)) {\n return []\n }\n\n const ruleName = getString(item.name) ?? getString(item.ruleName)\n\n if (ruleName) {\n return [ruleName]\n }\n\n const rule = isRecord(item.rule) ? item.rule : undefined\n const plugin = isRecord(item.plugin) ? item.plugin : undefined\n const nestedRuleName = getString(rule?.name)\n const nestedPluginName = getString(plugin?.name)\n\n if (nestedRuleName && nestedPluginName) {\n return [`${nestedPluginName}/${nestedRuleName}`]\n }\n\n if (nestedRuleName) {\n return [nestedRuleName]\n }\n\n return []\n })\n}\n\nfunction getRuleType(value: unknown): InspectedRuleType | undefined {\n if (value === 'layout' || value === 'problem' || value === 'suggestion') {\n return value\n }\n\n return undefined\n}\n\nfunction isBuiltinRuleFixable(fix: string) {\n return fix !== 'none' && fix !== 'pending' && fix.includes('fix')\n}\n\nfunction hasBuiltinRuleSuggestions(fix: string) {\n return fix.includes('suggestion')\n}\n\nfunction getNormalizedRuleId(catalog: RuleCatalog, ruleId: string) {\n return catalog.ruleIdByAlias.get(ruleId) ?? ruleId\n}\n\nfunction addAliases(catalog: RuleCatalog, ruleId: string, aliases: string[]) {\n let aliasSet = catalog.aliasesByRuleId.get(ruleId)\n\n if (!aliasSet) {\n aliasSet = new Set()\n catalog.aliasesByRuleId.set(ruleId, aliasSet)\n }\n\n for (const alias of aliases) {\n aliasSet.add(alias)\n\n if (!catalog.ruleIdByAlias.has(alias)) {\n catalog.ruleIdByAlias.set(alias, ruleId)\n }\n }\n}\n\nfunction createBareBuiltinRuleIds(rules: RuleInfo[]): Set<string> {\n return new Set(rules.filter((rule) => rule.scope === 'eslint').map((rule) => getBuiltinRuleId(rule)))\n}\n\nfunction getBuiltinRuleAliases(rule: RuleInfo, ruleId: string, bareRuleIds: Set<string>): string[] {\n const config = SCOPE_CONFIG[rule.scope]\n const aliases = [ruleId]\n\n if (bareRuleIds.has(ruleId)) {\n aliases.push(rule.value)\n }\n\n for (const prefix of config?.prefixAliases ?? []) {\n aliases.push(`${prefix}/${rule.value}`)\n }\n\n return aliases\n}\n\nfunction getRuleName(ruleId: string) {\n return ruleId.split('/').at(-1) ?? ruleId\n}\n\nfunction getConfiguredPluginName(ruleId: string) {\n const segments = ruleId.split('/')\n\n if (segments.length < 2) {\n return\n }\n\n if (ruleId.startsWith('@') && segments.length > 2) {\n return `${segments[0]}/${segments[1]}`\n }\n\n return segments[0]\n}\n"],"mappings":";;;;;;;;;;;AA6CA,MAAa,eAAe;CAAC;CAAkB;CAAkB;CAAmB;AAAkB;AAEtG,MAAM,uBAAuB;AAE7B,SAAS,eAAe,OAAgB;CACtC,MAAM,SAAS,uBAAuB,KAAK;CAE3C,OAAO,YAAY,UAAU;EAC3B;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EACF;EACA,aACE;CACJ;CACA,qBAAqB,EACnB,aAAa,kDACf;CACA,qBAAqB;EACnB,gBAAgB,EACd,kBAAkB;GAChB,qBAAqB;GACrB,qBAAqB;EACvB,EACF;EACA,aAAa;CACf;CACA,wBAAwB;EACtB,gBAAgB,EACd,eAAe,MACjB;EACA,aAAa;CACf;CACA,iCAAiC;EAC/B,gBAAgB,EACd,kBAAkB,EAChB,mBAAmB,MACrB,EACF;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,mDACf;CACA,sBAAsB,EACpB,aAAa,iCACf;CACA,oBAAoB;EAClB,gBAAgB;GACd,cAAc;GACd,YAAY,CAAC;GACb,KAAK;GACL,KAAK;GACL,YAAY;EACd;EACA,aACE;CACJ;CACA,mBAAmB;EACjB,gBAAgB,EACd,kBAAkB;GAChB,aAAa;GACb,qBAAqB;GACrB,kBAAkB;GAClB,YAAY;EACd,EACF;EACA,aACE;CACJ;CACA,4BAA4B;EAC1B,gBAAgB,EACd,kBAAkB,EAChB,mBAAmB,MACrB,EACF;EACA,aAAa;CACf;CACA,uCAAuC;EACrC,gBAAgB,EACd,kBAAkB,EAChB,wBAAwB,MAC1B,EACF;EACA,aAAa;CACf;CACA,+BAA+B;EAC7B,gBAAgB;GACd,mBAAmB;GACnB,KAAK;EACP;EACA,aAAa;CACf;CACA,oBAAoB;EAClB,gBAAgB,EACd,KAAK,EACP;EACA,aACE;CACJ;CACA,oBAAoB;EAClB,gBAAgB;GACd,KAAK;GACL,gBAAgB;GAChB,cAAc;EAChB;EACA,aAAa;CACf;CACA,iCAAiC;EAC/B,gBAAgB;GACd,OAAO;GACP,KAAK;GACL,gBAAgB;GAChB,cAAc;EAChB;EACA,aACE;CACJ;CACA,+BAA+B;EAC7B,gBAAgB,EACd,KAAK,GACP;EACA,aACE;CACJ;CACA,qBAAqB;EACnB,gBAAgB;GACd,eAAe;GACf,KAAK;EACP;EACA,aAAa;CACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,yBAAyB;GACzB,KAAK;EACP;EACA,aACE;CACJ;CACA,kBAAkB;EAChB,gBAAgB;GACd,UAAU;GACV,oBAAoB,CAAC;GACrB,UAAU;GACV,oBAAoB;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;GACA,YAAY;EACd;EACA,aAAa;CACf;CACA,mBAAmB,EACjB,aAAa,kDACf;CACA,+BAA+B,EAC7B,aAAa,wDACf;CACA,oCAAoC,EAClC,aAAa,0DACf;CACA,2BAA2B,EACzB,aAAa,mGACf;CACA,qBAAqB;EACnB,gBAAgB;GACd,OAAO,CAAC;GACR,WAAW;EACb;EACA,aAAa;CACf;CACA,oBAAoB,EAClB,aAAa,4DACf;CACA,+BAA+B,EAC7B,aAAa,iDACf;CACA,0BAA0B,EACxB,aAAa,wCACf;CACA,8BAA8B,EAC5B,aAAa,gCACf;CACA,yBAAyB,EACvB,aAAa,4DACf;CACA,qBAAqB;EACnB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aAAa,wCACf;CACA,wCAAwC;EACtC,gBAAgB,EACd,4BAA4B,KAC9B;EACA,aAAa;CACf;CACA,gCAAgC,EAC9B,aAAa,+CACf;CACA,gCAAgC,EAC9B,aAAa,iDACf;CACA,sBAAsB,EACpB,aAAa,gCACf;CACA,2BAA2B,EACzB,aACE,+GACJ;CACA,sBAAsB,EACpB,aAAa,8CACf;CACA,wBAAwB,EACtB,aAAa,6EACf;CACA,uBAAuB,EACrB,aAAa,2EACf;CACA,gCAAgC,EAC9B,aAAa,oCACf;CACA,0BAA0B,EACxB,aAAa,sDACf;CACA,uBAAuB,EACrB,aAAa,8CACf;CACA,4BAA4B,EAC1B,aAAa,kCACf;CACA,+BAA+B;EAC7B,gBAAgB;GACd,0BAA0B;GAC1B,gBAAgB;EAClB;EACA,aAAa;CACf;CACA,yBAAyB;EACvB,gBAAgB,EACd,aAAa,KACf;EACA,aAAa;CACf;CACA,mBAAmB;EACj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uB;GACvB,kBAAkB;GAClB,uBAAuB;IAAC;IAAQ;IAAO;IAAY;GAAQ;EAC7D;EACA,aACE;CACJ;CACA,oBAAoB;EAClB,gBAAgB,EACd,kBAAkB;GAChB,0BAA0B;GAC1B,eAAe;GACf,SAAS;GACT,SAAS;EACX,EACF;EACA,aACE;CACJ;CACA,oBAAoB;EAClB,gBAAgB,EACd,YAAY,MACd;EACA,aAAa;CACf;CACA,6BAA6B,EAC3B,aAAa,+BACf;CACA,sBAAsB,EACpB,aAAa,oDACf;CACA,oBAAoB;EAClB,gBAAgB;GACd,mBAAmB;GACnB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,uBAAuB;EACrB,gBAAgB,EACd,uBAAuB,MACzB;EACA,aAAa;CACf;CACA,sBAAsB,EACpB,aAAa,sFACf;CACA,eAAe;EACb,gBAAgB,EACd,kBAAkB;GAChB,aAAa;GACb,cAAc;EAChB,EACF;EACA,aACE;CACJ;CACA,0CAA0C,EACxC,aAAa,0EACf;CACA,kBAAkB,EAChB,aACE,gHACJ;CACA,iBAAiB,EACf,aAAa,mFACf;CACA,uBAAuB,EACrB,aACE,yKACJ;CACA,qBAAqB;EACnB,gBAAgB,EACd,kBAAkB;GAChB,kBAAkB;GAClB,gBAAgB;EAClB,EACF;EACA,aACE;CACJ;CACA,gBAAgB,EACd,aAAa,sEACf;CACA,wBAAwB,EACtB,aACE,6LACJ;CACA,2BAA2B;EACzB,gBAAgB;GACd,mBAAmB;GACnB,KAAK;EACP;EACA,aAAa;CACf;CACA,gBAAgB,EACd,aAAa,iGACf;CACA,oBAAoB;EAClB,gBAAgB,EACd,eAAe,MACjB;EACA,aACE;CACJ;CACA,+BAA+B;EAC7B,gBAAgB;GACd,kBAAkB;GAClB,OAAO;GACP,YAAY;EACd;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB;GACd,KAAK;GACL,UAAU;GACV,UAAU;EACZ;EACA,aAAa;CACf;CACA,iBAAiB,EACf,aAAa,mDACf;CACA,s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ClB,gBAAgB,EACd,KAAK,EACP;EACA,aAAa;CACf;CACA,4BAA4B;EAC1B,gBAAgB,EACd,KAAK,EACP;EACA,aAAa;CACf;CACA,yBAAyB,EACvB,aAAa,8DACf;CACA,+BAA+B,EAC7B,aAAa,oGACf;CACA,8BAA8B,EAC5B,aACE,wLACJ;CACA,+BAA+B,EAC7B,aAAa,4CACf;CACA,iCAAiC,EAC/B,aAAa,gDACf;CACA,gCAAgC;EAC9B,gBAAgB,EACd,MAAM,EACJ,SAAS,SACX,EACF;EACA,aACE;CACJ;CACA,0BAA0B,EACxB,aAAa,mDACf;CACA,yBAAyB,EACvB,aACE,kIACJ;CACA,2BAA2B,EACzB,aAAa,gDACf;CACA,kBAAkB,EAChB,aAAa,gEACf;CACA,yBAAyB,EACvB,aACE,6HACJ;CACA,iBAAiB;EACf,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aAAa;CACf;CACA,2BAA2B,EACzB,aACE,0KACJ;CACA,sCAAsC,EACpC,aAAa,0DACf;CACA,2BAA2B,EACzB,aACE,kIACJ;CACA,2BAA2B;EACzB,gBAAgB;GACd,kBAAkB,CAAC;GACnB,eAAe;GACf,SAAS;EACX;EACA,aAAa;CACf;CACA,wBAAwB,EACtB,aAAa,0EACf;CACA,mCAAmC,EACjC,aAAa,oDACf;CACA,+BAA+B,EAC7B,aAAa,mFACf;CACA,6BAA6B;EAC3B,gBAAgB,EACd,8BAA8B,CAAC,EACjC;EACA,aACE;CACJ;CACA,yBAAyB,EACvB,aAAa,8CACf;CACA,iCAAiC,EAC/B,aAAa,4CACf;CACA,0CAA0C,EACxC,aAAa,sEACf;CACA,gCAAgC,EAC9B,aACE,8GACJ;CACA,wCAAwC,EACtC,aAAa,uFACf;CACA,mCAAmC,EACjC,aAAa,sFACf;CACA,2BAA2B,EACzB,aAAa,2DACf;CACA,kCAAkC,EAChC,aACE,2HACJ;CACA,oBAAoB,EAClB,aAAa,0DACf;CACA,qCAAqC;EACnC,gBAAgB;GACd,8BAA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AAS;EACrC;EACA,aAAa;CACf;CACA,uCAAuC;EACrC,gBAAgB,EACd,UAAU;GAAC;GAAU;GAAY;GAAQ;GAAa;GAAc;GAAU;EAAS,EACzF;EACA,aACE;CACJ;CACA,yCAAyC;EACvC,gBAAgB;GACd,QAAQ;GACR,mBAAmB,CAAC;GACpB,OAAO;GACP,iBAAiB;IAAC;IAAO;IAAc;GAAiB;GACxD,iBAAiB,CAAC,OAAO;EAC3B;EACA,aAAa;CACf;CACA,iBAAiB,EACf,aAAa,gFACf;CACA,8BAA8B;EAC5B,gBAAgB;GACd,OAAO,CAAC,OAAO;GACf,OAAO,CAAC,OAAO;GACf,OAAO,CAAC,OAAO;EACjB;EACA,aACE;CACJ;CACA,yCAAyC;EACvC,gBAAgB;GACd,iBAAiB,CAAC,aAAa;GAC/B,kBAAkB,CAAC,YAAY;EACjC;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aACE,qIACJ;CACA,wCAAwC,EACtC,aAAa,uEACf;CACA,yBAAyB;EACvB,gBAAgB,EACd,cAAc,MAChB;EACA,aAAa;CACf;CACA,oCAAoC,EAClC,aAAa,kDACf;CACA,0DAA0D,EACxD,aACE,qJACJ;CACA,mDAAmD;EACjD,gBAAgB,EACd,UAAU;GACR;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,EACF;EACA,aACE;CACJ;CACA,0DAA0D,EACxD,aACE,+LACJ;CACA,uCAAuC;EACrC,gBAAgB;GACd,uBAAuB;GACvB,OAAO,CAAC,UAAU;GAClB,MAAM,CAAC;EACT;EACA,aACE;CACJ;CACA,+BAA+B,EAC7B,aACE,oJACJ;CACA,2CAA2C;EACzC,gBAAgB;GACd,uBAAuB;GACvB,UAAU;EACZ;EACA,aAAa;CACf;CACA,iCAAiC,EAC/B,aAAa,yDACf;CACA,yCAAyC,EACvC,aAAa,0FACf;CACA,qCAAqC,EACnC,aACE,yTACJ;CACA,kBAAkB,EAChB,aAAa,uDACf;CACA,iCAAiC,EAC/B,aAAa,gFACf;CACA,8BAA8B,EAC5B,aAAa,mDACf;CACA,iCAAiC,EAC/B,aAAa,uFACf;CACA,2BAA2B,EACzB,aACE,gHACJ;CACA,6BAA6B,EAC3B,aACE,oJACJ;CACA,oCAAoC,EAClC,aAAa,4FACf;CACA,oCAAoC,EAClC,aACE,mIACJ;CACA,wDAAwD,EACtD,aACE,kPACJ;CACA,sBAAsB,EACpB,aACE,+KACJ;CACA,qCAAqC,EACnC,aAAa,iEACf;CACA,4BAA4B,EAC1B,aAAa,2DACf;CACA,0BAA0B,EACxB,aAAa,gFACf;CACA,qCAAqC,EACnC,aAAa,6DACf;CACA,iCAAiC,EAC/B,aAAa,wEACf;CACA,yBAAyB,EACvB,aAAa,iFACf;CACA,8BAA8B,EAC5B,aAAa,kCACf;CACA,sCAAsC,EACpC,aAAa,uDACf;CACA,oCAAoC,EAClC,aAAa,qDACf;CACA,0BAA0B,EACxB,aACE,wKACJ;CACA,oCAAoC,EAClC,aAAa,mEACf;CACA,mBAAmB,EACjB,aAAa,gEACf;CACA,iCAAiC,EAC/B,aAAa,qEACf;CACA,wBAAwB,EACtB,aAAa,6CACf;CACA,sBAAsB;EACpB,gBAAgB,EACd,kBAAkB,EAChB,kBAAkB,MACpB,EACF;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,kEACf;CACA,4BAA4B,EAC1B,aAAa,oGACf;CACA,0BAA0B,EACxB,aAAa,mCACf;CACA,0BAA0B;EACxB,gBAAgB;GACd,WAAW;GACX,UAAU;EACZ;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,qCACf;CACA,uBAAuB,EACrB,aAAa,gEACf;CACA,uBAAuB;EACrB,gBAAgB,EACd,kBAAkB,CAAC,EACrB;EACA,aAAa;CACf;CACA,gBAAgB;EACd,gBAAgB;GACd,kBAAkB;GAClB,SAAS,CAAC;EACZ;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB,EACd,WAAW,MACb;EACA,aACE;CACJ;CACA,uBAAuB,EACrB,aACE,8GACJ;CACA,qCAAqC,EACnC,aAAa,mFACf;CACA,4BAA4B,EAC1B,aAAa,0FACf;CACA,8BAA8B,EAC5B,aACE,qIACJ;CACA,+BAA+B,EAC7B,aAAa,wFACf;CACA,yBAAyB,EACvB,aACE,uHACJ;CACA,wBAAwB,EACtB,aACE,oJACJ;CACA,qCAAqC,EACnC,aAAa,4DACf;CACA,2BAA2B,EACzB,aACE,yHACJ;CACA,6BAA6B,EAC3B,aAAa,4FACf;CACA,yBAAyB,EACvB,aAAa,2EACf;CACA,0BAA0B,EACxB,aAAa,kEACf;CACA,kBAAkB,EAChB,aAAa,6CACf;CACA,+BAA+B,EAC7B,aAAa,+EACf;CACA,qBAAqB,EACnB,aAAa,4EACf;CACA,8BAA8B,EAC5B,aAAa,mGACf;CACA,sBAAsB,EACpB,aAAa,oCACf;CACA,kCAAkC;EAChC,gBAAgB,EACd,cAAc,CAAC,EACjB;EACA,aAAa;CACf;CACA,sBAAsB;EACpB,gBAAgB,EACd,WAAW,IACb;EACA,aACE;CACJ;CACA,qBAAqB,EACnB,aAAa,iCACf;CACA,qBAAqB;EACnB,gBAAgB;GACd,YAAY;GACZ,eAAe;EACjB;EACA,aACE;CACJ;CACA,4BAA4B;EAC1B,gBAAgB,EACd,SAAS,OACX;EACA,aAAa;CACf;CACA,iCAAiC;EAC/B,gBAAgB;GACd,mBAAmB;GACnB,qBAAqB;EACvB;EACA,aAAa;CACf;CACA,oCAAoC,EAClC,aAAa,mDACf;CACA,+BAA+B,EAC7B,aAAa,gGACf;CACA,8BAA8B,EAC5B,aAAa,6EACf;CACA,gCAAgC,EAC9B,aAAa,uGACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,0BAA0B,CAAC,YAAY;GACvC,oBAAoB;EACtB;EACA,aACE;CACJ;CACA,qBAAqB,EACnB,aAAa,iDACf;CACA,2BAA2B;EACzB,gBAAgB;GACd,cAAc;GACd,WAAW;GACX,iBAAiB;EACnB;EACA,aACE;CACJ;CACA,kCAAkC;EAChC,gBAAgB;GACd,YAAY,CAAC;GACb,aAAa;EACf;EACA,aACE;CACJ;CACA,gCAAgC,EAC9B,aAAa,sGACf;CACA,sBAAsB,EACpB,aAAa,gDACf;CACA,0BAA0B,EACxB,aAAa,mDACf;CACA,kCAAkC;EAChC,gBAAgB,EACd,oBAAoB,MACtB;EACA,aAAa;CACf;CACA,gCAAgC,EAC9B,aAAa,mEACf;CACA,0BAA0B;EACxB,gBAAgB,EACd,aAAa,MACf;EACA,aACE;CACJ;CACA,uBAAuB,EACrB,aAAa,6DACf;CACA,qCAAqC,EACnC,aACE,2QACJ;CACA,gCAAgC;EAC9B,gBAAgB,EACd,QAAQ,MACV;EACA,aAAa;CACf;CACA,wBAAwB,EACtB,aACE,oKACJ;CACA,qBAAqB;EACnB,gBAAgB,EACd,gBAAgB,KAClB;EACA,aAAa;CACf;CACA,wBAAwB,EACtB,aAAa,2EACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,QAAQ;GACR,OAAO;GACP,QAAQ;EACV;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aACE;CACJ;CACA,+CAA+C;EAC7C,gBAAgB;GACd,iCAAiC;GACjC,yBAAyB;EAC3B;EACA,aACE;CACJ;CACA,sBAAsB;EACpB,gBAAgB;GACd,qBAAqB;GACrB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aAAa,mGACf;CACA,yBAAyB,EACvB,aAAa,0EACf;CACA,wCAAwC,EACtC,aAAa,2FACf;CACA,gCAAgC,EAC9B,aACE,8TACJ;CACA,0BAA0B,EACxB,aACE,qNACJ;CACA,yBAAyB,EACvB,aAAa,kGACf;CACA,8BAA8B,EAC5B,aACE,+LACJ;CACA,uCAAuC,EACrC,aAAa,qEACf;CACA,iBAAiB,EACf,aACE,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MAChB;EACA,aAAa;CACf;CACA,uCAAuC;EACrC,gBAAgB;GACd,cAAc;GACd,kBAAkB,CAAC;GACnB,iBAAiB;EACnB;EACA,aAAa;CACf;CACA,kCAAkC,EAChC,aAAa,wEACf;CACA,gCAAgC;EAC9B,gBAAgB;GACd,yBAAyB;GACzB,qBAAqB;GACrB,kBAAkB,CAAC;GACnB,SAAS;GACT,YAAY,CAAC;EACf;EACA,aACE;CACJ;CACA,0BAA0B,EACxB,aACE,qIACJ;CACA,mCAAmC;EACjC,gBAAgB;GACd,oBAAoB;GACpB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,qCAAqC,EACnC,aACE,6NACJ;CACA,gBAAgB,EACd,aACE,+KACJ;CACA,4BAA4B,EAC1B,aAAa,sEACf;CACA,cAAc,EACZ,aACE,6HACJ;CACA,+BAA+B,EAC7B,aAAa,+EACf;CACA,0BAA0B,EACxB,aACE,gRACJ;CACA,wBAAwB,EACtB,aACE,qHACJ;CACA,2BAA2B;EACzB,gBAAgB;GACd,WAAW;GACX,MAAM;EACR;EACA,aACE;CACJ;CACA,6BAA6B,EAC3B,aAAa,kEACf;CACA,6BAA6B,EAC3B,aACE,qKACJ;CACA,8BAA8B,EAC5B,aAAa,kGACf;CACA,2BAA2B,EACzB,aACE,gMACJ;CACA,2BAA2B;EACzB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aAAa;CACf;CACA,gBAAgB,EACd,aACE,qIACJ;CACA,cAAc,EACZ,aACE,mLACJ;CACA,4BAA4B,EAC1B,aACE,wIACJ;CACA,kBAAkB,EAChB,aACE,2IACJ;CACA,uCAAuC,EACrC,aAAa,6EACf;CACA,uBAAuB,EACrB,aACE,4HACJ;CACA,iCAAiC,EAC/B,aAAa,oGACf;CACA,uCAAuC,EACrC,aAAa,8FACf;CACA,0CAA0C,EACxC,aAAa,iGACf;CACA,wCAAwC,EACtC,aAAa,+FACf;CACA,2CAA2C,EACzC,aAAa,4DACf;CACA,yBAAyB;EACvB,gBAAgB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AAC9C;AAEA,SAAS,WAAW,SAAsB,QAAgB,SAAmB;CAC3E,IAAI,WAAW,QAAQ,gBAAgB,IAAI,MAAM;CAEjD,IAAI,CAAC,UAAU;EACb,2BAAW,IAAI,IAAI;EACnB,QAAQ,gBAAgB,IAAI,QAAQ,QAAQ;CAC9C;CAEA,KAAK,MAAM,SAAS,SAAS;EAC3B,SAAS,IAAI,KAAK;EAElB,IAAI,CAAC,QAAQ,cAAc,IAAI,KAAK,GAClC,QAAQ,cAAc,IAAI,OAAO,MAAM;CAE3C;AACF;AAEA,SAAS,yBAAyB,OAAgC;CAChE,OAAO,IAAI,IAAI,MAAM,QAAQ,SAAS,KAAK,UAAU,QAAQ,CAAC,CAAC,KAAK,SAAS,iBAAiB,IAAI,CAAC,CAAC;AACtG;AAEA,SAAS,sBAAsB,MAAgB,QAAgB,aAAoC;CACjG,MAAM,SAAS,aAAa,KAAK;CACjC,MAAM,UAAU,CAAC,MAAM;CAEvB,IAAI,YAAY,IAAI,MAAM,GACxB,QAAQ,KAAK,KAAK,KAAK;CAGzB,KAAK,MAAM,UAAU,QAAQ,iBAAiB,CAAC,GAC7C,QAAQ,KAAK,GAAG,OAAO,GAAG,KAAK,OAAO;CAGxC,OAAO;AACT;AAEA,SAAS,YAAY,QAAgB;CACnC,OAAO,OAAO,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK;AACrC;AAEA,SAAS,wBAAwB,QAAgB;CAC/C,MAAM,WAAW,OAAO,MAAM,GAAG;CAEjC,IAAI,SAAS,SAAS,GACpB;CAGF,IAAI,OAAO,WAAW,GAAG,KAAK,SAAS,SAAS,GAC9C,OAAO,GAAG,SAAS,GAAG,GAAG,SAAS;CAGpC,OAAO,SAAS;AAClB"}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["getPluginName","process","pkgJson.version"],"sources":["../src/config.ts","../package.json","../src/generated/builtin-rule-docs.ts","../src/plugins.ts","../src/rules.ts","../src/utils.ts","../src/inspect.ts"],"sourcesContent":["import type { CosmiconfigResult, PublicExplorer } from 'cosmiconfig'\nimport type { ParseError } from 'jsonc-parser'\nimport type { OxlintConfig } from 'oxlint'\n\nimport { access } from 'node:fs/promises'\nimport path from 'node:path'\n\nimport { cosmiconfig, defaultLoaders } from 'cosmiconfig'\nimport { createJiti } from 'jiti'\nimport { parse, printParseErrorCode } from 'jsonc-parser'\n\ntype JsonOxlintConfig = Omit<OxlintConfig, 'extends'> & {\n extends?: string[]\n}\n\ntype ConfigInput = Omit<OxlintConfig, 'extends'> & {\n extends?: Array<string | ConfigInput>\n}\n\nexport type GetConfigOptions = {\n /** Whether to cache discovered and loaded config files. Defaults to `true`. */\n cache?: boolean\n /** An explicit path to the config file. When provided, cosmiconfig loads this file directly instead of searching. */\n configFile?: string\n /** The directory to search for a config file. Defaults to `process.cwd()`. */\n cwd?: string\n}\n\n/**\n * An Oxlint config with all `extends` resolved and the field removed.\n */\ntype ResolvedOxlintConfig = Omit<OxlintConfig, 'extends'>\n\n/**\n * The result of loading and resolving a config file from disk.\n */\nexport type LoadedOxlintConfig = {\n config: ResolvedOxlintConfig\n /** Every config file visited during resolution (including extended files). */\n files: string[]\n /** Absolute path to the root config file. */\n filepath: string\n}\n\n/** Known Oxlint / Vite+ config file names, searched in order by cosmiconfig. */\nexport const searchPlaces = ['vite.config.ts', '.oxlintrc.json', '.oxlintrc.jsonc', 'oxlint.config.ts']\n\nconst VITE_CONFIG_BASENAME = 'vite.config.ts'\n\nfunction createExplorer(cache: boolean) {\n const loadTs = createTypeScriptLoader(cache)\n\n return cosmiconfig('oxlint', {\n cache,\n loaders: {\n ...defaultLoaders,\n '.jsonc': loadJsonc,\n '.ts': loadTs,\n },\n searchPlaces,\n })\n}\n\nconst defaultExplorer = createExplorer(true)\n\nfunction loadJsonc(filepath: string, content: string): Record<string, unknown> | null {\n const errors: ParseError[] = []\n const config = parse(content, errors, { allowTrailingComma: true }) as Record<string, unknown> | null\n const [error] = errors\n\n if (error) {\n throw new Error(`JSONC Error in ${filepath}: ${printParseErrorCode(error.error)} at offset ${error.offset}`)\n }\n\n return config ?? null\n}\n\nfunction createTypeScriptLoader(cache: boolean): (filepath: string) => Promise<Record<string, unknown> | null> {\n const jiti = createJiti(import.meta.url, {\n fsCache: cache,\n moduleCache: cache,\n })\n\n return async (filepath: string) => {\n const exported = await jiti.import(filepath, { default: true })\n\n if (path.basename(filepath) === VITE_CONFIG_BASENAME) {\n return extractViteLintConfig(exported)\n }\n\n return (exported as Record<string, unknown> | null) ?? null\n }\n}\n\nfunction extractViteLintConfig(exported: unknown): Record<string, unknown> | null {\n if (!exported || typeof exported !== 'object' || Array.isArray(exported)) {\n return null\n }\n\n const lint = (exported as Record<string, unknown>).lint\n\n if (!lint || typeof lint !== 'object' || Array.isArray(lint)) {\n return null\n }\n\n return lint as Record<string, unknown>\n}\n\n/**\n * Loads and resolves an Oxlint configuration file.\n *\n * Discovers the config via cosmiconfig (searching from `cwd` or loading a\n * specific `configFile`), then recursively resolves all `extends` chains.\n * Within each directory, {@link searchPlaces} are tried in order; empty configs\n * (e.g. a Vite config without a `lint` block) are skipped so later places can win.\n *\n * @param options - See {@link GetConfigOptions}.\n * @returns The resolved config with all extensions flattened, or `null` if no config file is found.\n */\nexport async function getConfig(options: GetConfigOptions = {}): Promise<LoadedOxlintConfig | null> {\n const cwd = options.cwd ?? process.cwd()\n const explorer = options.cache === false ? createExplorer(false) : defaultExplorer\n const result = options.configFile\n ? await explorer.load(path.resolve(cwd, options.configFile))\n : await searchDirectory(path.resolve(cwd), explorer)\n\n if (!result || result.isEmpty) {\n return null\n }\n\n const files = new Set<string>([result.filepath])\n const config = await resolveConfig(\n result.config as ConfigInput,\n result.filepath,\n files,\n new Set([result.filepath]),\n explorer,\n )\n\n return {\n config,\n files: [...files],\n filepath: result.filepath,\n }\n}\n\nasync function searchDirectory(directory: string, explorer: PublicExplorer): Promise<CosmiconfigResult> {\n const filepaths = searchPlaces.map((place) => path.join(directory, place))\n const result = await tryLoad(filepaths, explorer)\n if (result) return result\n\n try {\n await access(path.join(directory, 'package.json'))\n return null\n } catch {\n // no package.json, walk up\n }\n\n const parent = path.dirname(directory)\n return parent === directory ? null : searchDirectory(parent, explorer)\n}\n\nasync function tryLoad([filepath, ...rest]: string[], explorer: PublicExplorer): Promise<CosmiconfigResult> {\n if (!filepath) return null\n try {\n const result = await explorer.load(filepath)\n if (result && !result.isEmpty) return result\n } catch (error) {\n if (!isFileNotFoundError(error)) throw error\n // file does not exist, try the next candidate\n }\n return tryLoad(rest, explorer)\n}\n\nfunction isFileNotFoundError(error: unknown): boolean {\n return error instanceof Error && (error as NodeJS.ErrnoException).code === 'ENOENT'\n}\n\n/**\n * Recursively resolves a config and all of its `extends`.\n *\n * Extended configs are loaded, filtered to their extendable fields, then\n * merged with the own config (own takes precedence).\n *\n * @param config - The config to resolve (may include an `extends` array).\n * @param filepath - Absolute path to the config file, used as the base for resolving relative `extends` paths.\n * @param files - Accumulator for all config file paths visited throughout the resolution tree.\n * @param resolvingFiles - Tracks in-flight files to detect circular extends.\n * @returns The fully resolved config with all `extends` flattened.\n */\nasync function resolveConfig(\n config: ConfigInput,\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n): Promise<ResolvedOxlintConfig> {\n const extendedConfigs = await resolveExtends(config.extends, filepath, files, resolvingFiles, explorer)\n const ownConfig = stripExtends(config)\n\n return mergeConfigs([...extendedConfigs, ownConfig])\n}\n\n/**\n * Loads and resolves all entries in the `extends` array.\n *\n * Each entry is either a file path string (JSON/JSONC config) or an inline config\n * object (TS config). Inline configs are resolved recursively.\n *\n * Returned configs are filtered through {@link pickExtendableConfig} so only\n * inheritable fields survive.\n *\n * @param entries - The `extends` array from a config (string paths or inline config objects).\n * @param filepath - Absolute path to the parent config file, used as the base for resolving relative path strings.\n * @param files - Accumulator for all config file paths visited.\n * @param resolvingFiles - Shared set tracking in-flight files across the entire extends tree. Each extend branch receives a snapshot copy to isolate per-branch cycles.\n * @returns An array of resolved configs with only extendable fields.\n */\nasync function resolveExtends(\n entries: ConfigInput['extends'],\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n) {\n if (!entries?.length) {\n return []\n }\n\n const configs = await Promise.all(\n entries.map(async (entry) => {\n const resolvingBranch = new Set(resolvingFiles)\n\n if (typeof entry === 'string') {\n return loadJsonLikeConfig(path.resolve(path.dirname(filepath), entry), files, resolvingBranch, explorer)\n }\n\n return resolveConfig(entry, filepath, files, resolvingBranch, explorer)\n }),\n )\n\n return configs.map((config) => pickExtendableConfig(config))\n}\n\n/**\n * Loads a JSON or JSONC config from disk at the given file path and resolves its\n * `extends` chain.\n *\n * @param filepath - Absolute path to the JSON or JSONC config file to load.\n * @param files - Accumulator for all config file paths visited.\n * @param resolvingFiles - Set tracking in-flight files for cycle detection.\n * @returns The fully resolved config from this file.\n * @throws If a circular extends reference is detected.\n * @throws If the file cannot be loaded by cosmiconfig.\n */\nasync function loadJsonLikeConfig(\n filepath: string,\n files: Set<string>,\n resolvingFiles: Set<string>,\n explorer: PublicExplorer,\n) {\n if (resolvingFiles.has(filepath)) {\n throw new Error(`Circular Oxlint config extends detected: ${filepath}`)\n }\n\n const result = await explorer.load(filepath)\n\n if (!result || result.isEmpty) {\n throw new Error(`Unable to load extended Oxlint config: ${filepath}`)\n }\n\n files.add(result.filepath)\n resolvingFiles.add(result.filepath)\n\n try {\n return await resolveConfig(result.config as JsonOxlintConfig, result.filepath, files, resolvingFiles, explorer)\n } finally {\n resolvingFiles.delete(result.filepath)\n }\n}\n\n/**\n * Returns a shallow copy of the config with the `extends` key removed.\n *\n * The resulting object represents the \"own\" config (i.e., what this file\n * declares without inherited contributions).\n *\n * @param config - The original config (may include `extends`).\n * @returns A shallow copy of the config without the `extends` property.\n */\nfunction stripExtends(config: ConfigInput): ResolvedOxlintConfig {\n const rest: ConfigInput = { ...config }\n delete rest.extends\n\n return rest\n}\n\n/**\n * Picks only the fields that are inherited through `extends`.\n *\n * Per Oxlint docs, only `rules`, `plugins`, and `overrides` are extendable.\n * Other fields (env, globals, settings, categories, jsPlugins, etc.) are\n * intentionally dropped.\n *\n * If Oxlint changes this behavior, this function must be updated accordingly.\n *\n * @param config - A fully resolved config.\n * @returns A new config object containing only `plugins`, `rules`, and `overrides` (if present in the source).\n * @see https://oxc.rs/docs/guide/usage/linter/nested-config.html#extending-configuration-files\n */\nfunction pickExtendableConfig(config: ResolvedOxlintConfig): ResolvedOxlintConfig {\n const picked: ResolvedOxlintConfig = {}\n\n if (config.plugins) {\n picked.plugins = config.plugins\n }\n\n if (config.rules) {\n picked.rules = config.rules\n }\n\n if (config.overrides) {\n picked.overrides = config.overrides\n }\n\n return picked\n}\n\n/**\n * Merges an ordered list of resolved configs into a single config.\n *\n * The first config serves as the base. Each subsequent config contributes\n * its fields with the following merge strategies:\n *\n * - **plugins** — concatenated (union of all enabled plugins)\n * - **overrides** — concatenated\n * - **rules** — cascading override (later entries win on conflict)\n * - **all other** — last-write-wins via {@link Object.assign}\n *\n * @param configs - An ordered list of configs to merge (base first, own config last).\n * @returns A single merged config.\n */\nfunction mergeConfigs(configs: ResolvedOxlintConfig[]) {\n const merged: ResolvedOxlintConfig = {}\n\n for (const config of configs) {\n const overrides = mergeArrays(merged.overrides, config.overrides)\n const plugins = mergeArrays(merged.plugins, config.plugins)\n const rules = { ...merged.rules, ...config.rules }\n\n Object.assign(merged, config)\n merged.overrides = overrides\n merged.plugins = plugins\n merged.rules = rules\n }\n\n return merged\n}\n\n/**\n * Concatenates two arrays, handling the case where either is undefined.\n *\n * If both are undefined the result is undefined; if only one is defined it\n * is returned as-is; if both are defined they are concatenated with `base`\n * coming first.\n *\n * @param base - The base array (elements appear first in the result).\n * @param override - The override array (elements appear after the base).\n * @returns The concatenated array, or `undefined` if both inputs are falsy.\n */\nfunction mergeArrays<T>(base: T[] | undefined, override: T[] | undefined) {\n if (!base) {\n return override\n }\n\n if (!override) {\n return base\n }\n\n return [...base, ...override]\n}\n","","// oxlint-disable eslint/no-template-curly-in-string\n// This file is generated by scripts/generate-builtin-rule-docs.ts.\n// Do not edit this file manually.\n// Oxlint version: 1.95.0\n\nexport type BuiltinRuleDocMetadata = {\n defaultOptions?: Record<string, unknown>\n description?: string\n}\n\nexport const builtinRuleDocs: Record<string, BuiltinRuleDocMetadata> = {\n 'eslint/accessor-pairs': {\n defaultOptions: {\n enforceForClassMembers: true,\n enforceForTSTypes: false,\n getWithoutSet: false,\n setWithoutGet: true,\n },\n description: 'Enforces getter/setter pairs in objects and classes.',\n },\n 'eslint/array-callback-return': {\n defaultOptions: {\n allowImplicit: false,\n allowVoid: false,\n checkForEach: false,\n },\n description: 'Enforce return statements in callbacks of array methods.',\n },\n 'eslint/arrow-body-style': {\n defaultOptions: {\n 'The 2nd option': {\n requireReturnForObjectLiteral: false,\n },\n },\n description:\n 'This rule can enforce or disallow the use of braces around arrow function body. Arrow functions can use either:',\n },\n 'eslint/block-scoped-var': {\n description:\n 'Enforces that variables are both declared and used within the same block scope. This rule prevents accidental use of variables outside their intended block, mimicking C-style block scoping in JavaScript.',\n },\n 'eslint/capitalized-comments': {\n description: 'Enforces or disallows capitalization of the first letter of a comment.',\n },\n 'eslint/class-methods-use-this': {\n defaultOptions: {\n enforceForClassFields: true,\n exceptMethods: [],\n ignoreClassesWithImplements: null,\n ignoreOverrideMethods: false,\n },\n description: 'Enforce that class methods utilize this.',\n },\n 'eslint/complexity': {\n defaultOptions: {\n max: 20,\n },\n description:\n 'Enforces a maximum cyclomatic complexity in a program, which is the number of linearly independent paths in a program.',\n },\n 'eslint/constructor-super': {\n description:\n 'Requires super() calls in constructors of derived classes and disallows super() calls in constructors of non-derived classes.',\n },\n 'eslint/curly': {\n description:\n 'This rule enforces the use of curly braces {} for all control statements (if, else, for, while, do, with). It ensures that all blocks are enclosed in curly braces to improve code clarity and maintainability.',\n },\n 'eslint/default-case': {\n description:\n 'Enforces that all switch statements include a default case, unless explicitly marked with a configured comment.',\n },\n 'eslint/default-case-last': {\n description: 'Requires the default clause in switch statements to be the last one.',\n },\n 'eslint/default-param-last': {\n description: 'Requires default parameters in functions to be the last ones.',\n },\n 'eslint/eqeqeq': {\n description: 'Requires the use of the === and !== operators, disallowing the use of == and !=.',\n },\n 'eslint/for-direction': {\n description:\n 'Disallow for loops where the update clause moves the counter in the wrong direction, preventing the loop from reaching its stop condition.',\n },\n 'eslint/func-name-matching': {\n defaultOptions: {\n 'The 2nd option': {\n considerPropertyDescriptor: false,\n includeCommonJSModuleExports: false,\n },\n },\n description:\n 'Requires function expression names to match the variable or property names they are assigned to, or disallows such matches with \"never\".',\n },\n 'eslint/func-names': {\n description: 'Require or disallow named function expressions.',\n },\n 'eslint/func-style': {\n defaultOptions: {\n 'The 2nd option': {\n allowArrowFunctions: false,\n allowTypeAnnotation: false,\n },\n },\n description: 'Enforce the consistent use of either function declarations or expressions assigned to variables.',\n },\n 'eslint/getter-return': {\n defaultOptions: {\n allowImplicit: false,\n },\n description: 'Requires all getters to have a return statement.',\n },\n 'eslint/grouped-accessor-pairs': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForTSTypes: false,\n },\n },\n description: 'Require grouped accessor pairs in object literals and classes.',\n },\n 'eslint/guard-for-in': {\n description: 'Require for-in loops to include an if statement.',\n },\n 'eslint/id-denylist': {\n description: 'Disallow specified identifiers',\n },\n 'eslint/id-length': {\n defaultOptions: {\n checkGeneric: true,\n exceptions: [],\n max: 'Infinity',\n min: 2,\n properties: 'always',\n },\n description:\n 'Enforce a minimum and/or maximum identifier length convention by counting the graphemes for a given identifier.',\n },\n 'eslint/id-match': {\n defaultOptions: {\n 'The 2nd option': {\n classFields: false,\n ignoreDestructuring: false,\n onlyDeclarations: false,\n properties: false,\n },\n },\n description:\n 'Enforces a naming convention for identifiers by requiring each checked name to match a configured regular expression.',\n },\n 'eslint/init-declarations': {\n defaultOptions: {\n 'The 2nd option': {\n ignoreForLoopInit: false,\n },\n },\n description: 'Require or disallow initialization in variable declarations.',\n },\n 'eslint/logical-assignment-operators': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForIfStatements: false,\n },\n },\n description: 'This rule requires or disallows logical assignment operator shorthand.',\n },\n 'eslint/max-classes-per-file': {\n defaultOptions: {\n ignoreExpressions: false,\n max: 1,\n },\n description: 'Enforce a maximum number of classes per file.',\n },\n 'eslint/max-depth': {\n defaultOptions: {\n max: 4,\n },\n description:\n 'Enforce a maximum depth that blocks can be nested. This rule helps to limit the complexity of nested blocks, improving readability and maintainability by ensuring that code does not become too deeply nested.',\n },\n 'eslint/max-lines': {\n defaultOptions: {\n max: 300,\n skipBlankLines: false,\n skipComments: false,\n },\n description: 'Enforce a maximum number of lines per file.',\n },\n 'eslint/max-lines-per-function': {\n defaultOptions: {\n IIFEs: false,\n max: 50,\n skipBlankLines: false,\n skipComments: false,\n },\n description:\n 'Enforce a maximum number of lines of code in a function. This rule ensures that functions do not exceed a specified line count, promoting smaller, more focused functions that are easier to maintain and understand.',\n },\n 'eslint/max-nested-callbacks': {\n defaultOptions: {\n max: 10,\n },\n description:\n 'Enforce a maximum depth that callbacks can be nested. This rule helps to limit the complexity of callback nesting, ensuring that callbacks do not become too deeply nested, improving code readability and maintainability.',\n },\n 'eslint/max-params': {\n defaultOptions: {\n countVoidThis: false,\n max: 3,\n },\n description: 'Enforce a maximum number of parameters in function definitions which by default is three.',\n },\n 'eslint/max-statements': {\n defaultOptions: {\n ignoreTopLevelFunctions: false,\n max: 10,\n },\n description:\n 'Enforce a maximum number of statements in a function. This rule ensures that functions do not exceed a specified statements count, promoting smaller, more focused functions that are easier to maintain and understand.',\n },\n 'eslint/new-cap': {\n defaultOptions: {\n capIsNew: true,\n capIsNewExceptions: [],\n newIsCap: true,\n newIsCapExceptions: [\n 'Array',\n 'Boolean',\n 'Date',\n 'Error',\n 'Function',\n 'Number',\n 'Object',\n 'RegExp',\n 'String',\n 'Symbol',\n 'BigInt',\n ],\n properties: true,\n },\n description: 'This rule requires constructor names to begin with a capital letter.',\n },\n 'eslint/no-alert': {\n description: 'Disallow the use of alert, confirm, and prompt.',\n },\n 'eslint/no-array-constructor': {\n description: 'Disallows creating arrays with the Array constructor.',\n },\n 'eslint/no-async-promise-executor': {\n description: 'Disallow using an async function as a Promise executor.',\n },\n 'eslint/no-await-in-loop': {\n description: 'This rule disallows the use of await within loop bodies. (for, for-in, for-of, while, do-while).',\n },\n 'eslint/no-bitwise': {\n defaultOptions: {\n allow: [],\n int32Hint: false,\n },\n description: 'Disallow bitwise operators.',\n },\n 'eslint/no-caller': {\n description: 'Disallow the use of arguments.caller or arguments.callee.',\n },\n 'eslint/no-case-declarations': {\n description: 'Disallow lexical declarations in case clauses.',\n },\n 'eslint/no-class-assign': {\n description: 'Disallow reassigning class variables.',\n },\n 'eslint/no-compare-neg-zero': {\n description: 'Disallow comparing against -0',\n },\n 'eslint/no-cond-assign': {\n description: 'Disallow assignment operators in conditional expressions.',\n },\n 'eslint/no-console': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallow the use of console.',\n },\n 'eslint/no-const-assign': {\n description: 'Disallow reassigning const variables.',\n },\n 'eslint/no-constant-binary-expression': {\n defaultOptions: {\n checkRelationalComparisons: true,\n },\n description: \"Disallow expressions where the operation doesn't affect the value.\",\n },\n 'eslint/no-constant-condition': {\n description: 'Disallow constant expressions in conditions.',\n },\n 'eslint/no-constructor-return': {\n description: 'Disallow returning a value from a constructor.',\n },\n 'eslint/no-continue': {\n description: 'Disallow continue statements.',\n },\n 'eslint/no-control-regex': {\n description:\n 'Disallows control characters and some escape sequences that match control characters in regular expressions.',\n },\n 'eslint/no-debugger': {\n description: 'Checks for usage of the debugger statement.',\n },\n 'eslint/no-delete-var': {\n description: 'The purpose of the delete operator is to remove a property from an object.',\n },\n 'eslint/no-div-regex': {\n description: 'Disallow equal signs explicitly at the beginning of regular expressions.',\n },\n 'eslint/no-dupe-class-members': {\n description: 'Disallow duplicate class members.',\n },\n 'eslint/no-dupe-else-if': {\n description: 'Disallow duplicate conditions in if-else-if chains.',\n },\n 'eslint/no-dupe-keys': {\n description: 'Disallow duplicate keys in object literals.',\n },\n 'eslint/no-duplicate-case': {\n description: 'Disallow duplicate case labels.',\n },\n 'eslint/no-duplicate-imports': {\n defaultOptions: {\n allowSeparateTypeImports: false,\n includeExports: false,\n },\n description: 'Disallow duplicate module imports.',\n },\n 'eslint/no-else-return': {\n defaultOptions: {\n allowElseIf: true,\n },\n description: 'Disallow else blocks after return statements in if statements.',\n },\n 'eslint/no-empty': {\n defaultOptions: {\n allowEmptyCatch: false,\n },\n description: 'Disallows empty block statements.',\n },\n 'eslint/no-empty-character-class': {\n description: 'Disallow empty character classes in regular expressions.',\n },\n 'eslint/no-empty-function': {\n description: 'Disallows the usage of empty functions.',\n },\n 'eslint/no-empty-pattern': {\n defaultOptions: {\n allowObjectPatternsAsParameters: false,\n },\n description: 'Disallow empty destructuring patterns.',\n },\n 'eslint/no-empty-static-block': {\n description: 'Disallow empty static blocks.',\n },\n 'eslint/no-eq-null': {\n description: 'Disallow null comparisons without type-checking operators.',\n },\n 'eslint/no-eval': {\n defaultOptions: {\n allowIndirect: false,\n },\n description:\n 'Disallows referencing the eval function. This rule is aimed at preventing potentially dangerous, unnecessary, and slow code by disallowing the use of the eval() function.',\n },\n 'eslint/no-ex-assign': {\n description: 'Disallow reassigning exceptions in catch clauses.',\n },\n 'eslint/no-extend-native': {\n defaultOptions: {\n exceptions: [],\n },\n description: 'Prevents extending native global objects such as Object, String, or Array with new properties.',\n },\n 'eslint/no-extra-bind': {\n description: 'Disallow unnecessary calls to .bind().',\n },\n 'eslint/no-extra-boolean-cast': {\n defaultOptions: {\n enforceForInnerExpressions: false,\n },\n description: 'This rule disallows unnecessary boolean casts.',\n },\n 'eslint/no-extra-label': {\n description: 'Disallow unnecessary labels.',\n },\n 'eslint/no-fallthrough': {\n defaultOptions: {\n allowEmptyCase: false,\n reportUnusedFallthroughComment: false,\n },\n description: 'Disallow fallthrough of case statements',\n },\n 'eslint/no-func-assign': {\n description: 'Disallow reassigning function declarations.',\n },\n 'eslint/no-global-assign': {\n defaultOptions: {\n exceptions: [],\n },\n description: 'Disallow modifications to read-only global variables.',\n },\n 'eslint/no-implicit-coercion': {\n defaultOptions: {\n boolean: true,\n disallowTemplateShorthand: false,\n number: true,\n string: true,\n },\n description: 'Disallow shorthand type conversions using operators like !!, unary +, and \"\" +.',\n },\n 'eslint/no-implicit-globals': {\n defaultOptions: {\n lexicalBindings: false,\n },\n description:\n 'Disallows declarations in the global scope, global variable leaks, and writes or redeclarations of read-only globals.',\n },\n 'eslint/no-implied-eval': {\n description: 'Disallows passing strings to setTimeout(), setInterval(), and execScript().',\n },\n 'eslint/no-import-assign': {\n description: 'Disallow assigning to imported bindings.',\n },\n 'eslint/no-inline-comments': {\n description: 'Disallows comments on the same line as code.',\n },\n 'eslint/no-inner-declarations': {\n description: 'Disallow variable or function declarations in nested blocks.',\n },\n 'eslint/no-invalid-regexp': {\n defaultOptions: {\n allowConstructorFlags: [],\n },\n description: 'Disallow invalid regular expression strings in RegExp constructors.',\n },\n 'eslint/no-irregular-whitespace': {\n defaultOptions: {\n skipComments: false,\n skipJSXText: true,\n skipRegExps: true,\n skipStrings: true,\n skipTemplates: true,\n },\n description: 'Disallows the use of irregular whitespace characters in the code.',\n },\n 'eslint/no-iterator': {\n description: 'Disallow the use of the __iterator__ property.',\n },\n 'eslint/no-label-var': {\n description: 'Disallow labels that share a name with a variable.',\n },\n 'eslint/no-labels': {\n defaultOptions: {\n allowLoop: false,\n allowSwitch: false,\n },\n description: 'Disallow labeled statements.',\n },\n 'eslint/no-lone-blocks': {\n description: 'Disallows unnecessary standalone block statements.',\n },\n 'eslint/no-lonely-if': {\n description: 'Disallow if statements as the only statement in else blocks.',\n },\n 'eslint/no-loop-func': {\n description:\n 'Disallows function declarations and expressions inside loop statements when they reference variables declared in the outer scope that may change across iterations.',\n },\n 'eslint/no-loss-of-precision': {\n description: 'Disallow precision loss in numeric literals.',\n },\n 'eslint/no-magic-numbers': {\n defaultOptions: {\n detectObjects: false,\n enforceConst: false,\n ignore: [],\n ignoreArrayIndexes: false,\n ignoreClassFieldInitialValues: false,\n ignoreDefaultValues: false,\n ignoreEnums: false,\n ignoreNumericLiteralTypes: false,\n ignoreReadonlyClassProperties: false,\n ignoreTypeIndexes: false,\n },\n description:\n 'This rule aims to make code more readable and refactoring easier by ensuring that special numbers are declared as constants to make their meaning explicit. The current implementation does not support BigInt numbers inside array indexes.',\n },\n 'eslint/no-misleading-character-class': {\n defaultOptions: {\n allowEscape: false,\n },\n description:\n 'This rule reports regular expressions which include multiple code point characters in character class syntax. This includes:',\n },\n 'eslint/no-multi-assign': {\n defaultOptions: {\n ignoreNonDeclaration: false,\n },\n description: 'Disallow use of chained assignment expressions.',\n },\n 'eslint/no-multi-str': {\n description: 'Disallow multiline strings.',\n },\n 'eslint/no-negated-condition': {\n description: 'Disallow negated conditions.',\n },\n 'eslint/no-nested-ternary': {\n description: 'Disallow nested ternary expressions.',\n },\n 'eslint/no-new': {\n description: 'Disallow new operators outside of assignments or comparisons.',\n },\n 'eslint/no-new-func': {\n description: 'Disallow new operators with the Function object.',\n },\n 'eslint/no-new-native-nonconstructor': {\n description: 'Disallow new operators with global non-constructor functions (Symbol, BigInt).',\n },\n 'eslint/no-new-wrappers': {\n description: 'Disallow new operators with the String, Number, and Boolean objects.',\n },\n 'eslint/no-nonoctal-decimal-escape': {\n description: 'Disallow \\\\8 and \\\\9 escape sequences in string literals.',\n },\n 'eslint/no-obj-calls': {\n description: 'Disallow calling some global objects as functions.',\n },\n 'eslint/no-object-constructor': {\n description: 'Disallow calls to the Object constructor without an argument.',\n },\n 'eslint/no-param-reassign': {\n defaultOptions: {\n ignorePropertyModificationsFor: [],\n props: false,\n },\n description: 'Disallow reassigning function parameters or, optionally, their properties.',\n },\n 'eslint/no-plusplus': {\n defaultOptions: {\n allowForLoopAfterthoughts: false,\n },\n description: 'Disallow the unary operators ++ and --.',\n },\n 'eslint/no-promise-executor-return': {\n defaultOptions: {\n allowVoid: false,\n },\n description: 'Disallow returning values from Promise executor functions.',\n },\n 'eslint/no-proto': {\n description: 'Disallow the use of the __proto__ property.',\n },\n 'eslint/no-prototype-builtins': {\n description: 'Disallow calling some Object.prototype methods directly on objects.',\n },\n 'eslint/no-redeclare': {\n defaultOptions: {\n builtinGlobals: true,\n ignoreDeclarationMerge: true,\n },\n description:\n 'This rule disallows redeclaring variables within the same scope, ensuring that each variable is declared only once. It helps avoid confusion and unintended behavior in code.',\n },\n 'eslint/no-regex-spaces': {\n description: 'Disallow 2+ consecutive spaces in regular expressions.',\n },\n 'eslint/no-restricted-exports': {\n defaultOptions: {\n restrictDefaultExports: {\n defaultFrom: false,\n direct: false,\n named: false,\n namedFrom: false,\n namespaceFrom: false,\n },\n restrictedNamedExports: [],\n },\n description: 'This rule disallows specified names from being used as exported names.',\n },\n 'eslint/no-restricted-globals': {\n description: 'Specify global variable names that should not be used in your application.',\n },\n 'eslint/no-restricted-imports': {\n description:\n 'This rule allows you to specify imports that you don’t want to use in your application. It applies to static imports and to dynamic import() with a string-literal source; computed sources like import(bar) are ignored.',\n },\n 'eslint/no-restricted-properties': {\n description: 'This rule allows you to disallow access to certain properties on certain objects.',\n },\n 'eslint/no-return-assign': {\n description: 'Disallows assignment operators in return statements.',\n },\n 'eslint/no-script-url': {\n description: 'Disallow javascript: URLs.',\n },\n 'eslint/no-self-assign': {\n defaultOptions: {\n props: true,\n },\n description: 'Disallow assignments where both sides are exactly the same.',\n },\n 'eslint/no-self-compare': {\n description: 'Disallow comparisons where both sides are exactly the same.',\n },\n 'eslint/no-sequences': {\n defaultOptions: {\n allowInParentheses: true,\n },\n description: 'Disallows the use of the comma operator.',\n },\n 'eslint/no-setter-return': {\n description: 'Setters cannot return values.',\n },\n 'eslint/no-shadow': {\n defaultOptions: {\n allow: [],\n builtinGlobals: false,\n hoist: 'functions-and-types',\n ignoreFunctionTypeParameterNameValueShadow: true,\n ignoreOnInitialization: false,\n ignoreTypeValueShadow: true,\n },\n description: 'Disallows variable declarations from shadowing variables declared in the outer scope.',\n },\n 'eslint/no-shadow-restricted-names': {\n defaultOptions: {\n reportGlobalThis: true,\n },\n description:\n 'Disallows the redefining of global variables such as undefined, NaN, Infinity, eval, globalThis and arguments.',\n },\n 'eslint/no-sparse-arrays': {\n description: 'Disallow sparse arrays.',\n },\n 'eslint/no-template-curly-in-string': {\n description:\n 'Disallow template literal placeholder syntax in regular strings. This rule ensures that expressions like ${variable} are only used within template literals, avoiding incorrect usage in regular strings.',\n },\n 'eslint/no-ternary': {\n description: 'Disallow ternary operators.',\n },\n 'eslint/no-this-before-super': {\n description: 'Requires calling super() before using this or super.',\n },\n 'eslint/no-throw-literal': {\n description: 'Disallows throwing literals or non-Error objects as exceptions.',\n },\n 'eslint/no-unassigned-vars': {\n description: 'Disallow let or var variables that are read but never assigned.',\n },\n 'eslint/no-undef': {\n defaultOptions: {\n typeof: false,\n },\n description: 'Disallow the use of undeclared variables.',\n },\n 'eslint/no-undefined': {\n description: 'Disallow the use of undefined as an identifier.',\n },\n 'eslint/no-underscore-dangle': {\n defaultOptions: {\n allow: [],\n allowAfterSuper: false,\n allowAfterThis: false,\n allowAfterThisConstructor: false,\n allowFunctionParams: true,\n allowInArrayDestructuring: true,\n allowInObjectDestructuring: true,\n allowInUsingDeclarations: false,\n enforceInClassFields: false,\n enforceInMethodNames: false,\n },\n description: 'Disallows dangling underscores in identifiers.',\n },\n 'eslint/no-unexpected-multiline': {\n description:\n 'In most cases, semicolons are not required in JavaScript in order for code to be parsed and executed as expected. Typically this occurs because semicolons are automatically inserted based on a fixed set of rules. This rule exists to detect those cases where a semicolon is NOT inserted automatically, and may be parsed differently than expected.',\n },\n 'eslint/no-unmodified-loop-condition': {\n defaultOptions: {\n checkConditionalExpressions: false,\n },\n description: 'Disallow references in loop conditions that are never modified within the loop.',\n },\n 'eslint/no-unneeded-ternary': {\n defaultOptions: {\n defaultAssignment: true,\n },\n description: 'Disallow ternary operators when simpler alternatives exist.',\n },\n 'eslint/no-unreachable': {\n description: 'Disallow unreachable code after return, throw, continue, and break statements.',\n },\n 'eslint/no-unreachable-loop': {\n description: 'Disallow loops whose body allows only one iteration.',\n },\n 'eslint/no-unsafe-finally': {\n description: 'Disallow control flow statements in finally blocks.',\n },\n 'eslint/no-unsafe-negation': {\n defaultOptions: {\n enforceForOrderingRelations: false,\n },\n description:\n 'Disallows negating the left operand of relational operators to prevent logical errors caused by misunderstanding operator precedence or accidental use of negation.',\n },\n 'eslint/no-unsafe-optional-chaining': {\n defaultOptions: {\n disallowArithmeticOperators: false,\n },\n description: 'Disallow use of optional chaining in contexts where the undefined value is not allowed.',\n },\n 'eslint/no-unused-expressions': {\n defaultOptions: {\n allowShortCircuit: false,\n allowTaggedTemplates: false,\n allowTernary: false,\n enforceForJSX: false,\n ignoreDirectives: false,\n },\n description: 'This rule disallows unused expressions.',\n },\n 'eslint/no-unused-labels': {\n description: 'Disallow unused labels.',\n },\n 'eslint/no-unused-private-class-members': {\n description: 'Disallow unused private class members.',\n },\n 'eslint/no-unused-vars': {\n defaultOptions: {\n ignoreClassWithStaticInitBlock: false,\n ignoreRestSiblings: false,\n ignoreUsingDeclarations: false,\n reportUsedIgnorePattern: false,\n reportVarsOnlyUsedAsTypes: false,\n },\n description: 'Disallows variable declarations, imports, or type declarations that are not used in code.',\n },\n 'eslint/no-use-before-define': {\n defaultOptions: {\n allowNamedExports: false,\n classes: true,\n enums: true,\n functions: true,\n ignoreTypeReferences: true,\n typedefs: true,\n variables: true,\n },\n description: 'Disallows using variables before they are defined.',\n },\n 'eslint/no-useless-assignment': {\n description:\n 'Flags assignments where the newly assigned value is never read afterward (a \"dead store\"). This helps catch wasted work or accidental mistakes.',\n },\n 'eslint/no-useless-backreference': {\n description:\n 'Disallows backreferences in regular expressions that will always be ignored because the capture group they refer to has not matched and cannot match at the time the backreference is evaluated.',\n },\n 'eslint/no-useless-call': {\n description: 'Disallow unnecessary calls to .call() and .apply()',\n },\n 'eslint/no-useless-catch': {\n description: 'Disallow unnecessary catch clauses.',\n },\n 'eslint/no-useless-computed-key': {\n defaultOptions: {\n enforceForClassMembers: true,\n },\n description: 'Disallow unnecessary computed property keys in objects and classes.',\n },\n 'eslint/no-useless-concat': {\n description: 'Disallow unnecessary concatenation of literals or template literals.',\n },\n 'eslint/no-useless-constructor': {\n description: 'Disallow constructors that can be safely removed without changing how the class works.',\n },\n 'eslint/no-useless-escape': {\n defaultOptions: {\n allowRegexCharacters: [],\n },\n description: 'Disallow unnecessary escape characters.',\n },\n 'eslint/no-useless-rename': {\n defaultOptions: {\n ignoreDestructuring: false,\n ignoreExport: false,\n ignoreImport: false,\n },\n description: 'Disallow renaming import, export, and destructured assignments to the same name.',\n },\n 'eslint/no-useless-return': {\n description: 'Disallows redundant return statements.',\n },\n 'eslint/no-var': {\n description:\n 'ECMAScript 2015 allows programmers to create variables with block scope instead of function scope using the let and const keywords. Block scope is common in many other programming languages and helps programmers avoid mistakes.',\n },\n 'eslint/no-void': {\n defaultOptions: {\n allowAsStatement: false,\n },\n description: 'Disallows the use of the void operator.',\n },\n 'eslint/no-warning-comments': {\n defaultOptions: {\n decoration: [],\n location: 'start',\n terms: ['todo', 'fixme', 'xxx'],\n },\n description: 'Disallows warning comments such as TODO, FIXME, XXX in code.',\n },\n 'eslint/no-with': {\n description: 'Disallow with statements.',\n },\n 'eslint/object-shorthand': {\n defaultOptions: {\n 'The 2nd option': {\n avoidExplicitReturnArrows: false,\n avoidQuotes: false,\n ignoreConstructors: false,\n },\n },\n description: 'Require or disallow method and property shorthand syntax for object literals',\n },\n 'eslint/one-var': {\n description: 'Enforces variables to be declared either together or separately.',\n },\n 'eslint/operator-assignment': {\n description:\n 'This rule requires or disallows assignment operator shorthand where possible. It encourages the use of shorthand assignment operators like +=, -=, =, /=, etc. to make the code more concise and readable.',\n },\n 'eslint/prefer-arrow-callback': {\n defaultOptions: {\n allowNamedFunctions: false,\n allowUnboundThis: true,\n },\n description: 'Requires using arrow functions for callbacks.',\n },\n 'eslint/prefer-const': {\n defaultOptions: {\n ignoreReadBeforeAssign: false,\n },\n description: 'Requires const declarations for variables that are never reassigned after their initial declaration.',\n },\n 'eslint/prefer-destructuring': {\n defaultOptions: {\n 'The 2nd option': {\n enforceForDeclarationWithTypeAnnotation: false,\n enforceForRenamedProperties: false,\n },\n },\n description: 'Require destructuring from arrays and/or objects.',\n },\n 'eslint/prefer-exponentiation-operator': {\n description: 'Disallow the use of Math.pow in favor of the operator.',\n },\n 'eslint/prefer-named-capture-group': {\n description: 'Enforces the use of named capture groups in regular expressions.',\n },\n 'eslint/prefer-numeric-literals': {\n description: 'Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.',\n },\n 'eslint/prefer-object-has-own': {\n description: 'Disallow use of Object.prototype.hasOwnProperty.call() and prefer use of Object.hasOwn()',\n },\n 'eslint/prefer-object-spread': {\n description:\n 'Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead.',\n },\n 'eslint/prefer-promise-reject-errors': {\n defaultOptions: {\n allowEmptyReject: false,\n },\n description: 'Require using Error objects as Promise rejection reasons.',\n },\n 'eslint/prefer-regex-literals': {\n defaultOptions: {\n disallowRedundantWrapping: false,\n },\n description: 'Disallow use of the RegExp constructor in favor of regular expression literals.',\n },\n 'eslint/prefer-rest-params': {\n description: 'Disallows the use of the arguments object and instead enforces the use of rest parameters.',\n },\n 'eslint/prefer-spread': {\n description: 'Require spread operators instead of .apply()',\n },\n 'eslint/prefer-template': {\n description: 'Require template literals instead of string concatenation.',\n },\n 'eslint/preserve-caught-error': {\n defaultOptions: {\n requireCatchParameter: false,\n },\n description:\n \"Enforces that when re-throwing an error in a catch block, the original error is preserved using the 'cause' property.\",\n },\n 'eslint/radix': {\n description:\n 'Enforce the consistent use of the radix argument when using parseInt(), which specifies what base to use for parsing the number.',\n },\n 'eslint/require-await': {\n description: 'Disallow async functions which have no await expression.',\n },\n 'eslint/require-unicode-regexp': {\n defaultOptions: {\n requireFlag: null,\n },\n description: 'Enforce the use of u or v flag on regular expressions.',\n },\n 'eslint/require-yield': {\n description: 'This rule generates warnings for generator functions that do not have the yield keyword.',\n },\n 'eslint/sort-imports': {\n defaultOptions: {\n allowSeparatedGroups: false,\n ignoreCase: false,\n ignoreDeclarationSort: false,\n ignoreMemberSort: false,\n memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],\n },\n description:\n 'This rule checks all import declarations and verifies that all imports are first sorted by the used member syntax and then alphabetically by the first member or alias name.',\n },\n 'eslint/sort-keys': {\n defaultOptions: {\n 'The 2nd option': {\n allowLineSeparatedGroups: false,\n caseSensitive: true,\n minKeys: 2,\n natural: false,\n },\n },\n description:\n 'When declaring multiple properties, sorting property names alphabetically makes it easier to find and/or diff necessary properties at a later time.',\n },\n 'eslint/sort-vars': {\n defaultOptions: {\n ignoreCase: false,\n },\n description: 'Enforce sorting of variable declarations within the same block.',\n },\n 'eslint/symbol-description': {\n description: 'Require symbol descriptions.',\n },\n 'eslint/unicode-bom': {\n description: 'Require or disallow Unicode byte order mark (BOM)',\n },\n 'eslint/use-isnan': {\n defaultOptions: {\n enforceForIndexOf: false,\n enforceForSwitchCase: true,\n },\n description: 'Disallows checking against NaN without using isNaN() call.',\n },\n 'eslint/valid-typeof': {\n defaultOptions: {\n requireStringLiterals: false,\n },\n description: 'Enforce comparing typeof expressions against valid strings.',\n },\n 'eslint/vars-on-top': {\n description: 'Enforces that all var declarations are placed at the top of their containing scope.',\n },\n 'eslint/yoda': {\n defaultOptions: {\n 'The 2nd option': {\n exceptRange: false,\n onlyEquality: false,\n },\n },\n description:\n 'Require or disallow \"Yoda\" conditions. This rule aims to enforce consistent style of conditions which compare a variable to a literal value.',\n },\n 'import/consistent-type-specifier-style': {\n description: 'Enforces or bans the use of inline type-only markers for named imports.',\n },\n 'import/default': {\n description:\n 'If a default import is requested, this rule will report if there is no default export in the imported module.',\n },\n 'import/export': {\n description: 'Reports funny business with exports, like repeated exports of names or defaults.',\n },\n 'import/exports-last': {\n description:\n 'This rule enforces that all exports are declared at the bottom of the file. This rule will report any export declarations that comes before any non-export statements.',\n },\n 'import/extensions': {\n defaultOptions: {\n 'The 2nd option': {\n checkTypeImports: false,\n ignorePackages: false,\n },\n },\n description:\n 'Some file resolve algorithms allow you to omit the file extension within the import source path. For example the node resolver (which does not yet support ESM/import) can resolve ./foo/bar to the absolute path /User/someone/foo/bar.js because the .js extension is resolved automatically by default in CJS. Depending on the resolver you can configure more extensions to get resolved automatically. In order to provide a consistent use of file extensions across your code base, this rule can enforce or disallow the use of certain file extensions.',\n },\n 'import/first': {\n description: 'Forbids any non-import statements before imports except directives.',\n },\n 'import/group-exports': {\n description:\n 'Reports when named exports are not grouped together in a single export declaration or when multiple assignments to CommonJS module.exports or exports object are present in a single file.',\n },\n 'import/max-dependencies': {\n defaultOptions: {\n ignoreTypeImports: false,\n max: 10,\n },\n description: 'Forbid modules to have too many dependencies (import statements only).',\n },\n 'import/named': {\n description: 'Verifies that all named imports are part of the set of named exports in the referenced module.',\n },\n 'import/namespace': {\n defaultOptions: {\n allowComputed: false,\n },\n description:\n 'Enforces names exist at the time they are dereferenced, when imported as a full namespace (i.e. import as foo from \\'./foo\\'; foo.bar(); will report if bar is not exported by ./foo.). Will report at the import declaration if there are no exported names found. Also, will report for computed references (i.e. foo\"bar\"). Reports on assignment to a member of an imported namespace.',\n },\n 'import/newline-after-import': {\n defaultOptions: {\n considerComments: false,\n count: 1,\n exactCount: false,\n },\n description: 'Enforces having one or more empty lines after the last top-level import statement or require call.',\n },\n 'import/no-absolute-path': {\n defaultOptions: {\n amd: false,\n commonjs: true,\n esmodule: true,\n },\n description: 'Forbid the import of modules using absolute paths.',\n },\n 'import/no-amd': {\n description: 'Forbids the use of AMD require and define calls.',\n },\n 'import/no-anonymous-default-export': {\n defaultOptions: {\n allowAnonymousClass: false,\n allowAnonymousFunction: false,\n allowArray: false,\n allowArrowFunction: false,\n allowCallExpression: true,\n allowLiteral: false,\n allowNew: false,\n allowObject: false,\n },\n description:\n \"Reports if a module's default export is unnamed. This includes several types of unnamed data types; literals, object expressions, arrays, anonymous functions, arrow functions, and anonymous class declarations.\",\n },\n 'import/no-commonjs': {\n defaultOptions: {\n allowConditionalRequire: true,\n allowPrimitiveModules: false,\n allowRequire: false,\n },\n description: 'Forbids the use of CommonJS require calls. Also forbids module.exports and exports..',\n },\n 'import/no-cycle': {\n defaultOptions: {\n allowUnsafeDynamicCyclicDependency: false,\n ignoreExternal: false,\n ignoreTypes: true,\n maxDepth: 'Infinity',\n },\n description:\n 'Disallow cyclic dependencies. The rule ensures that there is no resolvable path back to this module via its dependencies.',\n },\n 'import/no-default-export': {\n description: 'Disallow modules from having default exports.',\n },\n 'import/no-duplicates': {\n defaultOptions: {\n considerQueryString: false,\n preferInline: false,\n },\n description:\n 'Reports if a resolved path is imported more than once in the same module. Imports with different import attributes are treated as distinct modules. This helps avoid unnecessary duplicate imports and keeps the code clean.',\n },\n 'import/no-dynamic-require': {\n defaultOptions: {\n esmodule: false,\n },\n description:\n 'Forbids imports that use an expression for the module argument. This includes dynamically resolved paths in require or import statements.',\n },\n 'import/no-empty-named-blocks': {\n description: 'Enforces that named import blocks are not empty.',\n },\n 'import/no-mutable-exports': {\n description: 'Forbids the use of mutable exports with var or let.',\n },\n 'import/no-named-as-default': {\n description:\n 'Reports use of an exported name as the locally imported name of a default export. This happens when an imported default export is assigned a name that conflicts with a named export from the same module.',\n },\n 'import/no-named-as-default-member': {\n description:\n 'Reports the use of an exported name (named export) as a property on the default export. This occurs when trying to access a named export through the default export, which is incorrect.',\n },\n 'import/no-named-default': {\n description: 'Reports use of a default export as a locally named import.',\n },\n 'import/no-named-export': {\n description: 'Prohibit named exports.',\n },\n 'import/no-namespace': {\n defaultOptions: {\n ignore: [],\n },\n description: 'Enforce a convention of not using namespaced (a.k.a. \"wildcard\" \\\\) imports.',\n },\n 'import/no-nodejs-modules': {\n description:\n 'Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules.',\n },\n 'import/no-relative-parent-imports': {\n description: 'Forbids importing modules from parent directories using relative paths.',\n },\n 'import/no-self-import': {\n description:\n 'Forbids a module from importing itself. This can sometimes happen accidentally, especially during refactoring.',\n },\n 'import/no-unassigned-import': {\n defaultOptions: {\n allow: [],\n },\n description:\n 'This rule aims to remove modules with side-effects by reporting when a module is imported but not assigned.',\n },\n 'import/no-webpack-loader-syntax': {\n description: 'Forbids using Webpack loader syntax directly in import or require statements.',\n },\n 'import/prefer-default-export': {\n defaultOptions: {\n target: 'single',\n },\n description: 'Checks whether there is a default export.',\n },\n 'import/unambiguous': {\n description: 'Warn if a module could be mistakenly parsed as a script instead of as a pure ES module.',\n },\n 'jest/consistent-test-it': {\n defaultOptions: {\n fn: 'test',\n withinDescribe: 'it',\n },\n description:\n 'Jest allows you to choose how you want to define your tests, using the it or the test keywords, with multiple permutations for each:',\n },\n 'jest/expect-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description:\n 'This rule triggers when there is no call made to expect in a test, ensure that there is at least one expect call made in a test.',\n },\n 'jest/max-expects': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum number of expect() calls in a single test.',\n },\n 'jest/max-nested-describe': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum depth to nested describe() calls.',\n },\n 'jest/no-alias-methods': {\n description: \"Enforces Jest's canonical matcher names instead of aliases.\",\n },\n 'jest/no-commented-out-tests': {\n description: \"This rule raises a warning about commented-out tests. It's similar to the no-disabled-tests rule.\",\n },\n 'jest/no-conditional-expect': {\n description:\n 'This rule prevents the use of expect in conditional blocks, such as if and catch. This includes using expect in callbacks to functions named catch, which are assumed to be promises.',\n },\n 'jest/no-conditional-in-test': {\n description: 'Disallow conditional statements in tests.',\n },\n 'jest/no-confusing-set-timeout': {\n description: 'Disallow confusing usages of jest.setTimeout.',\n },\n 'jest/no-deprecated-functions': {\n defaultOptions: {\n jest: {\n version: '29',\n },\n },\n description:\n 'Over the years Jest has accrued some debt in the form of functions that have either been renamed for clarity, or replaced with more powerful APIs.',\n },\n 'jest/no-disabled-tests': {\n description: 'This rule raises a warning about disabled tests.',\n },\n 'jest/no-done-callback': {\n description:\n 'This rule checks the function parameter of hooks & tests for use of the done argument, suggesting you return a promise instead.',\n },\n 'jest/no-duplicate-hooks': {\n description: 'Disallows duplicate hooks in describe blocks.',\n },\n 'jest/no-export': {\n description: 'Prevents using exports if a file has one or more tests in it.',\n },\n 'jest/no-focused-tests': {\n description:\n 'This rule reminds you to remove .only from your tests by raising a warning whenever you are using the exclusivity feature.',\n },\n 'jest/no-hooks': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallows Jest setup and teardown hooks, such as beforeAll.',\n },\n 'jest/no-identical-title': {\n description:\n 'This rule looks at the title of every test and test suite. It will report when two test suites or two test cases at the same level of a test suite have the same title.',\n },\n 'jest/no-interpolation-in-snapshots': {\n description: 'Prevents the use of string interpolations in snapshots.',\n },\n 'jest/no-jasmine-globals': {\n description:\n \"This rule reports on any usage of Jasmine globals, which are not ported to Jest, and suggests alternatives from Jest's own API.\",\n },\n 'jest/no-large-snapshots': {\n defaultOptions: {\n allowedSnapshots: {},\n inlineMaxSize: null,\n maxSize: 50,\n },\n description: 'Disallow large snapshots.',\n },\n 'jest/no-mocks-import': {\n description: 'This rule reports imports from a path containing a __mocks__ component.',\n },\n 'jest/no-restricted-jest-methods': {\n description: 'Restrict the use of specific jest and vi methods.',\n },\n 'jest/no-restricted-matchers': {\n description: 'Ban specific matchers & modifiers from being used, and can suggest alternatives.',\n },\n 'jest/no-standalone-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n },\n description:\n 'Prevents expect statements outside of a test or it block. An expect within a helper function (but outside of a test or it block) will not trigger this rule.',\n },\n 'jest/no-test-prefixes': {\n description: 'Require using .only and .skip over f and x.',\n },\n 'jest/no-test-return-statement': {\n description: 'Disallow explicitly returning from tests.',\n },\n 'jest/no-unneeded-async-expect-function': {\n description: 'Disallows unnecessary async function wrapper for expected promises.',\n },\n 'jest/no-untyped-mock-factory': {\n description:\n 'This rule triggers a warning if mock() or doMock() is used without a generic type parameter or return type.',\n },\n 'jest/padding-around-after-all-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more afterAll statements.',\n },\n 'jest/padding-around-test-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more test/it statements.',\n },\n 'jest/prefer-called-with': {\n description: 'Suggest using toBeCalledWith() or toHaveBeenCalledWith().',\n },\n 'jest/prefer-comparison-matcher': {\n description:\n 'This rule checks for comparisons in tests that could be replaced with one of the following built-in comparison matchers:',\n },\n 'jest/prefer-each': {\n description: 'This rule enforces using each rather than manual loops.',\n },\n 'jest/prefer-ending-with-an-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description: 'Enforces that test blocks end with an assertion (expect or a configured assertion function).',\n },\n 'jest/prefer-equality-matcher': {\n description:\n 'Jest has built-in matchers for expecting equality, which allow for more readable tests and error messages if an expectation fails.',\n },\n 'jest/prefer-expect-assertions': {\n defaultOptions: {\n onlyFunctionsWithAsyncKeyword: false,\n onlyFunctionsWithExpectInCallback: false,\n onlyFunctionsWithExpectInLoop: false,\n },\n description:\n 'Enforces that every test has either expect.assertions(<number>) or expect.hasAssertions() as its first expression.',\n },\n 'jest/prefer-expect-resolves': {\n description: 'Prefer await expect(...).resolves over expect(await ...) when testing promises.',\n },\n 'jest/prefer-hooks-in-order': {\n description: 'Ensures that hooks are in the order that they are called in.',\n },\n 'jest/prefer-hooks-on-top': {\n description:\n \"While hooks can be setup anywhere in a test file, they are always called in a specific order, which means it can be confusing if they're intermixed with test cases.\",\n },\n 'jest/prefer-importing-jest-globals': {\n defaultOptions: {\n types: ['hook', 'describe', 'test', 'expect', 'jest', 'unknown'],\n },\n description:\n 'Prefer importing Jest globals (describe, test, expect, etc.) from @jest/globals rather than relying on ambient globals.',\n },\n 'jest/prefer-jest-mocked': {\n description:\n \"When working with mocks of functions using Jest, it's recommended to use the jest.mocked() helper function to properly type the mocked functions. This rule enforces the use of jest.mocked() for better type safety and readability.\",\n },\n 'jest/prefer-lowercase-title': {\n defaultOptions: {\n allowedPrefixes: [],\n ignore: [],\n ignoreTopLevelDescribe: false,\n lowercaseFirstCharacterOnly: true,\n },\n description:\n 'Enforce it, test, describe, and bench to have descriptions that begin with a lowercase letter. This provides more readable test failures.',\n },\n 'jest/prefer-mock-promise-shorthand': {\n description:\n 'When working with mocks of functions that return promises, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write. These methods should be preferred when possible.',\n },\n 'jest/prefer-mock-return-shorthand': {\n description:\n 'When working with mocks of functions that return simple values, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write.',\n },\n 'jest/prefer-snapshot-hint': {\n description:\n 'Enforces including a hint string with snapshot matchers (toMatchSnapshot and toThrowErrorMatchingSnapshot).',\n },\n 'jest/prefer-spy-on': {\n description:\n 'When mocking a function by overwriting a property you have to manually restore the original implementation when cleaning up. When using jest.spyOn() Jest keeps track of changes, and they can be restored with jest.restoreAllMocks(), mockFn.mockRestore() or by setting restoreMocks to true in the Jest config.',\n },\n 'jest/prefer-strict-equal': {\n description: 'This rule triggers a warning if toEqual() is used to assert equality.',\n },\n 'jest/prefer-to-be': {\n description:\n 'Recommends using toBe matcher for primitive literals and specific matchers for null, undefined, and NaN.',\n },\n 'jest/prefer-to-contain': {\n description:\n 'In order to have a better failure message, toContain() should be used upon asserting expectations on an array containing an object.',\n },\n 'jest/prefer-to-have-been-called': {\n description:\n 'Suggests using toHaveBeenCalled() or not.toHaveBeenCalled() over toHaveBeenCalledTimes(0) or toBeCalledTimes(0).',\n },\n 'jest/prefer-to-have-been-called-times': {\n description:\n 'In order to have a better failure message, [toHaveBeenCalledTimes should be used instead of directly checking the length of mock.calls](https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md).',\n },\n 'jest/prefer-to-have-length': {\n description:\n 'In order to have a better failure message, toHaveLength() should be used upon asserting expectations on objects length property.',\n },\n 'jest/prefer-todo': {\n description:\n 'When test cases are empty then it is better to mark them as test.todo as it will be highlighted in the summary output.',\n },\n 'jest/require-hook': {\n defaultOptions: {\n allowedFunctionCalls: [],\n },\n description:\n 'This rule flags any expression that is either at the toplevel of a test file or directly within the body of a describe, except for the following:',\n },\n 'jest/require-to-throw-message': {\n description: 'This rule triggers a warning if toThrow() or toThrowError() is used without an error message.',\n },\n 'jest/require-top-level-describe': {\n defaultOptions: {\n maxNumberOfTopLevelDescribes: 'Infinity',\n },\n description: 'Requires test cases and hooks to be inside a top-level describe block.',\n },\n 'jest/valid-describe-callback': {\n description:\n 'This rule validates that the second parameter of a describe() function is a callback function. This callback function:',\n },\n 'jest/valid-expect': {\n defaultOptions: {\n alwaysAwait: false,\n asyncMatchers: ['toResolve', 'toReject'],\n maxArgs: 1,\n minArgs: 1,\n },\n description:\n 'Checks that expect() is called correctly. vitest/valid-expect also checks that expectTypeOf() calls use valid modifiers and invoke a matcher.',\n },\n 'jest/valid-expect-in-promise': {\n description:\n 'Ensures that expect calls inside promise chains (.then(), .catch(), .finally()) are properly awaited or returned from the test.',\n },\n 'jest/valid-title': {\n description: 'Checks that the titles of Jest and Vitest blocks are valid.',\n },\n 'jsdoc/check-access': {\n description: 'Checks that @access tags use one of the following values:',\n },\n 'jsdoc/check-property-names': {\n description:\n 'Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots.',\n },\n 'jsdoc/check-tag-names': {\n defaultOptions: {\n definedTags: [],\n jsxTags: false,\n typed: false,\n },\n description:\n 'Reports invalid block tag names. Additionally checks for tag names that are redundant when using a type checker such as TypeScript.',\n },\n 'jsdoc/empty-tags': {\n defaultOptions: {\n tags: [],\n },\n description: 'Expects the following tags to be empty of any content:',\n },\n 'jsdoc/implements-on-classes': {\n description: 'Reports an issue with any non-constructor function using @implements.',\n },\n 'jsdoc/no-blank-blocks': {\n defaultOptions: {\n enableFixer: false,\n },\n description: 'Reports and optionally removes blocks with whitespace only.',\n },\n 'jsdoc/no-defaults': {\n defaultOptions: {\n noOptionalParamNames: false,\n },\n description:\n 'This rule reports defaults being used on the relevant portion of @param or @default. It also optionally reports the presence of the square-bracketed optional arguments at all.',\n },\n 'jsdoc/require-param': {\n defaultOptions: {\n checkConstructors: false,\n checkDestructured: true,\n checkDestructuredRoots: true,\n checkGetters: true,\n checkRestProperty: false,\n checkSetters: true,\n checkTypesPattern: '^(?:[oO]bject|[aA]rray|PlainObject|Generic(?:Object|Array))$',\n exemptedBy: ['inheritdoc'],\n ignoreWhenAllParamsMissing: false,\n interfaceExemptsParamsCheck: false,\n useDefaultObjectProperties: false,\n },\n description: 'Requires that all function parameters are documented with JSDoc @param tags.',\n },\n 'jsdoc/require-param-description': {\n defaultOptions: {\n defaultDestructuredRootDescription: 'The root object',\n setDefaultDestructuredRootDescription: false,\n },\n description: 'Requires that each @param tag has a description value.',\n },\n 'jsdoc/require-param-name': {\n description: 'Requires that all @param tags have names.',\n },\n 'jsdoc/require-param-type': {\n defaultOptions: {\n defaultDestructuredRootType: 'object',\n setDefaultDestructuredRootType: false,\n },\n description: 'Requires that each @param tag has a type value (within curly brackets).',\n },\n 'jsdoc/require-property': {\n description:\n 'Requires that all @typedef and @namespace tags have @property tags when their type is a plain object, Object, or PlainObject.',\n },\n 'jsdoc/require-property-description': {\n description: 'Requires that all @property tags have descriptions.',\n },\n 'jsdoc/require-property-name': {\n description: 'Requires that all @property tags have names.',\n },\n 'jsdoc/require-property-type': {\n description: 'Requires that each @property tag has a type value (within curly brackets).',\n },\n 'jsdoc/require-returns': {\n defaultOptions: {\n checkConstructors: false,\n checkGetters: true,\n exemptedBy: ['inheritdoc'],\n forceRequireReturn: false,\n forceReturnsWithAsync: false,\n },\n description:\n 'Requires that return statements are documented. Will also report if multiple @returns tags are present.',\n },\n 'jsdoc/require-returns-description': {\n description:\n 'Requires that the @returns tag has a description value. The error will not be reported if the return value is void or undefined or if it is Promise<void> or Promise<undefined>.',\n },\n 'jsdoc/require-returns-type': {\n description: 'Requires that the @returns tag has a type value (in curly brackets).',\n },\n 'jsdoc/require-throws-description': {\n description: 'Requires a description for @throws tags.',\n },\n 'jsdoc/require-throws-type': {\n description: 'Requires a type on the @throws tag.',\n },\n 'jsdoc/require-yields': {\n defaultOptions: {\n exemptedBy: ['inheritdoc'],\n forceRequireYields: false,\n withGeneratorTag: false,\n },\n description: 'Requires that yields are documented. Will also report if multiple @yields tags are present.',\n },\n 'jsdoc/require-yields-description': {\n description: 'Requires a description for @yields tags.',\n },\n 'jsdoc/require-yields-type': {\n description: 'Requires a type on the @yields tag.',\n },\n 'jsx-a11y/alt-text': {\n defaultOptions: {\n area: [],\n img: [],\n 'input\\\\[type=\"image\"]': [],\n object: [],\n },\n description:\n 'Enforce that all elements that require alternative text have meaningful information to relay back to the end user.',\n },\n 'jsx-a11y/anchor-ambiguous-text': {\n defaultOptions: {\n words: ['click here', 'here', 'link', 'a link', 'learn more'],\n },\n description: 'Inspects anchor link text for the use of ambiguous words.',\n },\n 'jsx-a11y/anchor-has-content': {\n defaultOptions: {\n components: [],\n },\n description:\n 'Enforce that anchors have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.',\n },\n 'jsx-a11y/anchor-is-valid': {\n defaultOptions: {\n components: [],\n specialLink: [],\n },\n description:\n 'The HTML <a> element, with a valid href attribute, is formally defined as representing a hyperlink. That is, a link between one HTML document and another, or between one location inside an HTML document and another location inside the same document.',\n },\n 'jsx-a11y/aria-activedescendant-has-tabindex': {\n description: 'Enforce elements with aria-activedescendant are tabbable.',\n },\n 'jsx-a11y/aria-props': {\n description: 'Enforces that elements do not use invalid ARIA attributes.',\n },\n 'jsx-a11y/aria-proptypes': {\n description: 'Enforces that elements do not use invalid ARIA state and property values.',\n },\n 'jsx-a11y/aria-role': {\n defaultOptions: {\n allowedInvalidRoles: [],\n ignoreNonDOM: false,\n },\n description:\n 'Elements with ARIA roles must use a valid, non-abstract ARIA role. A reference to role definitions can be found at WAI-ARIA site.',\n },\n 'jsx-a11y/aria-unsupported-elements': {\n description: 'Enforces that reserved DOM elements do not contain ARIA roles, states, or properties.',\n },\n 'jsx-a11y/autocomplete-valid': {\n defaultOptions: {\n inputComponents: ['input'],\n },\n description: \"Enforces that an element's autocomplete attribute must be a valid value.\",\n },\n 'jsx-a11y/click-events-have-key-events': {\n description: 'Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.',\n },\n 'jsx-a11y/control-has-associated-label': {\n defaultOptions: {\n controlComponents: [],\n depth: 2,\n ignoreElements: ['audio', 'canvas', 'embed', 'input', 'textarea', 'tr', 'video'],\n ignoreRoles: [\n 'grid',\n 'listbox',\n 'menu',\n 'menubar',\n 'radiogroup',\n 'row',\n 'tablist',\n 'toolbar',\n 'tree',\n 'treegrid',\n ],\n labelAttributes: [],\n },\n description: 'Enforce that a control (an interactive element) has a text label.',\n },\n 'jsx-a11y/heading-has-content': {\n defaultOptions: {\n components: null,\n },\n description:\n 'Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.',\n },\n 'jsx-a11y/html-has-lang': {\n description: 'Ensures that every HTML document has a lang attribute.',\n },\n 'jsx-a11y/iframe-has-title': {\n description: 'Enforce iframe elements have a title attribute.',\n },\n 'jsx-a11y/img-redundant-alt': {\n defaultOptions: {\n components: ['img'],\n words: ['image', 'photo', 'picture'],\n },\n description: 'Enforce that img alt attributes do not contain redundant words like \"image\", \"picture\", or \"photo\".',\n },\n 'jsx-a11y/interactive-supports-focus': {\n defaultOptions: {\n tabbable: ['button', 'checkbox', 'link', 'searchbox', 'spinbutton', 'switch', 'textbox'],\n },\n description:\n 'Enforce that elements with interactive roles and interaction handlers (mouse or key press) must be focusable.',\n },\n 'jsx-a11y/label-has-associated-control': {\n defaultOptions: {\n assert: 'either',\n controlComponents: [],\n depth: 2,\n labelAttributes: ['alt', 'aria-label', 'aria-labelledby'],\n labelComponents: ['label'],\n },\n description: 'Enforce that a label tag has a text label and an associated control.',\n },\n 'jsx-a11y/lang': {\n description: 'The lang prop on the <html> element must be a valid IETF BCP 47 language tag.',\n },\n 'jsx-a11y/media-has-caption': {\n defaultOptions: {\n audio: ['audio'],\n track: ['track'],\n video: ['video'],\n },\n description:\n 'Checks if <audio> and <video> elements have a <track> element for captions. This ensures media content is accessible to all users, including those with hearing impairments.',\n },\n 'jsx-a11y/mouse-events-have-key-events': {\n defaultOptions: {\n hoverInHandlers: ['onMouseOver'],\n hoverOutHandlers: ['onMouseOut'],\n },\n description: 'Enforce onMouseOver/onMouseOut are accompanied by onFocus/onBlur.',\n },\n 'jsx-a11y/no-access-key': {\n description:\n 'Enforces that the accessKey prop is not used on any element to avoid complications with keyboard commands used by a screen reader.',\n },\n 'jsx-a11y/no-aria-hidden-on-focusable': {\n description: 'Enforces that aria-hidden=\"true\" is not set on focusable elements.',\n },\n 'jsx-a11y/no-autofocus': {\n defaultOptions: {\n ignoreNonDOM: false,\n },\n description: 'Enforce that autoFocus prop is not used on elements.',\n },\n 'jsx-a11y/no-distracting-elements': {\n description: 'Enforces that no distracting elements are used.',\n },\n 'jsx-a11y/no-interactive-element-to-noninteractive-role': {\n description:\n 'Interactive HTML elements indicate controls in the user interface. Interactive elements include <a href>, <button>, <input>, <select>, <textarea>.',\n },\n 'jsx-a11y/no-noninteractive-element-interactions': {\n defaultOptions: {\n handlers: [\n 'onError',\n 'onLoad',\n 'onKeyPress',\n 'onKeyDown',\n 'onKeyUp',\n 'onFocus',\n 'onBlur',\n 'onClick',\n 'onContextMenu',\n 'onDblClick',\n 'onDoubleClick',\n 'onDrag',\n 'onDragEnd',\n 'onDragEnter',\n 'onDragExit',\n 'onDragLeave',\n 'onDragOver',\n 'onDragStart',\n 'onDrop',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n ],\n },\n description:\n 'Prevents non-interactive HTML elements and elements with non-interactive ARIA roles from being assigned mouse or keyboard event handlers.',\n },\n 'jsx-a11y/no-noninteractive-element-to-interactive-role': {\n description:\n 'Non-interactive HTML elements indicate content and containers in the user interface. Non-interactive elements include <main>, <area>, <h1> (through <h6>), <p>, <img>, <li>, <ul>, and <ol>.',\n },\n 'jsx-a11y/no-noninteractive-tabindex': {\n defaultOptions: {\n allowExpressionValues: true,\n roles: ['tabpanel'],\n tags: [],\n },\n description:\n \"This rule checks that non-interactive elements don't have a tabIndex which would make them interactive via keyboard navigation.\",\n },\n 'jsx-a11y/no-redundant-roles': {\n description:\n \"Enforces that code does not include a redundant role property, in the case that it's identical to the implicit role property of the element type.\",\n },\n 'jsx-a11y/no-static-element-interactions': {\n defaultOptions: {\n allowExpressionValues: false,\n handlers: null,\n },\n description: 'Enforces that static HTML elements with event handlers must have appropriate ARIA roles.',\n },\n 'jsx-a11y/prefer-tag-over-role': {\n description: 'Enforces using semantic HTML tags over role attribute.',\n },\n 'jsx-a11y/role-has-required-aria-props': {\n description: 'Enforces that elements with ARIA roles must have all required attributes for that role.',\n },\n 'jsx-a11y/role-supports-aria-props': {\n description:\n 'Enforce that elements with explicit or implicit roles defined contain only aria- properties supported by that role. Many ARIA attributes (states and properties) can only be used on elements with particular roles. Some elements have implicit roles, such as <a href=\"#\" />, which will resolve to role=\"link\".',\n },\n 'jsx-a11y/scope': {\n description: 'The scope prop should be used only on <th> elements.',\n },\n 'jsx-a11y/tabindex-no-positive': {\n description: 'Enforces that positive values for the tabIndex attribute are not used in JSX.',\n },\n 'nextjs/google-font-display': {\n description: 'Enforce font-display behavior with Google Fonts.',\n },\n 'nextjs/google-font-preconnect': {\n description: 'Enforces the presence of rel=\"preconnect\" when using Google Fonts via <link> tags.',\n },\n 'nextjs/inline-script-id': {\n description:\n 'Enforces that all next/script components with inline content or dangerouslySetInnerHTML must have an id prop.',\n },\n 'nextjs/next-script-for-ga': {\n description:\n 'Enforces the use of the next/script component when implementing Google Analytics in Next.js applications, instead of using regular <script> tags.',\n },\n 'nextjs/no-assign-module-variable': {\n description: 'Prevents the assignment or declaration of variables named module in Next.js applications.',\n },\n 'nextjs/no-async-client-component': {\n description:\n 'Prevents the use of async functions for client components in Next.js applications. This rule checks for any async function that:',\n },\n 'nextjs/no-before-interactive-script-outside-document': {\n description:\n \"Prevents the usage of next/script's beforeInteractive strategy outside of pages/_document.js. This rule ensures that scripts with the beforeInteractive loading strategy are only used in the document component where they are most effective.\",\n },\n 'nextjs/no-css-tags': {\n description:\n 'Prevents manual inclusion of stylesheets using <link> tags in Next.js applications. This rule checks for <link> tags with rel=\"stylesheet\" that reference local CSS files.',\n },\n 'nextjs/no-document-import-in-page': {\n description: 'Prevent importing next/document outside of pages/_document.js.',\n },\n 'nextjs/no-duplicate-head': {\n description: 'Prevent duplicate usage of <Head> in pages/_document.js.',\n },\n 'nextjs/no-head-element': {\n description: 'Prevents the usage of the native <head> element inside a Next.js application.',\n },\n 'nextjs/no-head-import-in-document': {\n description: 'Prevents the usage of next/head inside a Next.js document.',\n },\n 'nextjs/no-html-link-for-pages': {\n description: 'Prevents the usage of <a> elements to navigate between Next.js pages.',\n },\n 'nextjs/no-img-element': {\n description: 'Prevent the usage of the <img> element due to slower LCP and higher bandwidth.',\n },\n 'nextjs/no-page-custom-font': {\n description: 'Prevent page-only custom fonts.',\n },\n 'nextjs/no-script-component-in-head': {\n description: 'Prevent usage of next/script in next/head component.',\n },\n 'nextjs/no-styled-jsx-in-document': {\n description: 'Prevent usage of styled-jsx in pages/_document.js.',\n },\n 'nextjs/no-sync-scripts': {\n description:\n 'Prevent the use of synchronous <script> tags in Next.js applications. Require any <script> tag with a src attribute to also have either the async or defer attribute.',\n },\n 'nextjs/no-title-in-document-head': {\n description: 'Prevent usage of <title> with Head component from next/document.',\n },\n 'nextjs/no-typos': {\n description: 'Detects common typos in Next.js data fetching function names.',\n },\n 'nextjs/no-unwanted-polyfillio': {\n description: 'Prevent use of unsafe polyfill.io domains and duplicate polyfills.',\n },\n 'node/callback-return': {\n description: 'Require return statements after callbacks.',\n },\n 'node/exports-style': {\n defaultOptions: {\n 'The 2nd option': {\n allowBatchAssign: false,\n },\n },\n description: 'Enforce either module.exports or exports.',\n },\n 'node/global-require': {\n description: 'Require require() calls to be placed at top-level module scope.',\n },\n 'node/handle-callback-err': {\n description: \"This rule expects that when you're using the callback pattern in Node.js you'll handle the error.\",\n },\n 'node/no-exports-assign': {\n description: 'Disallows assignment to exports.',\n },\n 'node/no-mixed-requires': {\n defaultOptions: {\n allowCall: false,\n grouping: false,\n },\n description: 'Disallows require calls to be mixed with regular variable declarations.',\n },\n 'node/no-new-require': {\n description: 'Warn about calling new on require.',\n },\n 'node/no-path-concat': {\n description: 'Disallows string concatenation with __dirname and __filename.',\n },\n 'node/no-process-env': {\n defaultOptions: {\n allowedVariables: [],\n },\n description: 'Disallows use of process.env.',\n },\n 'node/no-sync': {\n defaultOptions: {\n allowAtRootLevel: false,\n ignores: [],\n },\n description: 'Disallows synchronous methods from being called in Node.js code.',\n },\n 'node/no-top-level-await': {\n defaultOptions: {\n ignoreBin: false,\n },\n description:\n 'Disallows the use of top-level await, including for await...of loops and await using declarations that are not nested inside a function.',\n },\n 'oxc/approx-constant': {\n description:\n 'Disallows the use of approximate constants, instead preferring the use of the constants in the Math object.',\n },\n 'oxc/bad-array-method-on-arguments': {\n description: 'This rule applies when an array method is called on the arguments object itself.',\n },\n 'oxc/bad-bitwise-operator': {\n description: 'This rule applies when bitwise operators are used where logical operators are expected.',\n },\n 'oxc/bad-char-at-comparison': {\n description:\n 'This rule warns when a character accessed with charAt, at, or bracket notation is compared with a string of length greater than 1.',\n },\n 'oxc/bad-comparison-sequence': {\n description: 'This rule applies when the comparison operator is applied two or more times in a row.',\n },\n 'oxc/bad-match-all-arg': {\n description:\n 'This rule warns when the matchAll method is called with a regular expression that does not have the global flag (g).',\n },\n 'oxc/bad-min-max-func': {\n description:\n 'Checks whether the clamp function Math.min(Math.max(x, y), z) always evaluates to a constant result because the arguments are in the wrong order.',\n },\n 'oxc/bad-object-literal-comparison': {\n description: 'Checks for comparisons between object and array literals.',\n },\n 'oxc/bad-replace-all-arg': {\n description:\n 'This rule warns when the replaceAll method is called with a regular expression that does not have the global flag (g).',\n },\n 'oxc/branches-sharing-code': {\n description: 'Checks if the if and else blocks contain shared code that can be moved out of the blocks.',\n },\n 'oxc/const-comparisons': {\n description: 'Checks for redundant or logically impossible comparisons. This includes:',\n },\n 'oxc/double-comparisons': {\n description: 'This rule checks for double comparisons in logical expressions.',\n },\n 'oxc/erasing-op': {\n description: 'Checks for erasing operations, e.g., x 0.',\n },\n 'oxc/misrefactored-assign-op': {\n description: 'https://rust-lang.github.io/rust-clippy/master/#/misrefactored\\\\_assign\\\\_op',\n },\n 'oxc/missing-throw': {\n description: 'Checks whether the throw keyword is missing in front of a new expression.',\n },\n 'oxc/no-accumulating-spread': {\n description: 'Prevents using object or array spreads on accumulators in Array.prototype.reduce() and in loops.',\n },\n 'oxc/no-async-await': {\n description: 'Disallows the use of async/await.',\n },\n 'oxc/no-async-endpoint-handlers': {\n defaultOptions: {\n allowedNames: [],\n },\n description: 'Disallows the use of async functions as Express endpoint handlers.',\n },\n 'oxc/no-barrel-file': {\n defaultOptions: {\n threshold: 100,\n },\n description:\n 'Disallow the use of barrel files where the file contains export statements, and the total number of modules exceeds a threshold.',\n },\n 'oxc/no-const-enum': {\n description: 'Disallow TypeScript const enum',\n },\n 'oxc/no-map-spread': {\n defaultOptions: {\n ignoreArgs: true,\n ignoreRereads: true,\n },\n description:\n 'Disallow the use of object or array spreads in Array.prototype.map and Array.prototype.flatMap to add properties/elements to array items.',\n },\n 'oxc/no-optional-chaining': {\n defaultOptions: {\n message: '',\n },\n description: 'Disallow optional chaining.',\n },\n 'oxc/no-rest-spread-properties': {\n defaultOptions: {\n objectRestMessage: '',\n objectSpreadMessage: '',\n },\n description: 'Disallow Object Rest/Spread Properties.',\n },\n 'oxc/no-this-in-exported-function': {\n description: 'Disallows the use of this in exported functions.',\n },\n 'oxc/number-arg-out-of-range': {\n description: 'Checks whether the radix or precision arguments of number-related functions exceed the limit.',\n },\n 'oxc/only-used-in-recursion': {\n description: 'Checks for arguments that are only used in recursion with no side-effects.',\n },\n 'oxc/uninvoked-array-callback': {\n description: 'This rule applies when an Array function has a callback argument used for an array with empty slots.',\n },\n 'promise/always-return': {\n defaultOptions: {\n ignoreAssignmentVariable: ['globalThis'],\n ignoreLastCallback: false,\n },\n description:\n 'Require returning inside each then() to create readable and reusable Promise chains. We also allow someone to throw inside a then() which is essentially the same as return Promise.reject().',\n },\n 'promise/avoid-new': {\n description: 'Disallow creating promises with new Promise().',\n },\n 'promise/catch-or-return': {\n defaultOptions: {\n allowFinally: false,\n allowThen: false,\n allowThenStrict: false,\n },\n description:\n 'Ensure that each time a then() is applied to a promise, a catch() must be applied as well. Exceptions are made for promises returned from a function.',\n },\n 'promise/no-callback-in-promise': {\n defaultOptions: {\n exceptions: [],\n timeoutsErr: false,\n },\n description:\n 'Disallows calling a callback function (cb()) inside a Promise.prototype.then() or Promise.prototype.catch().',\n },\n 'promise/no-multiple-resolved': {\n description: 'This rule warns of paths that resolve multiple times in executor functions of Promise constructors.',\n },\n 'promise/no-nesting': {\n description: 'Disallow nested then() or catch() statements.',\n },\n 'promise/no-new-statics': {\n description: 'Disallows calling new on static Promise methods.',\n },\n 'promise/no-promise-in-callback': {\n defaultOptions: {\n exemptDeclarations: false,\n },\n description: 'Disallows the use of Promises within error-first callback functions.',\n },\n 'promise/no-return-in-finally': {\n description: 'Disallow return statements in a finally() callback of a promise.',\n },\n 'promise/no-return-wrap': {\n defaultOptions: {\n allowReject: false,\n },\n description:\n 'Prevents unnecessary wrapping of return values in promises with either Promise.resolve or Promise.reject.',\n },\n 'promise/param-names': {\n description: 'Enforce standard parameter names for Promise constructors.',\n },\n 'promise/prefer-await-to-callbacks': {\n description:\n 'The rule encourages the use of async/await for handling asynchronous code instead of traditional callback functions. async/await, introduced in ES2017, provides a clearer and more concise syntax for writing asynchronous code, making it easier to read and maintain.',\n },\n 'promise/prefer-await-to-then': {\n defaultOptions: {\n strict: false,\n },\n description: 'Prefer await to then()/catch()/finally() for reading Promise values.',\n },\n 'promise/prefer-catch': {\n description:\n 'Prefer catch to then(a, b) and then(null, b). This rule disallows the passing of an argument into the second parameter of then calls for handling promise errors.',\n },\n 'promise/spec-only': {\n defaultOptions: {\n allowedMethods: null,\n },\n description: 'Disallow use of non-standard Promise static methods.',\n },\n 'promise/valid-params': {\n description: 'Enforces the proper number of arguments are passed to Promise functions.',\n },\n 'react/button-has-type': {\n defaultOptions: {\n button: true,\n reset: true,\n submit: true,\n },\n description: 'Enforces an explicit type attribute for all HTML button elements.',\n },\n 'react/capitalized-calls': {\n defaultOptions: {\n allow: [],\n },\n description:\n 'Disallows calling capitalized functions or methods directly during render instead of rendering them with JSX, since capitalized names are reserved for components.',\n },\n 'react/checked-requires-onchange-or-readonly': {\n defaultOptions: {\n ignoreExclusiveCheckedAttribute: false,\n ignoreMissingProperties: false,\n },\n description:\n 'This rule enforces onChange or readOnly attribute for checked property of input elements. It also warns when checked and defaultChecked properties are used together.',\n },\n 'react/display-name': {\n defaultOptions: {\n checkContextObjects: false,\n ignoreTranspilerName: false,\n },\n description: 'Enforces that React components have a displayName property.',\n },\n 'react/error-boundaries': {\n description: 'Validates using error boundaries instead of try/catch around JSX for errors in child components.',\n },\n 'react/exhaustive-deps': {\n description: 'Verifies the list of dependencies for Hooks like useEffect and similar.',\n },\n 'react/exhaustive-effect-dependencies': {\n description: 'Validates that effect dependency arrays are exhaustive and contain no extraneous values.',\n },\n 'react/forbid-component-props': {\n description:\n 'This rule prevents passing of props to components. This rule only applies to Components (e.g. <Foo />) and not DOM nodes (e.g. <div />). By default this rule prevents passing of props that add lots of complexity (className, style) to Components. The list of forbidden props can be customized with the forbid option.',\n },\n 'react/forbid-dom-props': {\n description:\n 'This rule prevents passing of props to elements. This rule only applies to DOM Nodes (e.g. <div />) and not Components (e.g. <Component />). The list of forbidden props can be customized with the forbid option.',\n },\n 'react/forbid-elements': {\n description: 'Allows you to configure a list of forbidden elements and to specify their desired replacements.',\n },\n 'react/forward-ref-uses-ref': {\n description:\n \"Requires that components wrapped with forwardRef must have a ref parameter. Omitting the ref argument is usually a bug, and components not using ref don't need to be wrapped by forwardRef.\",\n },\n 'react/function-component-definition': {\n description: 'Enforces a consistent function form for React function components.',\n },\n 'react/globals': {\n description:\n 'Disallows assigning to or mutating variables declared outside a component or hook during render; side effects must run outside of render.',\n },\n 'react/hook-use-state': {\n defaultOptions: {\n allowDestructuredState: false,\n },\n description: 'Ensure destructuring and symmetric naming of useState hook value and setter variables.',\n },\n 'react/hooks': {\n description:\n \"Runs the React Compiler's Rules of Hooks validation: hooks must be called unconditionally, in a consistent order, at the top level of a component or hook, and not be used as first-class values.\",\n },\n 'react/iframe-missing-sandbox': {\n description: 'Enforce the sandbox attribute on iframe elements.',\n },\n 'react/immutability': {\n description:\n 'Disallows mutating props, state, hook arguments, hook return values, and other values that are immutable by the Rules of React.',\n },\n 'react/incompatible-library': {\n description:\n \"Warns on usage of library APIs known to be incompatible with memoization (manual or automatic), such as react-hook-form's watch(), TanStack Table's useReactTable(), and TanStack Virtual's useVirtualizer().\",\n },\n 'react/invariant': {\n description:\n 'Reports internal React Compiler invariant violations. These indicate a bug in the compiler itself, not in your code — consider reporting them to the oxc or React teams.',\n },\n 'react/jsx-boolean-value': {\n defaultOptions: {\n 'The 2nd option': {\n always: [],\n assumeUndefinedIsFalse: false,\n never: [],\n },\n },\n description: 'Enforce a consistent boolean attribute style in your code.',\n },\n 'react/jsx-curly-brace-presence': {\n defaultOptions: {\n children: 'never',\n propElementValues: 'ignore',\n props: 'never',\n },\n description:\n 'Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes.',\n },\n 'react/jsx-filename-extension': {\n defaultOptions: {\n allow: 'always',\n extensions: ['jsx'],\n ignoreFilesWithoutCode: false,\n },\n description: 'Enforces consistent use of the .jsx file extension.',\n },\n 'react/jsx-fragments': {\n description: 'Enforces the shorthand or standard form for React Fragments.',\n },\n 'react/jsx-handler-names': {\n defaultOptions: {\n checkInlineFunction: false,\n checkLocalVariables: false,\n eventHandlerPrefix: 'handle',\n eventHandlerPropPrefix: 'on',\n ignoreComponentNames: [],\n },\n description: 'Ensures that any component or prop methods used to handle events are correctly prefixed.',\n },\n 'react/jsx-key': {\n defaultOptions: {\n checkFragmentShorthand: true,\n checkKeyMustBeforeSpread: true,\n warnOnDuplicates: true,\n },\n description: 'Enforce key prop for elements in an array.',\n },\n 'react/jsx-max-depth': {\n defaultOptions: {\n max: 2,\n },\n description: 'Enforces a maximum depth for nested JSX elements and fragments.',\n },\n 'react/jsx-no-comment-textnodes': {\n description:\n 'This rule prevents comment strings (e.g. beginning with // or /) from being accidentally injected as a text node in JSX statements.',\n },\n 'react/jsx-no-constructed-context-values': {\n description: 'Disallows JSX context provider values that cause needless re-renders.',\n },\n 'react/jsx-no-duplicate-props': {\n description: 'This rule prevents duplicate props in JSX elements.',\n },\n 'react/jsx-no-literals': {\n defaultOptions: {\n allowedStrings: [],\n ignoreProps: false,\n noAttributeStrings: false,\n noStrings: false,\n restrictedAttributes: [],\n },\n description:\n 'Disallows usage of unwrapped string literals inside JSX, such as text children of a JSX element or string-valued props.',\n },\n 'react/jsx-no-script-url': {\n defaultOptions: {\n 'The 2nd option': {\n includeFromSettings: false,\n },\n },\n description: 'Disallow usage of javascript: URLs.',\n },\n 'react/jsx-no-target-blank': {\n defaultOptions: {\n allowReferrer: false,\n enforceDynamicLinks: 'always',\n forms: false,\n links: true,\n warnOnSpreadAttributes: false,\n },\n description:\n \"This rule aims to prevent user-generated link hrefs and form actions from creating security vulnerabilities by requiring rel='noreferrer' for external link hrefs and form actions, and optionally any dynamically generated link hrefs and form actions.\",\n },\n 'react/jsx-no-undef': {\n description: 'Disallow undeclared variables in JSX.',\n },\n 'react/jsx-no-useless-fragment': {\n defaultOptions: {\n allowExpressions: false,\n },\n description: 'Disallow unnecessary fragments.',\n },\n 'react/jsx-pascal-case': {\n defaultOptions: {\n allowAllCaps: false,\n allowLeadingUnderscore: false,\n allowNamespace: false,\n ignore: [],\n },\n description: 'Enforce PascalCase for user-defined JSX components.',\n },\n 'react/jsx-props-no-spread-multi': {\n description: 'Enforces that any unique expression is only spread once.',\n },\n 'react/jsx-props-no-spreading': {\n defaultOptions: {\n custom: 'enforce',\n exceptions: [],\n explicitSpread: 'enforce',\n html: 'enforce',\n },\n description: 'Disallow JSX prop spreading.',\n },\n 'react/memo-dependencies': {\n description:\n 'Validates that useMemo() and useCallback() declare comprehensive dependency lists without extraneous values.',\n },\n 'react/no-array-index-key': {\n description: 'Warn if an element uses an Array index in its key.',\n },\n 'react/no-children-prop': {\n description: 'Checks that children are not passed using a prop.',\n },\n 'react/no-clone-element': {\n description: 'Prevents the usage of React.cloneElement, which is considered an anti-pattern in React.',\n },\n 'react/no-danger': {\n description: 'This rule prevents the use of dangerouslySetInnerHTML prop.',\n },\n 'react/no-danger-with-children': {\n description: 'Disallows DOM elements from using both children and dangerouslySetInnerHTML properties.',\n },\n 'react/no-deriving-state-in-effects': {\n description:\n 'Disallows deriving values from state inside an effect and storing them back into state; derived values should be computed during render instead.',\n },\n 'react/no-did-mount-set-state': {\n description: 'Disallows using setState in the componentDidMount lifecycle method.',\n },\n 'react/no-did-update-set-state': {\n description: 'Disallow usage of setState in componentDidUpdate.',\n },\n 'react/no-direct-mutation-state': {\n description: 'This rule forbids the direct mutation of this.state in React components.',\n },\n 'react/no-find-dom-node': {\n description: 'This rule disallows the use of findDOMNode, which was deprecated in 2018 and removed in React 19.',\n },\n 'react/no-is-mounted': {\n description: 'This rule prevents using isMounted in class components.',\n },\n 'react/no-multi-comp': {\n defaultOptions: {\n ignoreStateless: false,\n },\n description: 'Prevents multiple React components from being defined in the same file.',\n },\n 'react/no-namespace': {\n description: 'Enforce that namespaces are not used in React elements.',\n },\n 'react/no-object-type-as-default-prop': {\n description:\n 'Disallows using object, array, function, class, regex, JSX, or new-constructed values as default values for destructured React component props.',\n },\n 'react/no-react-children': {\n description: 'Disallows the usage of React.Children, as it is considered a bad practice.',\n },\n 'react/no-redundant-should-component-update': {\n description: 'Disallow usage of shouldComponentUpdate when extending React.PureComponent.',\n },\n 'react/no-render-return-value': {\n description: 'This rule will warn you if you try to use the ReactDOM.render() return value.',\n },\n 'react/no-set-state': {\n description: 'Disallow the usage of this.setState in React components.',\n },\n 'react/no-string-refs': {\n defaultOptions: {\n noTemplateLiterals: false,\n },\n description: 'This rule prevents using the deprecated behavior of string literals in ref attributes.',\n },\n 'react/no-this-in-sfc': {\n description: 'Prevents using this in stateless functional components.',\n },\n 'react/no-unescaped-entities': {\n description:\n 'This rule prevents characters that you may have meant as JSX escape characters from being accidentally injected as a text node in JSX statements.',\n },\n 'react/no-unknown-property': {\n defaultOptions: {\n ignore: [],\n requireDataLowercase: false,\n },\n description: 'Disallow usage of unknown DOM properties.',\n },\n 'react/no-unsafe': {\n defaultOptions: {\n checkAliases: false,\n },\n description: 'This rule identifies and restricts the use of unsafe React lifecycle methods.',\n },\n 'react/no-unstable-nested-components': {\n defaultOptions: {\n allowAsProps: false,\n customValidators: [],\n propNamePattern: 'render*',\n },\n description: 'Disallows defining React components inside other components.',\n },\n 'react/no-will-update-set-state': {\n description: 'Disallows using setState in the componentWillUpdate lifecycle method.',\n },\n 'react/only-export-components': {\n defaultOptions: {\n allowCompoundComponents: false,\n allowConstantExport: false,\n allowExportNames: [],\n checkJS: false,\n customHOCs: [],\n },\n description:\n 'Ensures that modules only export React components (and related HMR-safe items) so that Fast Refresh (a.k.a. hot reloading) can safely preserve component state. Concretely, it validates the shape of your module’s exports and common entrypoints (e.g. createRoot(...).render(<App />)) to match what integrations like react-refresh expect.',\n },\n 'react/prefer-es6-class': {\n description:\n 'React offers you two ways to create traditional components: using the create-react-class package or the newer ES2015 class system.',\n },\n 'react/prefer-function-component': {\n defaultOptions: {\n allowErrorBoundary: true,\n allowJsxUtilityClass: false,\n },\n description: 'Enforces that React components are written as function components instead of class components.',\n },\n 'react/preserve-manual-memoization': {\n description:\n 'Validates that existing manual memoization (useMemo, useCallback, React.memo) is preserved by the React Compiler: the compiler only compiles code whose inferred dependencies match or exceed the manually specified ones.',\n },\n 'react/purity': {\n description:\n 'Validates that components and hooks are pure by checking that they do not call known-impure functions such as Math.random(), Date.now(), or performance.now() during render.',\n },\n 'react/react-in-jsx-scope': {\n description: 'Enforces that React is imported and in-scope when using JSX syntax.',\n },\n 'react/refs': {\n description:\n 'Validates correct usage of refs: ref.current may not be read or written during render, only in event handlers and effects.',\n },\n 'react/require-render-return': {\n description: 'Require render methods in ES5 and ES2015 React components to return a value.',\n },\n 'react/rule-suppression': {\n description:\n 'Reports ESLint/Oxlint suppressions of React rules (for example eslint-disable-next-line react-hooks/exhaustive-deps) inside a component or hook. The React Compiler skips functions containing such suppressions, since the suppressed violation may make compilation unsafe.',\n },\n 'react/rules-of-hooks': {\n description:\n 'Enforces the Rules of Hooks, ensuring that React Hooks are only called in valid contexts and in the correct order.',\n },\n 'react/self-closing-comp': {\n defaultOptions: {\n component: true,\n html: true,\n },\n description:\n 'Detects components without children which can be self-closed to avoid unnecessary extra closing tags.',\n },\n 'react/set-state-in-effect': {\n description: 'Disallows calling setState synchronously inside an effect body.',\n },\n 'react/set-state-in-render': {\n description:\n 'Disallows unconditionally setting state during render (including inside useMemo callbacks), which triggers additional renders and can cause infinite render loops.',\n },\n 'react/state-in-constructor': {\n description: 'Enforces the state initialization style to be either in a constructor or with a class property.',\n },\n 'react/static-components': {\n description:\n 'Validates that components are static — defined at module scope rather than recreated on every render — because dynamically recreated components reset state and cause excessive re-rendering.',\n },\n 'react/style-prop-object': {\n defaultOptions: {\n allow: [],\n },\n description: 'Require that the value of the prop style be an object or a variable that is an object.',\n },\n 'react/syntax': {\n description:\n 'Reports invalid JavaScript encountered by React Compiler while analyzing a component or hook, such as reassigning a const binding.',\n },\n 'react/todo': {\n description:\n 'Reports code that React Compiler cannot yet analyze because it uses features the compiler has not implemented. These are skipped optimizations (bail-outs), not rule violations.',\n },\n 'react/unsupported-syntax': {\n description:\n 'Warns on syntax that React Compiler does not plan to support, such as eval; components and hooks using it are skipped, not optimized.',\n },\n 'react/use-memo': {\n description:\n 'Validates usage of the useMemo() hook against common mistakes, such as passing an async or generator callback or misusing its arguments.',\n },\n 'react/void-dom-elements-no-children': {\n description: 'Disallow void DOM elements (e.g. <img />, <br />) from receiving children.',\n },\n 'react/void-use-memo': {\n description:\n 'Validates that useMemo() callbacks return a value and that the memoized result is actually used by the component or hook.',\n },\n 'react-perf/jsx-no-jsx-as-prop': {\n description: 'Prevent JSX elements that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-array-as-prop': {\n description: 'Prevent arrays that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-function-as-prop': {\n description: 'Prevent functions that are local to the current method from being used as values of JSX props.',\n },\n 'react-perf/jsx-no-new-object-as-prop': {\n description: 'Prevent objects that are local to the current method from being used as values of JSX props.',\n },\n 'typescript/adjacent-overload-signatures': {\n description: 'Require that function overload signatures be consecutive.',\n },\n 'typescript/array-type': {\n defaultOptions: {\n default: 'array',\n readonly: null,\n },\n description: 'Require consistently using either T[] or Array<T> for arrays.',\n },\n 'typescript/await-thenable': {\n defaultOptions: {\n allowMixedPromiseArrays: false,\n },\n description: 'This rule disallows awaiting a value that is not a Thenable.',\n },\n 'typescript/ban-ts-comment': {\n defaultOptions: {\n minimumDescriptionLength: 3,\n },\n description: 'This rule lets you set which directive comments you want to allow in your codebase.',\n },\n 'typescript/ban-tslint-comment': {\n description: 'This rule disallows tslint:<rule-flag> comments.',\n },\n 'typescript/ban-types': {\n description:\n 'This rule bans specific types and can suggest alternatives. Note that it does not ban the corresponding runtime objects from being used.',\n },\n 'typescript/class-literal-property-style': {\n description: 'Enforces a consistent style for exposing literal values on classes.',\n },\n 'typescript/consistent-generic-constructors': {\n description:\n 'When constructing a generic class, you can specify the type arguments on either the left-hand side (as a type annotation) or the right-hand side (as part of the constructor call).',\n },\n 'typescript/consistent-indexed-object-style': {\n description: 'Choose between requiring either Record type or indexed signature types.',\n },\n 'typescript/consistent-return': {\n defaultOptions: {\n treatUndefinedAsUnspecified: false,\n },\n description: 'Enforce consistent return behavior in functions.',\n },\n 'typescript/consistent-type-assertions': {\n description: 'Enforce consistent usage of TypeScript type assertions.',\n },\n 'typescript/consistent-type-definitions': {\n description: 'Enforce type definitions to consistently use either interface or type.',\n },\n 'typescript/consistent-type-exports': {\n defaultOptions: {\n fixMixedExportsWithInlineTypeSpecifier: false,\n },\n description: 'Enforce using export type for exports that are only used as types.',\n },\n 'typescript/consistent-type-imports': {\n defaultOptions: {\n disallowTypeAnnotations: true,\n fixStyle: 'separate-type-imports',\n prefer: 'type-imports',\n },\n description: 'Enforce consistent usage of type imports by adding or removing the type keyword from imports.',\n },\n 'typescript/dot-notation': {\n defaultOptions: {\n allowIndexSignaturePropertyAccess: false,\n allowKeywords: true,\n allowPattern: '',\n allowPrivateClassPropertyAccess: false,\n allowProtectedClassPropertyAccess: false,\n },\n description: 'Enforce dot notation whenever property access can be written safely as obj.prop.',\n },\n 'typescript/explicit-function-return-type': {\n defaultOptions: {\n allowConciseArrowFunctionExpressionsStartingWithVoid: false,\n allowDirectConstAssertionInArrowFunctions: true,\n allowExpressions: false,\n allowFunctionsWithoutTypeParameters: false,\n allowHigherOrderFunctions: true,\n allowIIFEs: false,\n allowTypedFunctionExpressions: true,\n allowedNames: [],\n },\n description: 'This rule enforces that functions have an explicit return type annotation.',\n },\n 'typescript/explicit-member-accessibility': {\n defaultOptions: {\n ignoredMethodNames: [],\n },\n description: 'Require explicit accessibility modifiers on class properties and methods.',\n },\n 'typescript/explicit-module-boundary-types': {\n defaultOptions: {\n allowArgumentsExplicitlyTypedAsAny: false,\n allowDirectConstAssertionInArrowFunctions: true,\n allowHigherOrderFunctions: true,\n allowOverloadFunctions: false,\n allowTypedFunctionExpressions: true,\n allowedNames: [],\n },\n description: \"Require explicit return and argument types on exported functions' and classes' public class methods.\",\n },\n 'typescript/method-signature-style': {\n description: 'Enforce using a particular method signature syntax.',\n },\n 'typescript/no-array-delete': {\n description: 'This rule disallows using the delete operator on array values.',\n },\n 'typescript/no-base-to-string': {\n defaultOptions: {\n checkUnknown: false,\n ignoredTypeNames: ['Error', 'RegExp', 'URL', 'URLSearchParams'],\n },\n description:\n 'This rule requires toString() and toLocaleString() calls to only be called on objects which provide useful information when stringified.',\n },\n 'typescript/no-confusing-non-null-assertion': {\n description: 'Disallow non-null assertion in locations that may be confusing.',\n },\n 'typescript/no-confusing-void-expression': {\n defaultOptions: {\n ignoreArrowShorthand: false,\n ignoreVoidOperator: false,\n ignoreVoidReturningFunctions: false,\n },\n description: 'This rule forbids using void expressions in confusing locations such as arrow function returns.',\n },\n 'typescript/no-deprecated': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallow using code marked as @deprecated.',\n },\n 'typescript/no-duplicate-enum-values': {\n description: 'Disallow duplicate enum member values.',\n },\n 'typescript/no-duplicate-type-constituents': {\n defaultOptions: {\n ignoreIntersections: false,\n ignoreUnions: false,\n },\n description: 'This rule disallows duplicate constituents of union or intersection types.',\n },\n 'typescript/no-dynamic-delete': {\n description: 'Disallow using the delete operator on computed key expressions.',\n },\n 'typescript/no-empty-interface': {\n defaultOptions: {\n allowSingleExtends: false,\n },\n description: 'Disallow the declaration of empty interfaces.',\n },\n 'typescript/no-empty-object-type': {\n defaultOptions: {\n allowInterfaces: 'never',\n allowObjectTypes: 'never',\n },\n description:\n 'To avoid confusion around the {} type allowing any non-nullish value, this rule bans usage of the {} type. That includes interfaces and object type aliases with no fields.',\n },\n 'typescript/no-explicit-any': {\n defaultOptions: {\n fixToUnknown: false,\n ignoreRestArgs: false,\n },\n description: 'Disallows explicit use of the any type.',\n },\n 'typescript/no-extra-non-null-assertion': {\n description: 'Disallow extra non-null assertions.',\n },\n 'typescript/no-extraneous-class': {\n defaultOptions: {\n allowConstructorOnly: false,\n allowEmpty: false,\n allowStaticOnly: false,\n allowWithDecorator: false,\n },\n description:\n 'This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace. This rule also reports classes that have only a constructor and no fields. Those classes can generally be replaced with a standalone function.',\n },\n 'typescript/no-floating-promises': {\n defaultOptions: {\n allowForKnownSafeCalls: [],\n allowForKnownSafePromises: [],\n checkThenables: false,\n ignoreIIFE: false,\n ignoreVoid: true,\n },\n description:\n 'This rule disallows \"floating\" Promises in TypeScript code, which is a Promise that is created without any code to handle its resolution or rejection.',\n },\n 'typescript/no-for-in-array': {\n description: 'This rule disallows iterating over an array with a for-in loop.',\n },\n 'typescript/no-generated-empty-object-type': {\n description:\n 'Disallows type operations that resolve to the empty object type {}. This includes generic type references and intersections, but excludes mapped types whose keys have not yet been resolved.',\n },\n 'typescript/no-implied-eval': {\n description: 'This rule disallows the use of eval-like methods.',\n },\n 'typescript/no-import-type-side-effects': {\n description:\n 'Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers.',\n },\n 'typescript/no-inferrable-types': {\n defaultOptions: {\n ignoreParameters: false,\n ignoreProperties: false,\n },\n description:\n 'Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean.',\n },\n 'typescript/no-invalid-void-type': {\n defaultOptions: {\n allowAsThisParameter: false,\n },\n description: 'Disallow void type usage outside return types and configured generic contexts.',\n },\n 'typescript/no-meaningless-void-operator': {\n defaultOptions: {\n checkNever: false,\n },\n description: 'This rule disallows the void operator when its argument is already of type void or undefined.',\n },\n 'typescript/no-misused-new': {\n description:\n 'Enforces valid definitions of new and constructor. This rule prevents classes from defining a method named new, interfaces from defining a method named constructor, and interfaces from defining a construct signature that returns the interface itself.',\n },\n 'typescript/no-misused-promises': {\n defaultOptions: {\n checksConditionals: {\n flagUnions: 'none',\n },\n checksSpreads: true,\n checksVoidReturn: {\n arguments: true,\n attributes: true,\n inheritedMethods: true,\n properties: true,\n returns: true,\n variables: true,\n },\n },\n description:\n 'This rule forbids providing Promises to logical locations such as if statements in places where the TypeScript compiler allows them but they are not handled properly. These situations can often arise due to a missing await keyword or just a misunderstanding of the way async functions are handled/awaited.',\n },\n 'typescript/no-misused-spread': {\n defaultOptions: {\n allow: [],\n },\n description:\n \"This rule disallows spreading syntax in places where it doesn't make sense or could cause runtime errors.\",\n },\n 'typescript/no-mixed-enums': {\n description: 'This rule disallows enums from having both string and numeric members.',\n },\n 'typescript/no-namespace': {\n defaultOptions: {\n allowDeclarations: false,\n allowDefinitionFiles: true,\n },\n description: 'Disallow TypeScript namespaces.',\n },\n 'typescript/no-non-null-asserted-nullish-coalescing': {\n description: 'Disallow non-null assertions in the left operand of a nullish coalescing operator.',\n },\n 'typescript/no-non-null-asserted-optional-chain': {\n description: 'Disallow non-null assertions after an optional chain expression.',\n },\n 'typescript/no-non-null-assertion': {\n description: 'Disallow non-null assertions using the ! postfix operator.',\n },\n 'typescript/no-redundant-type-constituents': {\n description: 'This rule disallows type constituents of unions and intersections that are redundant.',\n },\n 'typescript/no-require-imports': {\n defaultOptions: {\n allowAsImport: false,\n },\n description: 'Forbids the use of CommonJS require calls.',\n },\n 'typescript/no-restricted-types': {\n defaultOptions: {\n types: {},\n },\n description: 'Disallow certain types from being used.',\n },\n 'typescript/no-this-alias': {\n defaultOptions: {\n allowDestructuring: true,\n allowedNames: [],\n },\n description: 'Disallow aliasing of this.',\n },\n 'typescript/no-unnecessary-boolean-literal-compare': {\n defaultOptions: {\n allowComparingNullableBooleansToFalse: true,\n allowComparingNullableBooleansToTrue: true,\n },\n description: 'This rule disallows unnecessary equality comparisons with boolean literals.',\n },\n 'typescript/no-unnecessary-condition': {\n defaultOptions: {\n checkTypePredicates: false,\n },\n description:\n \"Disallow conditions that are always truthy, always falsy, or always nullish based on TypeScript's type information.\",\n },\n 'typescript/no-unnecessary-parameter-property-assignment': {\n description: 'Prevents unnecessary assignment of parameter properties.',\n },\n 'typescript/no-unnecessary-qualifier': {\n description: 'Disallow namespace qualifiers when the referenced name is already in scope.',\n },\n 'typescript/no-unnecessary-template-expression': {\n description: 'Disallows unnecessary template expressions (interpolations) that can be simplified.',\n },\n 'typescript/no-unnecessary-type-arguments': {\n description: 'This rule disallows type arguments that are identical to the default type parameter.',\n },\n 'typescript/no-unnecessary-type-assertion': {\n defaultOptions: {\n checkLiteralConstAssertions: false,\n typesToIgnore: [],\n },\n description: 'This rule disallows type assertions that do not change the type of an expression.',\n },\n 'typescript/no-unnecessary-type-constraint': {\n description: 'Disallow unnecessary constraints on generic types.',\n },\n 'typescript/no-unnecessary-type-conversion': {\n description: 'Disallow unnecessary type conversion expressions.',\n },\n 'typescript/no-unnecessary-type-parameters': {\n description: 'Disallow type parameters that are declared but not meaningfully used.',\n },\n 'typescript/no-unsafe-argument': {\n description: 'This rule disallows calling a function with an argument which is typed as any.',\n },\n 'typescript/no-unsafe-assignment': {\n description: 'This rule disallows assigning a value with type any to variables and properties.',\n },\n 'typescript/no-unsafe-call': {\n description: 'This rule disallows calling a value with type any.',\n },\n 'typescript/no-unsafe-class-instance-assignment': {\n description:\n 'Disallows using structurally compatible values where an instance of a class or one of its subclasses is expected. It also checks values nested in types such as arrays and promises.',\n },\n 'typescript/no-unsafe-declaration-merging': {\n description: 'Disallow unsafe declaration merging.',\n },\n 'typescript/no-unsafe-enum-assignment': {\n description:\n 'Disallows using values that do not share an enum type where an enum value is expected. This includes assignments, arguments, return values, type assertions, mutations, and computed keys in objects keyed by enum members.',\n },\n 'typescript/no-unsafe-enum-comparison': {\n description: 'This rule disallows comparing an enum value with a non-enum value.',\n },\n 'typescript/no-unsafe-function-type': {\n description: 'Disallow using the unsafe built-in Function type.',\n },\n 'typescript/no-unsafe-member-access': {\n defaultOptions: {\n allowOptionalChaining: false,\n },\n description: 'This rule disallows member access on a value with type any.',\n },\n 'typescript/no-unsafe-return': {\n description: 'This rule disallows returning a value with type any from a function.',\n },\n 'typescript/no-unsafe-type-assertion': {\n description: 'Disallows unsafe type assertions that narrow a type.',\n },\n 'typescript/no-unsafe-unary-minus': {\n description:\n \"This rule disallows using the unary minus operator on a value which is not of type 'number' | 'bigint'.\",\n },\n 'typescript/no-useless-default-assignment': {\n description: 'Disallow default assignments that can never be used.',\n },\n 'typescript/no-useless-empty-export': {\n description: \"Disallow empty exports that don't change anything in a module file.\",\n },\n 'typescript/no-var-requires': {\n description: 'Disallow require statements except in import statements.',\n },\n 'typescript/no-wrapper-object-types': {\n description: 'Disallow the use of wrapper object types.',\n },\n 'typescript/non-nullable-type-assertion-style': {\n description: 'This rule prefers a non-null assertion over an explicit type cast for non-nullable types.',\n },\n 'typescript/only-throw-error': {\n defaultOptions: {\n allow: [],\n allowRethrowing: true,\n allowThrowingAny: true,\n allowThrowingUnknown: true,\n },\n description: 'This rule disallows throwing non-Error values.',\n },\n 'typescript/parameter-properties': {\n defaultOptions: {\n allow: [],\n prefer: 'class-property',\n },\n description: 'Requires or disallows parameter properties in class constructors.',\n },\n 'typescript/prefer-as-const': {\n description: 'Enforce the use of as const over literal types.',\n },\n 'typescript/prefer-enum-initializers': {\n description: 'Require each enum member value to be explicitly initialized.',\n },\n 'typescript/prefer-find': {\n description: 'Prefer .find(...) over .filter(...)[0] for retrieving a single element.',\n },\n 'typescript/prefer-for-of': {\n description: 'Enforces the use of a for...of loop instead of a for loop with simple iteration.',\n },\n 'typescript/prefer-function-type': {\n description: 'Enforce using function types instead of interfaces with call signatures.',\n },\n 'typescript/prefer-includes': {\n description: 'Enforce using .includes() instead of .indexOf() !== -1 or /regex/.test().',\n },\n 'typescript/prefer-literal-enum-member': {\n defaultOptions: {\n allowBitwiseExpressions: false,\n },\n description: 'Explicit enum values must only be literal values (string, number, boolean, etc.).',\n },\n 'typescript/prefer-namespace-keyword': {\n description:\n \"This rule reports when the module keyword is used instead of namespace. This rule does not report on the use of TypeScript module declarations to describe external APIs (declare module 'foo' {}).\",\n },\n 'typescript/prefer-nullish-coalescing': {\n defaultOptions: {\n ignoreBooleanCoercion: false,\n ignoreConditionalTests: true,\n ignoreIfStatements: false,\n ignoreMixedLogicalExpressions: false,\n ignorePrimitives: {\n bigint: false,\n boolean: false,\n number: false,\n string: false,\n },\n ignoreTernaryTests: false,\n },\n description:\n 'Enforce using the nullish coalescing operator (??) instead of logical OR (||) or conditional expressions when the left operand might be null or undefined.',\n },\n 'typescript/prefer-optional-chain': {\n defaultOptions: {\n allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,\n checkAny: true,\n checkBigInt: true,\n checkBoolean: true,\n checkNumber: true,\n checkString: true,\n checkUnknown: true,\n requireNullish: false,\n },\n description:\n 'Enforce using concise optional chain expressions instead of chained logical AND operators, negated logical OR operators, or empty objects.',\n },\n 'typescript/prefer-promise-reject-errors': {\n defaultOptions: {\n allow: [],\n allowEmptyReject: false,\n allowThrowingAny: false,\n allowThrowingUnknown: false,\n },\n description: 'This rule enforces passing an Error object to Promise.reject().',\n },\n 'typescript/prefer-readonly': {\n defaultOptions: {\n onlyInlineLambdas: false,\n },\n description: 'Require class members that are never reassigned to be marked readonly.',\n },\n 'typescript/prefer-readonly-parameter-types': {\n defaultOptions: {\n allow: [],\n checkParameterProperties: true,\n ignoreInferredTypes: false,\n treatMethodsAsReadonly: false,\n },\n description: 'Require function and method parameters to use readonly-compatible types.',\n },\n 'typescript/prefer-reduce-type-parameter': {\n description: 'This rule prefers using a type parameter for the accumulator in Array#reduce() instead of casting.',\n },\n 'typescript/prefer-regexp-exec': {\n description: 'Prefer RegExp#exec() over String#match() when extracting a regex match.',\n },\n 'typescript/prefer-return-this-type': {\n description: 'This rule enforces using this types for return types when possible.',\n },\n 'typescript/prefer-string-starts-ends-with': {\n defaultOptions: {\n allowSingleElementEquality: 'never',\n },\n description: 'Prefer startsWith and endsWith over manual string boundary checks.',\n },\n 'typescript/prefer-ts-expect-error': {\n description: 'Enforce using @ts-expect-error over @ts-ignore.',\n },\n 'typescript/promise-function-async': {\n defaultOptions: {\n allowAny: true,\n allowedPromiseNames: [],\n checkArrowFunctions: true,\n checkFunctionDeclarations: true,\n checkFunctionExpressions: true,\n checkMethodDeclarations: true,\n },\n description: 'This rule requires any function or method that returns a Promise to be marked as async.',\n },\n 'typescript/related-getter-setter-pairs': {\n description:\n 'This rule enforces that getters and setters for the same property are defined together and have related types.',\n },\n 'typescript/require-array-sort-compare': {\n defaultOptions: {\n ignoreStringArrays: true,\n },\n description: 'This rule requires Array#sort() to be called with a comparison function.',\n },\n 'typescript/require-await': {\n description: 'This rule disallows async functions which do not have an await expression.',\n },\n 'typescript/restrict-plus-operands': {\n defaultOptions: {\n allowAny: true,\n allowBoolean: true,\n allowNullish: true,\n allowNumberAndString: true,\n allowRegExp: true,\n skipCompoundAssignments: false,\n },\n description: 'This rule requires both operands of addition to be the same type and be number, string, or any.',\n },\n 'typescript/restrict-template-expressions': {\n defaultOptions: {\n allow: [\n {\n from: 'lib',\n name: ['Error', 'URL', 'URLSearchParams'],\n },\n ],\n allowAny: true,\n allowArray: false,\n allowBoolean: true,\n allowNever: false,\n allowNullish: true,\n allowNumber: true,\n allowRegExp: true,\n },\n description: 'This rule restricts the types allowed in template literal expressions.',\n },\n 'typescript/return-await': {\n description: 'This rule enforces consistent returning of awaited values from async functions.',\n },\n 'typescript/strict-boolean-expressions': {\n defaultOptions: {\n allowAny: false,\n allowNullableBoolean: false,\n allowNullableEnum: false,\n allowNullableNumber: false,\n allowNullableObject: true,\n allowNullableString: false,\n allowNumber: true,\n allowString: true,\n },\n description: 'Disallow certain types in boolean expressions.',\n },\n 'typescript/strict-void-return': {\n defaultOptions: {\n allowReturnAny: false,\n },\n description: 'Disallow returning non-void values where a void return is expected.',\n },\n 'typescript/switch-exhaustiveness-check': {\n defaultOptions: {\n allowDefaultCaseForExhaustiveSwitch: true,\n considerDefaultExhaustiveForUnions: false,\n requireDefaultForNonUnion: false,\n },\n description: 'This rule requires switch statements to be exhaustive when switching on union types.',\n },\n 'typescript/triple-slash-reference': {\n defaultOptions: {\n lib: 'always',\n path: 'never',\n types: 'prefer-import',\n },\n description: 'Disallow certain triple slash directives in favor of ES module import declarations.',\n },\n 'typescript/unbound-method': {\n defaultOptions: {\n ignoreStatic: false,\n },\n description: 'This rule enforces that unbound methods are called with their expected scope.',\n },\n 'typescript/unified-signatures': {\n defaultOptions: {\n ignoreDifferentlyNamedParameters: false,\n ignoreOverloadsWithDifferentJSDoc: false,\n },\n description: 'Disallow overload signatures that can be unified into one.',\n },\n 'typescript/use-unknown-in-catch-callback-variable': {\n description: 'This rule enforces using unknown for catch clause variables instead of any.',\n },\n 'unicorn/catch-error-name': {\n defaultOptions: {\n name: 'error',\n },\n description:\n 'This rule enforces consistent and descriptive naming for error variables in catch statements, preventing the use of vague names like badName or _ when the error is used.',\n },\n 'unicorn/consistent-assert': {\n description: 'Enforces consistent usage of the assert module.',\n },\n 'unicorn/consistent-date-clone': {\n description:\n 'The Date constructor can clone a Date object directly when passed as an argument, making timestamp conversion unnecessary. This rule enforces the use of the direct Date cloning instead of using .getTime() for conversion.',\n },\n 'unicorn/consistent-empty-array-spread': {\n description:\n \"When spreading a ternary in an array, we can use both [] and '' as fallbacks, but it's better to have consistent types in both branches.\",\n },\n 'unicorn/consistent-existence-index-check': {\n description:\n 'Enforce consistent style for element existence checks with indexOf(), lastIndexOf(), findIndex(), and findLastIndex(). This ensures that comparisons are performed in a standard and clear way.',\n },\n 'unicorn/consistent-function-scoping': {\n defaultOptions: {\n checkArrowFunctions: true,\n },\n description:\n 'Disallow functions that are declared in a scope which does not capture any variables from the outer scope.',\n },\n 'unicorn/consistent-template-literal-escape': {\n description: 'Enforce consistent style for escaping ${ in template literals.',\n },\n 'unicorn/custom-error-definition': {\n description: 'Enforces the only valid way of Error subclassing. It works with any super class that ends in Error.',\n },\n 'unicorn/empty-brace-spaces': {\n description:\n 'Removes the extra spaces or new line characters inside a pair of braces that does not contain additional code. This ensures that braces are clean and do not contain unnecessary spaces or newlines.',\n },\n 'unicorn/error-message': {\n description:\n 'Enforces providing a message when creating built-in Error objects to improve readability and debugging.',\n },\n 'unicorn/escape-case': {\n description:\n 'Enforces defining escape sequence values with uppercase characters rather than lowercase ones. This promotes readability by making the escaped value more distinguishable from the identifier.',\n },\n 'unicorn/explicit-length-check': {\n defaultOptions: {\n 'non-zero': 'greater-than',\n },\n description: 'Enforce explicitly comparing the length or size property of a value.',\n },\n 'unicorn/explicit-timer-delay': {\n description: 'Enforce or disallow explicit delay argument for setTimeout() and setInterval().',\n },\n 'unicorn/filename-case': {\n defaultOptions: {\n case: null,\n cases: null,\n multipleFileExtensions: true,\n },\n description:\n 'Enforces a consistent case style for filenames to improve project organization and maintainability. By default, kebab-case is enforced, but other styles can be configured.',\n },\n 'unicorn/import-style': {\n defaultOptions: {\n checkDynamicImport: true,\n checkExportFrom: false,\n checkImport: true,\n checkRequire: true,\n extendDefaultStyles: true,\n styles: {},\n },\n description: 'Enforce specific import styles per module.',\n },\n 'unicorn/max-nested-calls': {\n defaultOptions: {\n max: 3,\n },\n description: 'Limit the depth of nested calls.',\n },\n 'unicorn/new-for-builtins': {\n description:\n 'Enforces the use of new for the following builtins: Object, Array, ArrayBuffer, BigInt64Array, BigUint64Array, DataView, Date, Error, Float16Array, Float32Array, Float64Array, Function, Int8Array, Int16Array, Int32Array, Map, WeakMap, Set, WeakSet, Promise, RegExp, Uint8Array, Uint16Array, Uint32Array, Uint8ClampedArray, SharedArrayBuffer, Proxy, WeakRef, FinalizationRegistry.',\n },\n 'unicorn/no-abusive-eslint-disable': {\n description: 'Disallows oxlint-disable or eslint-disable comments without specifying rules.',\n },\n 'unicorn/no-accessor-recursion': {\n description: 'Disallow recursive access to this within getters and setters.',\n },\n 'unicorn/no-anonymous-default-export': {\n description: 'Disallows anonymous functions and classes as default exports.',\n },\n 'unicorn/no-array-callback-reference': {\n description: 'Prevents passing a function reference directly to iterator methods.',\n },\n 'unicorn/no-array-fill-with-reference-type': {\n description: 'Disallows using reference values as Array#fill() values.',\n },\n 'unicorn/no-array-for-each': {\n description: 'Forbids the use of Array#forEach in favor of a for loop.',\n },\n 'unicorn/no-array-method-this-argument': {\n description:\n 'Disallows the use of the thisArg parameter in array iteration methods such as map, filter, some, every, and similar.',\n },\n 'unicorn/no-array-reduce': {\n defaultOptions: {\n allowSimpleOperations: true,\n },\n description: 'Disallow Array#reduce() and Array#reduceRight().',\n },\n 'unicorn/no-array-reverse': {\n defaultOptions: {\n allowExpressionStatement: true,\n },\n description: 'Prefer using Array#toReversed() over Array#reverse().',\n },\n 'unicorn/no-array-sort': {\n defaultOptions: {\n allowAfterSpread: false,\n allowExpressionStatement: true,\n },\n description: 'Prefer using Array#toSorted() over Array#sort().',\n },\n 'unicorn/no-await-expression-member': {\n description: 'Disallows member access from await expressions.',\n },\n 'unicorn/no-await-in-promise-methods': {\n description: 'Disallow using await in Promise method parameters.',\n },\n 'unicorn/no-confusing-array-with': {\n description: 'Disallows confusing uses of Array#with().',\n },\n 'unicorn/no-console-spaces': {\n description: 'Disallows leading/trailing space inside console.log() and similar methods.',\n },\n 'unicorn/no-document-cookie': {\n description: 'Disallows direct use of document.cookie.',\n },\n 'unicorn/no-empty-file': {\n description: 'Disallows files that do not contain any meaningful code.',\n },\n 'unicorn/no-hex-escape': {\n description:\n 'Enforces a convention of using Unicode escapes instead of hexadecimal escapes for consistency and clarity.',\n },\n 'unicorn/no-immediate-mutation': {\n description: 'Disallows mutating a variable immediately after initialization.',\n },\n 'unicorn/no-instanceof-array': {\n description: 'Require Array.isArray() instead of instanceof Array.',\n },\n 'unicorn/no-instanceof-builtins': {\n defaultOptions: {\n exclude: [],\n include: [],\n strategy: 'loose',\n useErrorIsError: false,\n },\n description: 'Disallows the use of instanceof with ECMAScript built-in constructors because:',\n },\n 'unicorn/no-invalid-fetch-options': {\n description:\n 'Disallow invalid options in fetch() and new Request(). Specifically, this rule ensures that a body is not provided when the method is GET or HEAD, as it will result in a TypeError.',\n },\n 'unicorn/no-invalid-remove-event-listener': {\n description: 'It warns when you use a non-function value as the second argument of removeEventListener.',\n },\n 'unicorn/no-length-as-slice-end': {\n description: 'Disallow using length as the end argument of a slice call.',\n },\n 'unicorn/no-lonely-if': {\n description: 'Disallow if statements as the only statement in if blocks without else.',\n },\n 'unicorn/no-magic-array-flat-depth': {\n description: 'Disallow magic numbers for Array.prototype.flat depth.',\n },\n 'unicorn/no-negated-condition': {\n description: 'Disallow negated conditions.',\n },\n 'unicorn/no-negation-in-equality-check': {\n description: 'Disallow negated expressions on the left of (in)equality checks.',\n },\n 'unicorn/no-nested-ternary': {\n description: 'Disallow deeply nested ternary expressions.',\n },\n 'unicorn/no-new-array': {\n description: 'Disallow new Array().',\n },\n 'unicorn/no-new-buffer': {\n description: 'Disallows the deprecated new Buffer() constructor.',\n },\n 'unicorn/no-null': {\n defaultOptions: {\n checkArguments: true,\n checkStrictEquality: false,\n },\n description: 'Disallow the use of the null literal, to encourage using undefined instead.',\n },\n 'unicorn/no-object-as-default-parameter': {\n description: 'Disallow the use of an object literal as a default value for a parameter.',\n },\n 'unicorn/no-process-exit': {\n description: 'Disallow all usage of process.exit().',\n },\n 'unicorn/no-single-promise-in-promise-methods': {\n description: 'Disallow passing single-element arrays to Promise methods.',\n },\n 'unicorn/no-static-only-class': {\n description: 'Disallow class declarations that exclusively contain static members.',\n },\n 'unicorn/no-thenable': {\n description: 'Disallow defining a then property.',\n },\n 'unicorn/no-this-assignment': {\n description: 'Disallow assigning this to a variable.',\n },\n 'unicorn/no-typeof-undefined': {\n defaultOptions: {\n checkGlobalVariables: false,\n },\n description: 'Disallow typeof comparisons with undefined.',\n },\n 'unicorn/no-unnecessary-array-flat-depth': {\n description: 'Disallows passing 1 to Array.prototype.flat.',\n },\n 'unicorn/no-unnecessary-array-splice-count': {\n description:\n 'Disallows passing .length or Infinity as the deleteCount or skipCount argument of Array#splice() or Array#toSpliced().',\n },\n 'unicorn/no-unnecessary-await': {\n description: 'Disallow awaiting on non-promise values.',\n },\n 'unicorn/no-unnecessary-slice-end': {\n description:\n 'Disallows unnecessarily passing a second argument to slice(...), for cases where it would not change the result.',\n },\n 'unicorn/no-unreadable-array-destructuring': {\n description: 'Disallows destructuring values from an array in ways that are difficult to read.',\n },\n 'unicorn/no-unreadable-iife': {\n description: 'This rule disallows IIFEs with a parenthesized arrow function body.',\n },\n 'unicorn/no-useless-collection-argument': {\n description: 'Disallow useless values or fallbacks in Set, Map, WeakSet, or WeakMap.',\n },\n 'unicorn/no-useless-error-capture-stack-trace': {\n description: 'Disallows unnecessary Error.captureStackTrace(…) in error constructors.',\n },\n 'unicorn/no-useless-fallback-in-spread': {\n description: 'Disallow useless fallback when spreading in object literals.',\n },\n 'unicorn/no-useless-iterator-to-array': {\n description: 'Disallow unnecessary .toArray() on iterators.',\n },\n 'unicorn/no-useless-length-check': {\n description: 'It checks for an unnecessary array length check in a logical expression.',\n },\n 'unicorn/no-useless-promise-resolve-reject': {\n defaultOptions: {\n allowReject: false,\n },\n description:\n 'Disallows returning values wrapped in Promise.resolve or Promise.reject in an async function or a Promise#then/catch/finally callback.',\n },\n 'unicorn/no-useless-spread': {\n description: 'Disallows using spread syntax in following, unnecessary cases:',\n },\n 'unicorn/no-useless-switch-case': {\n description: 'Disallows useless default cases in switch statements.',\n },\n 'unicorn/no-useless-undefined': {\n defaultOptions: {\n checkArguments: true,\n checkArrowFunctionBody: true,\n },\n description: 'Prevents usage of undefined in cases where it would be useless.',\n },\n 'unicorn/no-zero-fractions': {\n description: 'Prevents the use of zero fractions.',\n },\n 'unicorn/number-literal-case': {\n description: 'This rule enforces proper case for numeric literals.',\n },\n 'unicorn/numeric-separators-style': {\n defaultOptions: {\n binary: {\n groupLength: 4,\n minimumDigits: 0,\n },\n hexadecimal: {\n groupLength: 2,\n minimumDigits: 0,\n },\n number: {\n fractionGroupLength: 'Infinity',\n groupLength: 3,\n minimumDigits: 5,\n },\n octal: {\n groupLength: 4,\n minimumDigits: 0,\n },\n onlyIfContainsSeparator: false,\n },\n description: 'Enforces a convention of grouping digits using numeric separators.',\n },\n 'unicorn/prefer-add-event-listener': {\n description:\n 'Enforces the use of .addEventListener() and .removeEventListener() over their on-function counterparts.',\n },\n 'unicorn/prefer-array-find': {\n description:\n 'Encourages using Array.prototype.find and Array.prototype.findLast instead of taking the first or last matching element from filter(...).',\n },\n 'unicorn/prefer-array-flat': {\n description: 'Prefers Array#flat() over legacy techniques to flatten arrays.',\n },\n 'unicorn/prefer-array-flat-map': {\n description: 'Prefers a single .flatMap() over .map().flat() or .filter().flatMap().',\n },\n 'unicorn/prefer-array-index-of': {\n description:\n 'Enforces using indexOf or lastIndexOf instead of findIndex or findLastIndex when the callback is a simple strict equality comparison.',\n },\n 'unicorn/prefer-array-some': {\n description:\n 'Prefers using Array#some() over Array#find(), Array#findLast() with comparing to undefined, or Array#findIndex(), Array#findLastIndex() and a non-zero length check on the result of Array#filter()',\n },\n 'unicorn/prefer-at': {\n defaultOptions: {\n checkAllIndexAccess: false,\n getLastElementFunctions: [],\n },\n description: 'Prefer the Array#at() and String#at() methods for index access.',\n },\n 'unicorn/prefer-bigint-literals': {\n description:\n 'Requires using BigInt literals (e.g. 123n) instead of calling the BigInt() constructor with literal arguments such as numbers or numeric strings',\n },\n 'unicorn/prefer-blob-reading-methods': {\n description:\n 'Recommends using Blob#text() and Blob#arrayBuffer() over FileReader#readAsText() and FileReader#readAsArrayBuffer().',\n },\n 'unicorn/prefer-class-fields': {\n description: 'Prefers class field declarations over this assignments in constructors for static values.',\n },\n 'unicorn/prefer-classlist-toggle': {\n description:\n 'Prefers the use of element.classList.toggle(className, condition) over conditional add/remove patterns.',\n },\n 'unicorn/prefer-code-point': {\n description:\n 'Prefer usage of String#codePointAt over String#charCodeAt. Prefer usage of String.fromCodePoint over String.fromCharCode.',\n },\n 'unicorn/prefer-date-now': {\n description: 'Prefers use of Date.now() over new Date().getTime() or new Date().valueOf().',\n },\n 'unicorn/prefer-default-parameters': {\n description:\n 'Instead of reassigning a function parameter, default parameters should be used. The foo = foo || 123 statement evaluates to 123 when foo is falsy, possibly leading to confusing behavior, whereas default parameters only apply when passed an undefined value. This rule only reports reassignments to literal values.',\n },\n 'unicorn/prefer-dom-node-append': {\n description:\n 'Enforces the use of, for example, document.body.append(div); over document.body.appendChild(div); for DOM nodes.',\n },\n 'unicorn/prefer-dom-node-dataset': {\n description:\n 'Use .dataset on DOM elements over getAttribute(…), .setAttribute(…), .removeAttribute(…) and .hasAttribute(…).',\n },\n 'unicorn/prefer-dom-node-remove': {\n description: 'Prefers the use of child.remove() over parentNode.removeChild(child).',\n },\n 'unicorn/prefer-dom-node-text-content': {\n description: 'Enforces the use of .textContent over .innerText for DOM nodes.',\n },\n 'unicorn/prefer-event-target': {\n description: 'Prefers EventTarget over EventEmitter.',\n },\n 'unicorn/prefer-export-from': {\n defaultOptions: {\n checkUsedVariables: true,\n },\n description:\n \"When re-exporting from a module, it's unnecessary to import and then export. It can be done in a single export…from declaration. This rule encourages using direct re-export syntax (export ... from) instead of importing and then exporting. It helps reduce boilerplate code and keeps the module scope clean by avoiding unnecessary local bindings.\",\n },\n 'unicorn/prefer-global-this': {\n description:\n 'Enforces the use of globalThis instead of environment‑specific global object aliases (window, self, or global).',\n },\n 'unicorn/prefer-import-meta-properties': {\n description: 'Prefer import.meta.{dirname,filename} over legacy techniques for getting file paths.',\n },\n 'unicorn/prefer-includes': {\n description:\n 'Prefer includes() over indexOf() when checking for existence/non-existence. All built-ins have .includes() in addition to .indexOf().',\n },\n 'unicorn/prefer-keyboard-event-key': {\n description: 'Enforces the use of KeyboardEvent#key over KeyboardEvent#keyCode, which is deprecated.',\n },\n 'unicorn/prefer-logical-operator-over-ternary': {\n description: 'This rule finds ternary expressions that can be simplified to a logical operator.',\n },\n 'unicorn/prefer-math-min-max': {\n description:\n 'Prefers use of Math.min() and Math.max() instead of ternary expressions when performing simple comparisons.',\n },\n 'unicorn/prefer-math-trunc': {\n description: 'Prefers use of Math.trunc() instead of bitwise operations for clarity and more reliable results.',\n },\n 'unicorn/prefer-modern-dom-apis': {\n description: 'Enforces the use of:',\n },\n 'unicorn/prefer-modern-math-apis': {\n description: 'Checks for usage of legacy patterns for mathematical operations.',\n },\n 'unicorn/prefer-module': {\n description: 'Prefer JavaScript modules (ESM) over CommonJS.',\n },\n 'unicorn/prefer-native-coercion-functions': {\n description: 'Prefers built-in functions over custom ones with the same functionality.',\n },\n 'unicorn/prefer-negative-index': {\n description: 'Prefer using a negative index over .length - index when possible.',\n },\n 'unicorn/prefer-node-protocol': {\n description: 'Prefer using the node: protocol when importing Node.js built-in modules.',\n },\n 'unicorn/prefer-number-coercion': {\n description: 'Prefer Number() over parseFloat() and base-10 parseInt().',\n },\n 'unicorn/prefer-number-properties': {\n defaultOptions: {\n checkInfinity: false,\n checkNaN: true,\n },\n description:\n 'Disallows use of parseInt(), parseFloat(), isNaN(), isFinite(), NaN, Infinity and -Infinity as global variables.',\n },\n 'unicorn/prefer-object-from-entries': {\n defaultOptions: {\n functions: ['_.fromPairs', 'lodash.fromPairs'],\n },\n description: 'Encourages using Object.fromEntries when converting an array of key-value pairs into an object.',\n },\n 'unicorn/prefer-optional-catch-binding': {\n description: 'Prefers omitting the catch binding parameter if it is unused.',\n },\n 'unicorn/prefer-prototype-methods': {\n description: 'This rule prefers borrowing methods from the prototype instead of the instance.',\n },\n 'unicorn/prefer-query-selector': {\n defaultOptions: {\n allowWithVariables: false,\n },\n description:\n 'Prefer .querySelector() over .getElementById(). And prefer .querySelectorAll() over .getElementsByClassName(), .getElementsByTagName(), and .getElementsByName().',\n },\n 'unicorn/prefer-reflect-apply': {\n description: 'Disallows the use of Function.prototype.apply() and suggests using Reflect.apply() instead.',\n },\n 'unicorn/prefer-regexp-test': {\n description: 'Prefers RegExp#test() over String#match() and String#exec().',\n },\n 'unicorn/prefer-response-static-json': {\n description: 'Enforces the use of Response.json() over new Response(JSON.stringify()).',\n },\n 'unicorn/prefer-set-has': {\n description: 'Prefer Set#has() over Array#includes() when checking for existence or non-existence.',\n },\n 'unicorn/prefer-set-size': {\n description: 'Prefer Set#size over Set#length when the Set is converted to an array.',\n },\n 'unicorn/prefer-single-call': {\n defaultOptions: {\n ignore: [],\n },\n description:\n 'Enforces combining multiple Array#{push,unshift}(), Element#classList.{add,remove}(), and importScripts() into a single call.',\n },\n 'unicorn/prefer-spread': {\n description: 'Enforces the use of the spread operator (...) over outdated patterns.',\n },\n 'unicorn/prefer-string-raw': {\n description: 'Prefers use of String.raw to avoid escaping \\\\.',\n },\n 'unicorn/prefer-string-replace-all': {\n description: 'Prefers String#replaceAll() over String#replace() when using a regex with the global flag.',\n },\n 'unicorn/prefer-string-slice': {\n description: 'Prefer String#slice() over String#substr() and String#substring().',\n },\n 'unicorn/prefer-string-starts-ends-with': {\n description: 'Prefer String#startsWith() and String#endsWith() over using a regex with /^foo/ or /foo$/.',\n },\n 'unicorn/prefer-string-trim-start-end': {\n description:\n 'String#trimLeft() and String#trimRight() are aliases of String#trimStart() and String#trimEnd(). This is to ensure consistency and use direction-independent wording.',\n },\n 'unicorn/prefer-structured-clone': {\n defaultOptions: {\n functions: ['cloneDeep', 'utils.clone'],\n },\n description: 'Prefer using structuredClone to create a deep clone.',\n },\n 'unicorn/prefer-ternary': {\n description: 'Prefers ternary expressions over simple if/else statements.',\n },\n 'unicorn/prefer-top-level-await': {\n description: 'Prefer top-level await over top-level promises and async function calls.',\n },\n 'unicorn/prefer-type-error': {\n description: 'Enforce throwing a TypeError instead of a generic Error after a type checking if-statement.',\n },\n 'unicorn/relative-url-style': {\n description: 'Enforce consistent relative URL style.',\n },\n 'unicorn/require-array-join-separator': {\n description: 'Enforce using the separator argument with Array#join().',\n },\n 'unicorn/require-module-attributes': {\n description: 'This rule enforces a non-empty attribute list in import/export statements and import() expressions.',\n },\n 'unicorn/require-module-specifiers': {\n description: 'Enforce a non-empty specifier list in import and export statements.',\n },\n 'unicorn/require-number-to-fixed-digits-argument': {\n description: 'Enforce using the digits argument with Number#toFixed().',\n },\n 'unicorn/require-post-message-target-origin': {\n description: 'Enforce using the targetOrigin argument with window.postMessage().',\n },\n 'unicorn/switch-case-braces': {\n description:\n 'Requires empty switch cases to omit braces, while non-empty cases must use braces. This reduces visual clutter for empty cases and enforces proper scoping for non-empty ones.',\n },\n 'unicorn/switch-case-break-position': {\n description: 'Enforce consistent break/return/continue/throw position in case clauses.',\n },\n 'unicorn/text-encoding-identifier-case': {\n defaultOptions: {\n withDash: false,\n },\n description: 'This rule enforces consistent casing for text encoding identifiers, specifically:',\n },\n 'unicorn/throw-new-error': {\n description: 'This rule makes sure you always use new when throwing an error.',\n },\n 'vitest/consistent-each-for': {\n description:\n 'This rule enforces consistency in which method is used to create parameterized tests. This configuration affects different test function types (test, it, describe, suite).',\n },\n 'vitest/consistent-test-filename': {\n description:\n 'This rule triggers an error when a file is considered a test file, but its name does not match an expected filename format.',\n },\n 'vitest/consistent-test-it': {\n defaultOptions: {\n fn: 'test',\n withinDescribe: 'it',\n },\n description:\n 'Vitest allows you to choose how you want to define your tests, using the it or the test keywords, with multiple permutations for each:',\n },\n 'vitest/consistent-vitest-vi': {\n defaultOptions: {\n fn: 'vi',\n },\n description: 'This rule triggers an error when an unexpected Vitest accessor is used.',\n },\n 'vitest/expect-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n assertFunctionNames: ['expect'],\n },\n description:\n 'This rule triggers when there is no call made to expect in a test, ensure that there is at least one expect call made in a test.',\n },\n 'vitest/hoisted-apis-on-top': {\n description:\n 'Requires hoisted Vitest APIs (vi.mock, vi.unmock, and vi.hoisted) to appear at the top level of the file.',\n },\n 'vitest/max-expects': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum number of expect() calls in a single test.',\n },\n 'vitest/max-nested-describe': {\n defaultOptions: {\n max: 5,\n },\n description: 'This rule enforces a maximum depth to nested describe() calls.',\n },\n 'vitest/no-alias-methods': {\n description: \"Enforces Vitest's canonical matcher names instead of aliases.\",\n },\n 'vitest/no-commented-out-tests': {\n description: \"This rule raises a warning about commented-out tests. It's similar to the no-disabled-tests rule.\",\n },\n 'vitest/no-conditional-expect': {\n description:\n 'This rule prevents the use of expect in conditional blocks, such as if and catch. This includes using expect in callbacks to functions named catch, which are assumed to be promises.',\n },\n 'vitest/no-conditional-in-test': {\n description: 'Disallow conditional statements in tests.',\n },\n 'vitest/no-conditional-tests': {\n description:\n 'The rule disallows the use of conditional statements within test cases to ensure that tests are deterministic and clearly readable.',\n },\n 'vitest/no-disabled-tests': {\n description: 'This rule raises a warning about disabled tests.',\n },\n 'vitest/no-duplicate-hooks': {\n description: 'Disallows duplicate hooks in describe blocks.',\n },\n 'vitest/no-focused-tests': {\n description:\n 'This rule reminds you to remove .only from your tests by raising a warning whenever you are using the exclusivity feature.',\n },\n 'vitest/no-hooks': {\n defaultOptions: {\n allow: [],\n },\n description: 'Disallows Jest setup and teardown hooks, such as beforeAll.',\n },\n 'vitest/no-identical-title': {\n description:\n 'This rule looks at the title of every test and test suite. It will report when two test suites or two test cases at the same level of a test suite have the same title.',\n },\n 'vitest/no-import-node-test': {\n description:\n 'This rule warns when node:test is imported (usually accidentally). With --fix, it will replace the import with vitest.',\n },\n 'vitest/no-importing-vitest-globals': {\n description: 'The rule disallows importing any Vitest global functions.',\n },\n 'vitest/no-interpolation-in-snapshots': {\n description: 'Prevents the use of string interpolations in snapshots.',\n },\n 'vitest/no-large-snapshots': {\n defaultOptions: {\n allowedSnapshots: {},\n inlineMaxSize: null,\n maxSize: 50,\n },\n description: 'Disallow large snapshots.',\n },\n 'vitest/no-mocks-import': {\n description: 'This rule reports imports from a path containing a __mocks__ component.',\n },\n 'vitest/no-restricted-matchers': {\n description: 'Ban specific matchers & modifiers from being used, and can suggest alternatives.',\n },\n 'vitest/no-restricted-vi-methods': {\n description: 'Restrict the use of specific jest and vi methods.',\n },\n 'vitest/no-standalone-expect': {\n defaultOptions: {\n additionalTestBlockFunctions: [],\n },\n description:\n 'Prevents expect statements outside of a test or it block. An expect within a helper function (but outside of a test or it block) will not trigger this rule.',\n },\n 'vitest/no-test-prefixes': {\n description: 'Require using .only and .skip over f and x.',\n },\n 'vitest/no-test-return-statement': {\n description: 'Disallow explicitly returning from tests.',\n },\n 'vitest/no-unneeded-async-expect-function': {\n description: 'Disallows unnecessary async function wrapper for expected promises.',\n },\n 'vitest/padding-around-after-all-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more afterAll statements.',\n },\n 'vitest/padding-around-test-blocks': {\n description: 'This rule enforces a line of padding before and after 1 or more test/it statements.',\n },\n 'vitest/prefer-called-exactly-once-with': {\n description:\n 'It checks when a target is asserted with both toHaveBeenCalledOnce and toHaveBeenCalledWith instead of toHaveBeenCalledExactlyOnceWith.',\n },\n 'vitest/prefer-called-once': {\n description:\n 'Substitute toBeCalledTimes(1) and toHaveBeenCalledTimes(1) with toBeCalledOnce() and toHaveBeenCalledOnce() respectively.',\n },\n 'vitest/prefer-called-times': {\n description:\n 'This rule aims to enforce the use of toBeCalledTimes(1) or toHaveBeenCalledTimes(1) over toBeCalledOnce() or toHaveBeenCalledOnce().',\n },\n 'vitest/prefer-called-with': {\n description: 'Suggest using toBeCalledWith() or toHaveBeenCalledWith().',\n },\n 'vitest/prefer-comparison-matcher': {\n description:\n 'This rule checks for comparisons in tests that could be replaced with one of the following built-in comparison matchers:',\n },\n 'vitest/prefer-describe-function-title': {\n description:\n 'When testing a specific function, this rule aims to enforce passing a named function to describe() instead of an equivalent hardcoded string.',\n },\n 'vitest/prefer-each': {\n description: 'This rule enforces using each rather than manual loops.',\n },\n 'vitest/prefer-equality-matcher': {\n description:\n 'Jest has built-in matchers for expecting equality, which allow for more readable tests and error messages if an expectation fails.',\n },\n 'vitest/prefer-expect-assertions': {\n defaultOptions: {\n onlyFunctionsWithAsyncKeyword: false,\n onlyFunctionsWithExpectInCallback: false,\n onlyFunctionsWithExpectInLoop: false,\n },\n description:\n 'Enforces that every test has either expect.assertions(<number>) or expect.hasAssertions() as its first expression.',\n },\n 'vitest/prefer-expect-resolves': {\n description: 'Prefer await expect(...).resolves over expect(await ...) when testing promises.',\n },\n 'vitest/prefer-expect-type-of': {\n description: 'Enforce using toBeTypeOf instead of expect(typeof ...).toBe(...).',\n },\n 'vitest/prefer-hooks-in-order': {\n description: 'Ensures that hooks are in the order that they are called in.',\n },\n 'vitest/prefer-hooks-on-top': {\n description:\n \"While hooks can be setup anywhere in a test file, they are always called in a specific order, which means it can be confusing if they're intermixed with test cases.\",\n },\n 'vitest/prefer-import-in-mock': {\n description:\n 'This rule enforces using a dynamic import() in vi.mock() or vi.doMock(), which improves type information and IntelliSense for the mocked module.',\n },\n 'vitest/prefer-importing-vitest-globals': {\n description: \"Enforces explicit imports from 'vitest' instead of using Vitest globals.\",\n },\n 'vitest/prefer-lowercase-title': {\n defaultOptions: {\n allowedPrefixes: [],\n ignore: [],\n ignoreTopLevelDescribe: false,\n lowercaseFirstCharacterOnly: true,\n },\n description:\n 'Enforce it, test, describe, and bench to have descriptions that begin with a lowercase letter. This provides more readable test failures.',\n },\n 'vitest/prefer-mock-promise-shorthand': {\n description:\n 'When working with mocks of functions that return promises, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write. These methods should be preferred when possible.',\n },\n 'vitest/prefer-mock-return-shorthand': {\n description:\n 'When working with mocks of functions that return simple values, Jest provides some API sugar functions to reduce the amount of boilerplate you have to write.',\n },\n 'vitest/prefer-snapshot-hint': {\n description:\n 'Enforces including a hint string with snapshot matchers (toMatchSnapshot and toThrowErrorMatchingSnapshot).',\n },\n 'vitest/prefer-spy-on': {\n description:\n 'When mocking a function by overwriting a property you have to manually restore the original implementation when cleaning up. When using jest.spyOn() Jest keeps track of changes, and they can be restored with jest.restoreAllMocks(), mockFn.mockRestore() or by setting restoreMocks to true in the Jest config.',\n },\n 'vitest/prefer-strict-boolean-matchers': {\n description:\n 'This rule warns when toBeTruthy() or toBeFalsy() is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBe(true) or toBe(false).',\n },\n 'vitest/prefer-strict-equal': {\n description: 'This rule triggers a warning if toEqual() is used to assert equality.',\n },\n 'vitest/prefer-to-be': {\n description:\n 'Recommends using toBe matcher for primitive literals and specific matchers for null, undefined, and NaN.',\n },\n 'vitest/prefer-to-be-falsy': {\n description:\n 'This rule warns when toBe(false) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeFalsy().',\n },\n 'vitest/prefer-to-be-object': {\n description: 'This rule enforces using toBeObject() to check if a value is of type Object.',\n },\n 'vitest/prefer-to-be-truthy': {\n description:\n 'This rule warns when toBe(true) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeTruthy().',\n },\n 'vitest/prefer-to-contain': {\n description:\n 'In order to have a better failure message, toContain() should be used upon asserting expectations on an array containing an object.',\n },\n 'vitest/prefer-to-have-been-called-times': {\n description:\n 'In order to have a better failure message, [toHaveBeenCalledTimes should be used instead of directly checking the length of mock.calls](https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md).',\n },\n 'vitest/prefer-to-have-length': {\n description:\n 'In order to have a better failure message, toHaveLength() should be used upon asserting expectations on objects length property.',\n },\n 'vitest/prefer-todo': {\n description:\n 'When test cases are empty then it is better to mark them as test.todo as it will be highlighted in the summary output.',\n },\n 'vitest/require-awaited-expect-poll': {\n description:\n 'This rule ensures that promises returned by expect.poll and expect.element calls are handled properly.',\n },\n 'vitest/require-hook': {\n defaultOptions: {\n allowedFunctionCalls: [],\n },\n description:\n 'This rule flags any expression that is either at the toplevel of a test file or directly within the body of a describe, except for the following:',\n },\n 'vitest/require-local-test-context-for-concurrent-snapshots': {\n description:\n 'The rule is intended to ensure that concurrent snapshot tests are executed within a properly configured local test context.',\n },\n 'vitest/require-mock-type-parameters': {\n defaultOptions: {\n checkImportFunctions: false,\n },\n description:\n 'Enforces the use of type parameters on vi.fn(), and optionally on vi.importActual() and vi.importMock().',\n },\n 'vitest/require-test-timeout': {\n description:\n 'Requires every test to have a timeout specified, either as a numeric third argument, a { timeout } option, or via vi.setConfig({ testTimeout: ... }).',\n },\n 'vitest/require-to-throw-message': {\n description: 'This rule triggers a warning if toThrow() or toThrowError() is used without an error message.',\n },\n 'vitest/require-top-level-describe': {\n defaultOptions: {\n maxNumberOfTopLevelDescribes: 'Infinity',\n },\n description: 'Requires test cases and hooks to be inside a top-level describe block.',\n },\n 'vitest/valid-describe-callback': {\n description:\n 'This rule validates that the second parameter of a describe() function is a callback function. This callback function:',\n },\n 'vitest/valid-expect': {\n defaultOptions: {\n alwaysAwait: false,\n asyncMatchers: ['toResolve', 'toReject'],\n maxArgs: 1,\n minArgs: 1,\n },\n description:\n 'Checks that expect() is called correctly. vitest/valid-expect also checks that expectTypeOf() calls use valid modifiers and invoke a matcher.',\n },\n 'vitest/valid-expect-in-promise': {\n description:\n 'Ensures that expect calls inside promise chains (.then(), .catch(), .finally()) are properly awaited or returned from the test.',\n },\n 'vitest/valid-title': {\n description: 'Checks that the titles of Jest and Vitest blocks are valid.',\n },\n 'vitest/warn-todo': {\n description: 'This rule warns about usage of .todo in describe, it, or test functions.',\n },\n 'vue/component-definition-name-casing': {\n description: 'Enforce specific casing for component definition names.',\n },\n 'vue/define-emits-declaration': {\n description:\n 'Enforce consistent declaration style for defineEmits in Vue. This rule only works in <script setup> with lang=\"ts\".',\n },\n 'vue/define-props-declaration': {\n description:\n 'Enforce consistent declaration style for defineProps in Vue. This rule only works in <script setup> with lang=\"ts\".',\n },\n 'vue/define-props-destructuring': {\n defaultOptions: {\n destructure: 'only-when-assigned',\n },\n description:\n 'This rule enforces a consistent style for handling Vue 3 Composition API props, allowing you to choose between requiring destructuring or prohibiting it.',\n },\n 'vue/max-props': {\n defaultOptions: {\n maxProps: 1,\n },\n description: 'Enforce a maximum number of props defined for a given Vue component.',\n },\n 'vue/next-tick-style': {\n description: 'Enforce Promise or callback style in nextTick.',\n },\n 'vue/no-arrow-functions-in-watch': {\n description: 'This rule disallows using arrow functions when defining a watcher.',\n },\n 'vue/no-async-in-computed-properties': {\n defaultOptions: {\n ignoredObjectNames: [],\n },\n description: 'Disallow asynchronous actions in computed properties.',\n },\n 'vue/no-computed-properties-in-data': {\n description: 'Disallow accessing computed properties inside data().',\n },\n 'vue/no-deprecated-data-object-declaration': {\n description: 'Disallow object declarations for data (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-delete-set': {\n description: 'Disallow using deprecated $set / $delete (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-destroyed-lifecycle': {\n description: 'Disallow using deprecated destroyed and beforeDestroy lifecycle hooks in Vue.js 3.0.0+.',\n },\n 'vue/no-deprecated-events-api': {\n description: 'Disallow using deprecated Events API ($on, $off, $once) in Vue.js 3.0.0+.',\n },\n 'vue/no-deprecated-model-definition': {\n defaultOptions: {\n allowVue3Compat: false,\n },\n description: 'Disallow deprecated model definition (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-props-default-this': {\n description: 'Disallow deprecated this access in props default function (in Vue.js 3.0.0+).',\n },\n 'vue/no-deprecated-vue-config-keycodes': {\n description: 'Disallow using deprecated Vue.config.keyCodes (in Vue.js 3.0.0+).',\n },\n 'vue/no-dupe-keys': {\n defaultOptions: {\n groups: [],\n },\n description: 'Disallow duplication of field names.',\n },\n 'vue/no-export-in-script-setup': {\n description: 'Disallow export in <script setup>',\n },\n 'vue/no-expose-after-await': {\n description: 'Disallow asynchronously registered expose.',\n },\n 'vue/no-import-compiler-macros': {\n description: 'Disallow importing Vue compiler macros.',\n },\n 'vue/no-lifecycle-after-await': {\n description: 'Disallow asynchronously registered lifecycle hooks.',\n },\n 'vue/no-multiple-slot-args': {\n description: 'Disallow passing multiple arguments to scoped slots.',\n },\n 'vue/no-required-prop-with-default': {\n description: 'Enforce props with default values to be optional.',\n },\n 'vue/no-reserved-component-names': {\n defaultOptions: {\n disallowVue3BuiltInComponents: false,\n disallowVueBuiltInComponents: false,\n htmlElementCaseSensitive: false,\n },\n description:\n 'Disallow Vue component names that collide with HTML / SVG element names (and optionally Vue built-in component names).',\n },\n 'vue/no-reserved-keys': {\n defaultOptions: {\n groups: [],\n reserved: [],\n },\n description:\n 'Disallow overwriting reserved Vue instance keys (e.g. $data, $emit) or using _-prefixed keys inside data / asyncData.',\n },\n 'vue/no-reserved-props': {\n defaultOptions: {\n vueVersion: 3,\n },\n description: 'Disallow reserved attribute names (e.g. key, ref) from being used as prop names.',\n },\n 'vue/no-shared-component-data': {\n description: 'Enforce that the data property of a Vue component definition is a function.',\n },\n 'vue/no-side-effects-in-computed-properties': {\n description: 'Disallow side effects in computed properties.',\n },\n 'vue/no-this-in-before-route-enter': {\n description: 'Disallow this usage in a beforeRouteEnter method.',\n },\n 'vue/no-watch-after-await': {\n description: 'Disallow asynchronously-registered watch.',\n },\n 'vue/prefer-import-from-vue': {\n description: 'Enforce imports from vue instead of @vue/.',\n },\n 'vue/prop-name-casing': {\n description: 'Enforce a specific casing (camelCase or snake\\\\_case) for Vue component prop names.',\n },\n 'vue/require-default-export': {\n description: 'Require components to be the default export.',\n },\n 'vue/require-default-prop': {\n description: 'Requires default value to be set for props that are not marked as required.',\n },\n 'vue/require-direct-export': {\n defaultOptions: {\n disallowFunctionalComponentFunction: false,\n },\n description: 'This rule requires that the component object be directly exported.',\n },\n 'vue/require-prop-type-constructor': {\n description:\n 'Require props type values to be a constructor function (e.g. String, Number, Boolean) rather than a string, number, or other literal.',\n },\n 'vue/require-prop-types': {\n description: 'This rule enforces that a props statement contains a type definition.',\n },\n 'vue/require-render-return': {\n description: 'Enforce that a render function always returns a value.',\n },\n 'vue/require-slots-as-functions': {\n description: 'Enforce properties of $slots to be used as functions.',\n },\n 'vue/require-typed-ref': {\n description: 'Require ref and shallowRef functions to be strongly typed.',\n },\n 'vue/return-in-computed-property': {\n defaultOptions: {\n treatUndefinedAsUnspecified: true,\n },\n description: 'Enforce that a return statement is present in every computed property.',\n },\n 'vue/return-in-emits-validator': {\n description: 'Enforce that a return statement is present in emits validators (in Vue.js 3.0.0+).',\n },\n 'vue/valid-define-emits': {\n description: 'Enforce valid usage of the defineEmits compiler macro in Vue.',\n },\n 'vue/valid-define-options': {\n description: 'Enforce valid use of the defineOptions compiler macro.',\n },\n 'vue/valid-define-props': {\n description: 'Enforce valid usage of the defineProps compiler macro in Vue.',\n },\n 'vue/valid-next-tick': {\n description: 'Enforce valid nextTick function calls.',\n },\n} as const\n","import type { Jiti } from 'jiti'\nimport type { ExternalPluginEntry } from 'oxlint'\nimport type { LoadedOxlintConfig } from './config'\n\nimport path from 'node:path'\nimport { fileURLToPath, pathToFileURL } from 'node:url'\n\nimport { createJiti } from 'jiti'\n\ntype JsPlugin = {\n meta?: {\n name?: string\n }\n rules?: Record<string, JsPluginRuleDefinition>\n}\n\ntype JsPluginRuleDefinition = {\n meta?: unknown\n}\n\ntype PluginRuleInfo = {\n /** The rule's own metadata (e.g. schema, deprecation info). */\n meta?: unknown\n /** The rule name as exported by the plugin (without prefix). */\n name: string\n /** The plugin name this rule belongs to. */\n pluginName: string\n /** The fully-qualified rule ID, e.g. `\"my-plugin/my-rule\"`. */\n ruleId: string\n}\n\n/**\n * Information about a successfully loaded JS plugin.\n */\nexport type PluginInfo = {\n /** Deduplication key of the declaring entry, matching {@link getPluginEntryKey}. */\n entryKey: string\n name: string\n /** The resolved file path to the plugin module on disk. */\n resolvedPath: string\n rules: PluginRuleInfo[]\n /** The original specifier used to load the plugin (path or package name). */\n specifier: string\n}\n\n/**\n * Represents an error that occurred while loading a JS plugin entry.\n */\nexport type PluginLoadError = {\n message: string\n name?: string\n specifier: string\n}\n\n/**\n * The result of loading JS plugins from a config, including any failures.\n */\nexport type LoadedPlugins = {\n errors: PluginLoadError[]\n plugins: PluginInfo[]\n}\n\ntype PluginLoadResult = PluginInfo | PluginLoadError\n\n/**\n * Loads all JS plugins declared in the config (both root-level and override-level).\n *\n * Each plugin entry is imported dynamically. Failures are captured as\n * {@link PluginLoadError} rather than thrown, so partial success is possible.\n *\n * @param config - The loaded Oxlint config.\n * @returns All successfully loaded plugins and any load errors encountered.\n */\nexport async function getPlugins(config: LoadedOxlintConfig): Promise<LoadedPlugins> {\n const entries = getPluginEntries(config)\n const pluginLoader = createJiti(config.filepath)\n const results = await Promise.all(\n entries.map(async (entry) => {\n try {\n return await loadPlugin(entry, config.filepath, pluginLoader)\n } catch (error) {\n return createPluginLoadError(entry, error)\n }\n }),\n )\n const errors: PluginLoadError[] = []\n const plugins: PluginInfo[] = []\n\n for (const result of results) {\n if (isPluginLoadError(result)) {\n errors.push(result)\n continue\n }\n\n plugins.push(result)\n }\n\n return {\n errors,\n plugins,\n }\n}\n\n/**\n * Collects all unique JS plugin entries from root-level and override-level config, deduplicating by key.\n */\nfunction getPluginEntries(config: LoadedOxlintConfig) {\n const entries = new Map<string, ExternalPluginEntry>()\n\n for (const entry of config.config.jsPlugins ?? []) {\n entries.set(getPluginEntryKey(entry), entry)\n }\n\n for (const override of config.config.overrides ?? []) {\n for (const entry of override.jsPlugins ?? []) {\n entries.set(getPluginEntryKey(entry), entry)\n }\n }\n\n return [...entries.values()]\n}\n\n/**\n * Resolves display names for JS plugin entries declared in a single config block.\n *\n * Entries are matched to loaded plugins by their deduplication key so that the\n * same specifier loaded under multiple aliases resolves deterministically. Entries\n * that failed to load fall back to their alias or specifier.\n *\n * @param entries - JS plugin entries from a root or override config block.\n * @param plugins - Successfully loaded plugins used to normalize names.\n * @returns Display names in declaration order.\n */\nexport function getPluginEntryNames(entries: ExternalPluginEntry[], plugins: PluginInfo[]): string[] {\n const namesByKey = new Map(plugins.map((plugin) => [plugin.entryKey, plugin.name]))\n\n return entries.map((entry) => {\n const loadedName = namesByKey.get(getPluginEntryKey(entry))\n\n if (loadedName) {\n return loadedName\n }\n\n return typeof entry === 'string' ? entry : entry.name\n })\n}\n\n/**\n * Computes a deduplication key for a plugin entry.\n *\n * String entries use the specifier itself as the key. Object entries use\n * `\"name:specifier\"` so that the same package loaded under a different alias\n * is treated as a distinct plugin.\n *\n * @param entry - The plugin entry (string specifier or object).\n * @returns A unique key string for deduplication.\n */\nfunction getPluginEntryKey(entry: ExternalPluginEntry) {\n if (typeof entry === 'string') {\n return entry\n }\n\n return `${entry.name}:${entry.specifier}`\n}\n\n/**\n * Wraps an error thrown during plugin loading into a structured {@link PluginLoadError}.\n */\nfunction createPluginLoadError(entry: ExternalPluginEntry, error: unknown): PluginLoadError {\n return {\n message: error instanceof Error ? error.message : String(error),\n name: typeof entry === 'string' ? undefined : entry.name,\n specifier: getPluginSpecifier(entry),\n }\n}\n\n/**\n * Type guard that discriminates {@link PluginLoadError} from {@link PluginInfo}.\n */\nfunction isPluginLoadError(result: PluginLoadResult): result is PluginLoadError {\n return 'message' in result\n}\n\n/**\n * Resolves, imports, and extracts rule information from a single JS plugin entry.\n */\nasync function loadPlugin(entry: ExternalPluginEntry, configFilepath: string, pluginLoader: Jiti): Promise<PluginInfo> {\n const specifier = getPluginSpecifier(entry)\n const resolvedPath = resolvePluginPath(specifier, configFilepath, pluginLoader)\n const plugin = await importPlugin(resolvedPath, pluginLoader)\n const name = getPluginName(entry, specifier, plugin)\n const rules = getPluginRules(name, plugin)\n\n return {\n entryKey: getPluginEntryKey(entry),\n name,\n resolvedPath,\n rules,\n specifier,\n }\n}\n\n/**\n * Extracts the specifier (path or package name) from a plugin entry.\n */\nfunction getPluginSpecifier(entry: ExternalPluginEntry) {\n if (typeof entry === 'string') {\n return entry\n }\n\n return entry.specifier\n}\n\n/**\n * Resolves a plugin specifier to an absolute file path.\n *\n * Handles three cases: `file:` URLs, relative/absolute path specifiers\n * (resolved against the config file directory), and bare package specifiers\n * (resolved via Node's module resolution).\n *\n * @param specifier - The plugin specifier string.\n * @param configFilepath - Absolute path to the config file declaring the plugin.\n * @returns The absolute file path to the plugin module.\n */\nfunction resolvePluginPath(specifier: string, configFilepath: string, pluginLoader: Jiti) {\n if (specifier.startsWith('file:')) {\n return fileURLToPath(specifier)\n }\n\n const resolved = pluginLoader.esmResolve(specifier, {\n parentURL: pathToFileURL(configFilepath).href,\n })\n\n return resolved.startsWith('file:') ? fileURLToPath(resolved) : resolved\n}\n\n/**\n * Dynamically imports a plugin module and validates that it is a {@link JsPlugin}.\n *\n * @throws {TypeError} If the imported module is not a valid plugin object.\n */\nasync function importPlugin(resolvedPath: string, pluginLoader: Jiti): Promise<JsPlugin> {\n const plugin = await pluginLoader.import(pathToFileURL(resolvedPath).href, { default: true })\n\n if (!isJsPlugin(plugin)) {\n throw new TypeError(`Invalid Oxlint JS plugin: ${resolvedPath}`)\n }\n\n return plugin\n}\n\n/**\n * Type guard that checks whether a value is a non-null object (valid JS plugin).\n */\nfunction isJsPlugin(value: unknown): value is JsPlugin {\n return typeof value === 'object' && value !== null\n}\n\n/**\n * Determines the plugin name based on the entry type and specifier.\n *\n * Priority:\n * 1. Object entry — uses the explicitly provided `name` (alias).\n * 2. Path specifier — uses `meta.name` from the plugin, falling back to the basename.\n * 3. Package specifier — normalizes the package name (strips `eslint-plugin-` prefix).\n */\nfunction getPluginName(entry: ExternalPluginEntry, specifier: string, plugin: JsPlugin) {\n if (typeof entry !== 'string') {\n return entry.name\n }\n\n if (isPathSpecifier(specifier)) {\n return plugin.meta?.name ?? path.basename(specifier, path.extname(specifier))\n }\n\n return normalizePackagePluginName(specifier)\n}\n\n/**\n * Extracts rule definitions from a loaded plugin and wraps them with metadata.\n */\nfunction getPluginRules(pluginName: string, plugin: JsPlugin) {\n const rules = plugin.rules ?? {}\n const infos: PluginRuleInfo[] = []\n\n for (const [name, rule] of Object.entries(rules)) {\n infos.push({\n meta: rule.meta,\n name,\n pluginName,\n ruleId: `${pluginName}/${name}`,\n })\n }\n\n return infos\n}\n\n/**\n * Returns `true` if the specifier looks like a local file path (starts with `./`, `../`, or `/`).\n */\nfunction isPathSpecifier(specifier: string) {\n return specifier.startsWith('.') || specifier.startsWith('/')\n}\n\n/**\n * Derives a plugin name from a resolved npm package path.\n *\n * Strips the `eslint-plugin-` prefix and handles scoped packages\n * (e.g. `@scope/eslint-plugin-foo` becomes `@scope/foo`).\n */\nfunction normalizePackagePluginName(specifier: string) {\n const packageName = specifier.split('/node_modules/').at(-1) ?? specifier\n\n if (packageName.startsWith('@')) {\n const [scope, name] = packageName.split('/')\n const scopedName = scope ?? packageName\n\n if (name === 'eslint-plugin') {\n return scopedName\n }\n\n if (!name) {\n return scopedName\n }\n\n return `${scopedName}/${name.replace(/^eslint-plugin-?/, '')}`\n }\n\n return packageName.replace(/^eslint-plugin-?/, '')\n}\n","import type { RuleInfo } from './types'\n\nimport { createRequire } from 'node:module'\nimport path from 'node:path'\nimport process from 'node:process'\n\nimport { x } from 'tinyexec'\n\nlet oxlintBinaryAvailability: Promise<boolean> | undefined\n\n/**\n * Options for locating and invoking the project's linter.\n */\nexport type GetOxlintRulesOptions = {\n /** The project directory used to resolve and run Vite+. Defaults to `process.cwd()`. */\n cwd?: string\n /** Selects Vite+ instead of Oxlint. When omitted, detects Vite+ in the project. */\n useVitePlus?: boolean\n}\n\n/**\n * Fetches the list of builtin lint rules by invoking the linter binary.\n *\n * @param options - See {@link GetOxlintRulesOptions}.\n * @returns The parsed rules, or an empty array if the binary is unavailable or the invocation fails.\n */\nexport async function getOxlintRules(options?: GetOxlintRulesOptions): Promise<RuleInfo[]> {\n const cwd = path.resolve(options?.cwd ?? process.cwd())\n const entry = resolveVitePlusEntry(cwd)\n\n if (options?.useVitePlus ?? Boolean(entry)) {\n return getVitePlusRules(cwd, entry)\n }\n\n if (!(await isOxlintBinaryAvailable())) {\n console.error('Unable to inspect builtin Oxlint rules because the `oxlint` binary is not available on PATH.')\n return []\n }\n\n try {\n const rules = await x('oxlint', ['--rules', '--format=json'])\n return JSON.parse(rules.stdout) as RuleInfo[]\n } catch (error) {\n console.error('Error fetching Oxlint rules:', error)\n return []\n }\n}\n\nfunction resolveVitePlusEntry(cwd: string): string | undefined {\n const require = createRequire(path.join(cwd, 'package.json'))\n\n // Resolve only project ancestors, excluding unrelated packages on NODE_PATH.\n for (let directory = cwd; ; directory = path.dirname(directory)) {\n try {\n const packagePath = require.resolve(path.join(directory, 'node_modules/vite-plus/package.json'))\n return path.join(path.dirname(packagePath), 'bin/vp')\n } catch {\n if (path.dirname(directory) === directory) {\n return undefined\n }\n }\n }\n}\n\nasync function getVitePlusRules(cwd: string, entry: string | undefined) {\n try {\n const args = ['lint', '--rules', '--format=json']\n const rules = await x(entry ? process.execPath : 'vp', entry ? [entry, ...args] : args, {\n nodeOptions: { cwd },\n })\n return JSON.parse(rules.stdout) as RuleInfo[]\n } catch (error) {\n console.error('Error fetching Vite+ rules:', error)\n return []\n }\n}\n\nasync function isOxlintBinaryAvailable() {\n oxlintBinaryAvailability ??= checkOxlintBinaryAvailability()\n\n return oxlintBinaryAvailability\n}\n\nasync function checkOxlintBinaryAvailability() {\n try {\n await x('oxlint', ['--version'])\n return true\n } catch {\n return false\n }\n}\n","import type { RuleInfo } from './types'\n\n/** Type guard that checks whether a value is a non-null object (record). */\nexport function isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null\n}\n\n/** Returns the string value if it is a string, or `undefined` otherwise. */\nexport function getString(value: unknown) {\n return typeof value === 'string' ? value : undefined\n}\n\n/** Returns the boolean value if it is a boolean, or `undefined` otherwise. */\nexport function getBoolean(value: unknown) {\n return typeof value === 'boolean' ? value : undefined\n}\n\ntype ScopeConfig = {\n /** Canonical plugin prefix used by Oxlint for this internal rule scope. */\n pluginName: string\n /** Additional accepted rule prefixes that should resolve to the same builtin rule. */\n prefixAliases?: string[]\n}\n\n/**\n * Maps oxlint's internal rule scopes to user-facing plugin prefixes and known\n * compatibility aliases accepted by oxlint.\n *\n * This mirrors the plugin scope normalization in Oxlint so rules configured\n * with aliases like `@typescript-eslint/no-unused-vars`,\n * `react-hooks/rules-of-hooks`, or `deepscan/no-...` resolve to the same\n * builtin catalog entries as their canonical Oxlint rule IDs.\n *\n * @see https://github.com/oxc-project/oxc/blob/f30a64c2/crates/oxc_linter/src/config/plugins.rs#L150-L184\n */\nexport const SCOPE_CONFIG: Record<string, ScopeConfig> = {\n import: { pluginName: 'import', prefixAliases: ['import-x'] },\n jsx_a11y: { pluginName: 'jsx-a11y', prefixAliases: ['jsx_a11y', 'jsx-a11y-x', 'jsx_a11y-x'] },\n oxc: { pluginName: 'oxc', prefixAliases: ['deepscan'] },\n react: { pluginName: 'react', prefixAliases: ['react-hooks', 'react_hooks'] },\n react_perf: { pluginName: 'react-perf', prefixAliases: ['react_perf'] },\n typescript: {\n pluginName: 'typescript',\n prefixAliases: ['@typescript-eslint', 'typescript-eslint', 'typescript_eslint'],\n },\n}\n\n/**\n * Resolves an Oxlint internal scope name to its canonical user-facing plugin prefix.\n *\n * @param scope - The internal scope name from Oxlint.\n * @returns The canonical plugin prefix, or the scope itself if no mapping exists.\n */\nexport function getPluginName(scope: string): string {\n return SCOPE_CONFIG[scope]?.pluginName ?? scope\n}\n\n/**\n * Constructs a fully-qualified rule ID from an Oxlint rule's scope and value.\n *\n * @param rule - The rule info from Oxlint.\n * @returns The fully-qualified rule ID (e.g. `\"eslint/no-debugger\"`).\n */\nexport function getBuiltinRuleId(rule: RuleInfo): string {\n return `${getPluginName(rule.scope)}/${rule.value}`\n}\n","import type { RuleCategories } from 'oxlint'\nimport type { GetConfigOptions, LoadedOxlintConfig } from './config'\nimport type { PluginInfo, PluginLoadError } from './plugins'\nimport type { RuleInfo } from './types'\n\nimport pkgJson from '../package.json'\nimport { getConfig } from './config'\nimport { builtinRuleDocs } from './generated/builtin-rule-docs'\nimport { getPluginEntryNames, getPlugins } from './plugins'\nimport { getOxlintRules } from './rules'\nimport { getBoolean, getBuiltinRuleId, getPluginName, getString, isRecord, SCOPE_CONFIG } from './utils'\n\n// Oxlint enables these plugin scopes unless the root `plugins` field replaces the default set.\n// Source: https://github.com/oxc-project/oxc/blob/070cfc74fb8b3faa27fb272243ba4e989cde05f8/crates/oxc_linter/src/config/plugins.rs#L116-L122\nconst DEFAULT_ENABLED_PLUGIN_NAMES = ['typescript', 'unicorn', 'oxc'] as const\n\n/**\n * Origin of a plugin entry discovered during config inspection.\n */\nexport type InspectedPluginSource = 'builtin' | 'js-plugin'\n\n/**\n * Summary information about a builtin or JS plugin discovered during config inspection.\n */\nexport type InspectedPlugin = {\n /** Number of rules exported by the plugin. */\n ruleCount: number\n /** The plugin name used as the rule prefix. */\n name: string\n /** The original specifier used to load the JS plugin (path or package name). */\n specifier?: string\n /** Whether this is an Oxlint builtin plugin scope or a loaded JS plugin. */\n source: InspectedPluginSource\n}\n\n/**\n * Error information for a JS plugin that failed to load during config inspection.\n */\nexport type InspectedPluginLoadError = PluginLoadError\n\n/**\n * Normalized severity for a configured or cataloged Oxlint rule.\n */\nexport type RuleSeverity = 'error' | 'warn' | 'off' | 'unknown'\n\n/**\n * Origin of a rule discovered during config inspection.\n */\nexport type InspectedRuleSource = 'builtin' | 'js-plugin' | 'unknown'\n\n/**\n * ESLint-compatible rule type, when supplied by JS plugin metadata.\n */\nexport type InspectedRuleType = 'layout' | 'problem' | 'suggestion'\n\n/**\n * Normalized severity state used by the inspector UI.\n */\nexport type InspectedRuleUsageSeverity = 'error' | 'warn' | 'off'\n\n/**\n * Normalized representation of a rule entry from an Oxlint config.\n */\nexport type InspectedRuleConfig = {\n /** Rule options after the severity tuple item, or an empty array when none are configured. */\n options: unknown[]\n /** The original unmodified config value for the rule. */\n raw: unknown\n /** The rule ID exactly as it appeared in the config entry. */\n ruleId: string\n /** The normalized severity parsed from the config value. */\n severity: RuleSeverity\n}\n\n/**\n * Aggregate counts derived from inspected rules.\n */\nexport type InspectConfigStats = {\n /** Number of builtin rules known to the inspector. */\n builtinRules: number\n /** Number of rules configured at the root config level. */\n configuredRules: number\n /** Number of deprecated rules known to the inspector. */\n deprecatedRules: number\n /** Number of rules enabled by default, root config, or override config. */\n enabledRules: number\n /** Number of rules that can apply an automatic fix. */\n fixableRules: number\n /** Number of JS plugin rules known to the inspector. */\n jsPluginRules: number\n /** Number of rules configured in one or more override blocks. */\n overrideRules: number\n /** Number of rules that belong to a recommended rule set. */\n recommendedRules: number\n /** Total number of builtin, JS plugin, and unknown rules known to the inspector. */\n totalRules: number\n /** Number of configured rules that were not found in the builtin catalog or loaded JS plugins. */\n unknownRules: number\n}\n\n/**\n * Compact usage references for category, root, and override configuration.\n */\nexport type InspectedRuleUsage = {\n /** Whether this rule is enabled by a category-level severity config. */\n category: boolean\n /** Override group indexes that configure this rule. */\n overrideGroups: number[]\n /** Whether this rule is configured at the root config level. */\n root: boolean\n}\n\n/**\n * A builtin, JS plugin, or unknown rule with its catalog metadata and config state.\n */\nexport type InspectedRule = {\n /** Rule IDs that resolve to this rule, including compatibility aliases. */\n aliases: string[]\n /** Oxlint category for builtin rules, when available. */\n category?: string\n /** Root-level config applied to this rule, when configured. */\n configured?: InspectedRuleConfig\n /** Severity implied by the rule catalog before user configuration is applied. */\n defaultSeverity: RuleSeverity\n /** Documented default option values, when available. */\n defaultOptions?: Record<string, unknown>\n /** Human-readable rule description from ESLint-compatible rule metadata, when available. */\n description?: string\n /** Whether the rule is deprecated. */\n deprecated: boolean\n /** Documentation URL for builtin rules, when available. */\n docsUrl?: string\n /** Whether the rule can apply an automatic fix. */\n fixable: boolean\n /** Whether the rule can provide editor suggestions. */\n hasSuggestions: boolean\n /** Rule metadata provided by a JS plugin rule, when available. */\n meta?: unknown\n /** Rule name without the plugin prefix. */\n name: string\n /** Whether this rule is configured but explicitly turned off everywhere. */\n offOnly: boolean\n /** Whether this rule has more than one normalized usage severity. */\n overloaded: boolean\n /** Plugin or scope name for the rule, when the rule ID has one. */\n pluginName?: string\n /** Whether the rule belongs to the recommended/default-enabled rule set. */\n recommended: boolean\n /** Replacement rule IDs or names declared by deprecation metadata. */\n replacedBy: string[]\n /** Canonical rule ID used by the inspector. */\n ruleId: string\n /** Unique normalized severities present on this rule, ordered as error, warn, then off. */\n severityStates: InspectedRuleUsageSeverity[]\n /** ESLint-compatible rule type, when available. */\n ruleType?: InspectedRuleType\n /** Source that supplied this rule. */\n source: InspectedRuleSource\n /** Whether a builtin rule requires type information, when available. */\n typeAware?: boolean\n /** Compact usage references for default, root, and override configuration. */\n usage: InspectedRuleUsage\n /** Whether this rule is used by default, root config, or override config. */\n used: boolean\n}\n\n/**\n * A rule entry grouped under a config override block.\n */\nexport type InspectedOverrideGroupRule = {\n /** Rule options after the severity tuple item, or an empty array when none are configured. */\n options: unknown[]\n /** The original unmodified config value for the rule. */\n raw: unknown\n /** Canonical rule ID used by the inspector. */\n ruleId: string\n /** Normalized severity parsed from the override config value. */\n severity: RuleSeverity\n /** Source that supplied this rule. */\n source: InspectedRuleSource\n}\n\n/**\n * A normalized config override block.\n */\nexport type InspectedOverrideGroup = {\n /** File globs excluded by the override, when configured. */\n excludeFiles?: string[]\n /** File globs included by the override. */\n files: string[]\n /** Zero-based position of the override in the resolved config. */\n index: number\n /** JS plugins enabled by this override block. */\n jsPlugins?: string[]\n /** Plugins enabled by this override block. */\n plugins?: string[]\n /** Rules configured by this override block. */\n rules: InspectedOverrideGroupRule[]\n}\n\n/**\n * Complete inspection result for a resolved Oxlint config.\n */\nexport type InspectConfigResult = {\n /** Every config file visited while resolving `extends`. */\n configFiles: string[]\n /** Absolute path to the root config file that was inspected. */\n configFilepath: string\n /** ISO 8601 timestamp for when this inspection result was generated. */\n generatedAt: string\n /** Override blocks from the resolved config, including blocks without rule configs. */\n overrideGroups: InspectedOverrideGroup[]\n /** JS plugin load errors encountered during inspection. */\n pluginErrors: InspectedPluginLoadError[]\n /** Builtin plugin scopes and JS plugins discovered during inspection. */\n plugins: InspectedPlugin[]\n /** Available plugin filter values derived from inspected rules. */\n rulePluginFilters: string[]\n /** All builtin, JS plugin, and unknown rules known to the inspector. */\n rules: InspectedRule[]\n /** Aggregate counts derived from inspected rules. */\n stats: InspectConfigStats\n /** Configured rules that were not found in the builtin catalog or loaded JS plugins. */\n unknownRules: InspectedRule[]\n /** The inspector package version that produced this result. */\n version: string\n}\n\ntype RuleCatalog = {\n aliasesByRuleId: Map<string, Set<string>>\n ruleIdByAlias: Map<string, string>\n rulesById: Map<string, InspectedRule>\n}\n\n/**\n * Loads an Oxlint config and returns an inspection model for its rules and JS plugins.\n *\n * @param options - See {@link GetConfigOptions}.\n * @returns The inspected config result, or `null` if no config file is found.\n */\nexport async function inspectConfig(options: GetConfigOptions = {}): Promise<InspectConfigResult | null> {\n const config = await getConfig(options)\n\n if (!config) {\n return null\n }\n\n const isVitePlus = config.filepath.endsWith('vite.config.ts')\n const [builtinRules, loadedPlugins] = await Promise.all([\n getOxlintRules({ useVitePlus: isVitePlus ? true : undefined, cwd: options.cwd }),\n getPlugins(config),\n ])\n\n return inspectLoadedConfig(config, builtinRules, loadedPlugins.plugins, loadedPlugins.errors)\n}\n\n/**\n * Builds an inspection model from an already loaded config and precomputed rule catalogs.\n *\n * @param config - The resolved Oxlint config to inspect.\n * @param builtinRules - Builtin Oxlint rules to include in the catalog.\n * @param plugins - Successfully loaded JS plugins to include in the catalog.\n * @param pluginErrors - JS plugin load errors to surface in the inspection result.\n * @returns The inspected config result.\n */\nexport function inspectLoadedConfig(\n config: LoadedOxlintConfig,\n builtinRules: RuleInfo[],\n plugins: PluginInfo[],\n pluginErrors: PluginLoadError[],\n): InspectConfigResult {\n const rootEnabledPlugins = config.config.plugins ?? DEFAULT_ENABLED_PLUGIN_NAMES\n const enabledPlugins = [...rootEnabledPlugins, ...(config.config.overrides?.flatMap((o) => o.plugins ?? []) ?? [])]\n\n const catalog = createRuleCatalog(builtinRules, plugins, enabledPlugins, config.config.categories)\n\n applyConfiguredRules(catalog, config.config.rules)\n\n const overrideGroups = createInspectedOverrideGroups(catalog, config.config.overrides, plugins)\n const overrideSeveritiesByRuleId = createOverrideSeveritiesByRuleId(overrideGroups)\n\n const rules = [...catalog.rulesById.values()]\n .map((rule) => {\n const usage = createRuleUsageSummary(rule, overrideSeveritiesByRuleId.get(rule.ruleId) ?? [])\n\n const aliases = [...(catalog.aliasesByRuleId.get(rule.ruleId) ?? [])]\n return {\n ...rule,\n ...usage,\n aliases,\n }\n })\n .toSorted((left, right) => left.ruleId.localeCompare(right.ruleId))\n\n return {\n configFiles: config.files,\n configFilepath: config.filepath,\n generatedAt: new Date().toISOString(),\n overrideGroups,\n pluginErrors,\n plugins: createInspectedPlugins(plugins, rules),\n rulePluginFilters: createRulePluginFilters(rules),\n rules,\n stats: createInspectConfigStats(rules),\n unknownRules: rules.filter((rule) => rule.source === 'unknown'),\n version: pkgJson.version,\n }\n}\n\nfunction createInspectConfigStats(rules: InspectedRule[]): InspectConfigStats {\n return {\n builtinRules: rules.filter((rule) => rule.source === 'builtin').length,\n configuredRules: rules.filter((rule) => rule.configured).length,\n deprecatedRules: rules.filter((rule) => rule.deprecated).length,\n enabledRules: rules.filter((rule) => rule.severityStates.some((severity) => severity !== 'off')).length,\n fixableRules: rules.filter((rule) => rule.fixable).length,\n jsPluginRules: rules.filter((rule) => rule.source === 'js-plugin').length,\n overrideRules: rules.filter((rule) => rule.usage.overrideGroups.length > 0).length,\n recommendedRules: rules.filter((rule) => rule.recommended).length,\n totalRules: rules.length,\n unknownRules: rules.filter((rule) => rule.source === 'unknown').length,\n }\n}\n\nfunction createRulePluginFilters(rules: InspectedRule[]): string[] {\n const pluginNames = new Set<string>()\n\n for (const rule of rules) {\n if (rule.pluginName) {\n pluginNames.add(rule.pluginName)\n }\n }\n\n return ['all', ...[...pluginNames].toSorted((left, right) => left.localeCompare(right))]\n}\n\nfunction createInspectedOverrideGroups(\n catalog: RuleCatalog,\n overrides: LoadedOxlintConfig['config']['overrides'],\n plugins: PluginInfo[],\n): InspectedOverrideGroup[] {\n const groups: InspectedOverrideGroup[] = []\n\n for (const [index, override] of overrides?.entries() ?? []) {\n const group: InspectedOverrideGroup = {\n excludeFiles: override.excludeFiles,\n files: override.files,\n index,\n jsPlugins: override.jsPlugins?.length ? getPluginEntryNames(override.jsPlugins, plugins) : undefined,\n plugins: override.plugins,\n rules: [],\n }\n\n if (override.rules) {\n for (const [ruleId, raw] of Object.entries(override.rules)) {\n const normalizedRuleId = getNormalizedRuleId(catalog, ruleId)\n const rule = getOrCreateUnknownRule(catalog, normalizedRuleId, ruleId)\n const config = createRuleConfig(ruleId, raw)\n\n rule.usage.overrideGroups.push(index)\n group.rules.push({\n options: config.options,\n raw: config.raw,\n ruleId: rule.ruleId,\n severity: config.severity,\n source: rule.source,\n })\n }\n }\n\n groups.push(group)\n }\n\n return groups\n}\n\nfunction createOverrideSeveritiesByRuleId(overrideGroups: InspectedOverrideGroup[]) {\n const severitiesByRuleId = new Map<string, RuleSeverity[]>()\n\n for (const group of overrideGroups) {\n for (const rule of group.rules) {\n const severities = severitiesByRuleId.get(rule.ruleId) ?? []\n severities.push(rule.severity)\n severitiesByRuleId.set(rule.ruleId, severities)\n }\n }\n\n return severitiesByRuleId\n}\n\nfunction createInspectedPlugins(plugins: PluginInfo[], rules: InspectedRule[]): InspectedPlugin[] {\n const inspectedPlugins = new Map<string, InspectedPlugin>()\n\n for (const rule of rules) {\n if (!rule.pluginName || rule.source === 'unknown') {\n continue\n }\n\n const key = `${rule.source}:${rule.pluginName}`\n const inspectedPlugin = inspectedPlugins.get(key) ?? {\n name: rule.pluginName,\n ruleCount: 0,\n source: rule.source,\n }\n\n inspectedPlugin.ruleCount += 1\n inspectedPlugins.set(key, inspectedPlugin)\n }\n\n for (const plugin of plugins) {\n const key = `js-plugin:${plugin.name}`\n const inspectedPlugin = inspectedPlugins.get(key) ?? {\n name: plugin.name,\n ruleCount: plugin.rules.length,\n source: 'js-plugin',\n }\n\n inspectedPlugins.set(key, {\n ...inspectedPlugin,\n specifier: plugin.specifier,\n })\n }\n\n return [...inspectedPlugins.values()].toSorted((left, right) => {\n if (left.source !== right.source) {\n return left.source.localeCompare(right.source)\n }\n\n return left.name.localeCompare(right.name)\n })\n}\n\nfunction createRuleCatalog(\n builtinRules: RuleInfo[],\n plugins: PluginInfo[],\n enabledPlugins: string[],\n categories?: RuleCategories,\n): RuleCatalog {\n const bareBuiltinRuleIds = createBareBuiltinRuleIds(builtinRules)\n const enabledPluginNames = new Set(['eslint', ...enabledPlugins])\n /**\n * When categories are not explicitly configured, Oxlint applies a default\n * severity of `warn` to all correctness rules via the `RulesBuilder` defaults.\n *\n * @see https://github.com/oxc-project/oxc/blob/f30a64c26971a7eef6b4dd1b42c0a947555f47c0/crates/oxc_linter/src/config/config_builder.rs#L47-L51\n */\n const implicitCategoryDefaults: Record<string, unknown> = {\n correctness: 'warn',\n }\n const catalog: RuleCatalog = {\n aliasesByRuleId: new Map(),\n ruleIdByAlias: new Map(),\n rulesById: new Map(),\n }\n\n for (const rule of builtinRules) {\n const ruleId = getBuiltinRuleId(rule)\n const pluginName = getPluginName(rule.scope)\n const isPluginEnabled = enabledPluginNames.has(pluginName)\n const userCategorySeverity = categories?.[rule.category as keyof RuleCategories]\n const resolvedCategorySeverity = userCategorySeverity ?? implicitCategoryDefaults[rule.category]\n const useCategorySeverity = resolvedCategorySeverity !== undefined && isPluginEnabled\n const defaultSeverity = useCategorySeverity\n ? getRuleSeverity(resolvedCategorySeverity)\n : getDefaultSeverity(rule.default)\n\n const metadata = createBuiltinRuleMetadata(rule)\n\n catalog.rulesById.set(ruleId, {\n aliases: [],\n category: rule.category,\n defaultSeverity,\n ...metadata,\n name: rule.value,\n ...createEmptyRuleUsage(isPluginEnabled && useCategorySeverity),\n pluginName,\n ruleId,\n source: 'builtin',\n typeAware: rule.type_aware,\n })\n\n addAliases(catalog, ruleId, getBuiltinRuleAliases(rule, ruleId, bareBuiltinRuleIds))\n }\n\n for (const plugin of plugins) {\n for (const rule of plugin.rules) {\n const metadata = createPluginRuleMetadata(rule.meta)\n\n catalog.rulesById.set(rule.ruleId, {\n aliases: [],\n defaultSeverity: 'off',\n ...metadata,\n meta: rule.meta,\n name: rule.name,\n ...createEmptyRuleUsage(false),\n pluginName: plugin.name,\n ruleId: rule.ruleId,\n source: 'js-plugin',\n })\n\n addAliases(catalog, rule.ruleId, [rule.ruleId])\n }\n }\n\n return catalog\n}\n\nfunction applyConfiguredRules(catalog: RuleCatalog, rules: Record<string, unknown> | undefined) {\n if (!rules) {\n return\n }\n\n for (const [ruleId, raw] of Object.entries(rules)) {\n const normalizedRuleId = getNormalizedRuleId(catalog, ruleId)\n const rule = getOrCreateUnknownRule(catalog, normalizedRuleId, ruleId)\n const configured = createRuleConfig(ruleId, raw)\n\n rule.configured = configured\n rule.usage.root = true\n }\n}\n\nfunction getOrCreateUnknownRule(catalog: RuleCatalog, normalizedRuleId: string, configuredRuleId: string) {\n const rule = catalog.rulesById.get(normalizedRuleId)\n\n if (rule) {\n return rule\n }\n\n const unknownRule: InspectedRule = {\n aliases: [],\n defaultSeverity: 'unknown',\n deprecated: false,\n fixable: false,\n hasSuggestions: false,\n name: getRuleName(configuredRuleId),\n ...createEmptyRuleUsage(false),\n pluginName: getConfiguredPluginName(configuredRuleId),\n recommended: false,\n replacedBy: [],\n ruleId: configuredRuleId,\n source: 'unknown',\n }\n\n catalog.rulesById.set(configuredRuleId, unknownRule)\n addAliases(catalog, configuredRuleId, [configuredRuleId])\n\n return unknownRule\n}\n\nfunction createRuleConfig(ruleId: string, raw: unknown): InspectedRuleConfig {\n return {\n options: getRuleOptions(raw),\n raw,\n ruleId,\n severity: getRuleSeverity(raw),\n }\n}\n\nfunction getRuleSeverity(raw: unknown): RuleSeverity {\n let severity = raw\n\n if (Array.isArray(raw)) {\n severity = (raw as unknown[])[0]\n }\n\n if (typeof severity === 'number') {\n if (severity === 0) {\n return 'off'\n }\n\n if (severity === 1) {\n return 'warn'\n }\n\n if (severity === 2) {\n return 'error'\n }\n\n return 'unknown'\n }\n\n if (typeof severity !== 'string') {\n return 'unknown'\n }\n\n if (severity === 'allow' || severity === 'off') {\n return 'off'\n }\n\n if (severity === 'deny' || severity === 'error') {\n return 'error'\n }\n\n if (severity === 'warn') {\n return severity\n }\n\n return 'unknown'\n}\n\nfunction getRuleOptions(raw: unknown): unknown[] {\n if (!Array.isArray(raw)) {\n return []\n }\n\n return raw.slice(1)\n}\n\nfunction getDefaultSeverity(enabledByDefault: boolean): RuleSeverity {\n return enabledByDefault ? 'warn' : 'off'\n}\n\ntype RuleUsageSummary = Pick<InspectedRule, 'offOnly' | 'overloaded' | 'severityStates' | 'used'>\n\nfunction createRuleUsageSummary(rule: InspectedRule, overrideSeverities: RuleSeverity[]): RuleUsageSummary {\n const severities: InspectedRuleUsageSeverity[] = []\n\n if (rule.usage.category) {\n addUsageSeverity(severities, rule.defaultSeverity)\n }\n\n if (rule.configured) {\n addUsageSeverity(severities, rule.configured.severity)\n }\n\n for (const severity of overrideSeverities) {\n addUsageSeverity(severities, severity)\n }\n\n const severityStates = createSeverityStates(severities)\n const used = rule.usage.category || rule.usage.root || rule.usage.overrideGroups.length > 0\n\n return {\n offOnly: used && severityStates.every((severity) => severity === 'off'),\n overloaded: severityStates.length > 1,\n severityStates,\n used,\n }\n}\n\nfunction createEmptyRuleUsage(isCategory: boolean): RuleUsageSummary & Pick<InspectedRule, 'usage'> {\n return {\n offOnly: false,\n overloaded: false,\n severityStates: [],\n usage: {\n category: isCategory,\n overrideGroups: [],\n root: false,\n },\n used: false,\n }\n}\n\nfunction addUsageSeverity(severities: InspectedRuleUsageSeverity[], severity: RuleSeverity) {\n if (severity === 'unknown') {\n return\n }\n\n severities.push(severity)\n}\n\nfunction createSeverityStates(configs: InspectedRuleUsageSeverity[]) {\n const severities = new Set(configs)\n\n return (['error', 'warn', 'off'] satisfies InspectedRuleUsageSeverity[]).filter((severity) =>\n severities.has(severity),\n )\n}\n\ntype NormalizedRuleMetadata = {\n defaultOptions?: Record<string, unknown>\n deprecated: boolean\n description?: string\n docsUrl?: string\n fixable: boolean\n hasSuggestions: boolean\n recommended: boolean\n replacedBy: string[]\n ruleType?: InspectedRuleType\n typeAware?: boolean\n}\n\nfunction createBuiltinRuleMetadata(rule: RuleInfo): NormalizedRuleMetadata {\n const docMetadata = builtinRuleDocs[getBuiltinRuleId(rule)]\n\n return {\n defaultOptions: docMetadata?.defaultOptions,\n deprecated: false,\n description: docMetadata?.description,\n docsUrl: rule.docs_url,\n fixable: isBuiltinRuleFixable(rule.fix),\n hasSuggestions: hasBuiltinRuleSuggestions(rule.fix),\n recommended: rule.default,\n replacedBy: [],\n }\n}\n\nfunction createPluginRuleMetadata(meta: unknown): NormalizedRuleMetadata {\n if (!isRecord(meta)) {\n return createEmptyRuleMetadata()\n }\n\n const docs = isRecord(meta.docs) ? meta.docs : undefined\n\n return {\n deprecated: isDeprecated(meta.deprecated),\n description: getString(docs?.description),\n docsUrl: getString(docs?.url),\n fixable: meta.fixable === 'code' || meta.fixable === 'whitespace',\n hasSuggestions: meta.hasSuggestions === true,\n recommended: docs?.recommended === true,\n replacedBy: getReplacementRuleNames(meta.replacedBy),\n ruleType: getRuleType(meta.type),\n typeAware: getBoolean(docs?.requiresTypeChecking),\n }\n}\n\nfunction createEmptyRuleMetadata(): NormalizedRuleMetadata {\n return {\n deprecated: false,\n fixable: false,\n hasSuggestions: false,\n recommended: false,\n replacedBy: [],\n }\n}\n\nfunction isDeprecated(value: unknown) {\n return value === true || isRecord(value)\n}\n\nfunction getReplacementRuleNames(value: unknown) {\n if (!Array.isArray(value)) {\n return []\n }\n\n return value.flatMap((item) => {\n if (typeof item === 'string') {\n return [item]\n }\n\n if (!isRecord(item)) {\n return []\n }\n\n const ruleName = getString(item.name) ?? getString(item.ruleName)\n\n if (ruleName) {\n return [ruleName]\n }\n\n const rule = isRecord(item.rule) ? item.rule : undefined\n const plugin = isRecord(item.plugin) ? item.plugin : undefined\n const nestedRuleName = getString(rule?.name)\n const nestedPluginName = getString(plugin?.name)\n\n if (nestedRuleName && nestedPluginName) {\n return [`${nestedPluginName}/${nestedRuleName}`]\n }\n\n if (nestedRuleName) {\n return [nestedRuleName]\n }\n\n return []\n })\n}\n\nfunction getRuleType(value: unknown): InspectedRuleType | undefined {\n if (value === 'layout' || value === 'problem' || value === 'suggestion') {\n return value\n }\n\n return undefined\n}\n\nfunction isBuiltinRuleFixable(fix: string) {\n return fix !== 'none' && fix !== 'pending' && fix.includes('fix')\n}\n\nfunction hasBuiltinRuleSuggestions(fix: string) {\n return fix.includes('suggestion')\n}\n\nfunction getNormalizedRuleId(catalog: RuleCatalog, ruleId: string) {\n return catalog.ruleIdByAlias.get(ruleId) ?? ruleId\n}\n\nfunction addAliases(catalog: RuleCatalog, ruleId: string, aliases: string[]) {\n let aliasSet = catalog.aliasesByRuleId.get(ruleId)\n\n if (!aliasSet) {\n aliasSet = new Set()\n catalog.aliasesByRuleId.set(ruleId, aliasSet)\n }\n\n for (const alias of aliases) {\n aliasSet.add(alias)\n\n if (!catalog.ruleIdByAlias.has(alias)) {\n catalog.ruleIdByAlias.set(alias, ruleId)\n }\n }\n}\n\nfunction createBareBuiltinRuleIds(rules: RuleInfo[]): Set<string> {\n return new Set(rules.filter((rule) => rule.scope === 'eslint').map((rule) => getBuiltinRuleId(rule)))\n}\n\nfunction getBuiltinRuleAliases(rule: RuleInfo, ruleId: string, bareRuleIds: Set<string>): string[] {\n const config = SCOPE_CONFIG[rule.scope]\n const aliases = [ruleId]\n\n if (bareRuleIds.has(ruleId)) {\n aliases.push(rule.value)\n }\n\n for (const prefix of config?.prefixAliases ?? []) {\n aliases.push(`${prefix}/${rule.value}`)\n }\n\n return aliases\n}\n\nfunction getRuleName(ruleId: string) {\n return ruleId.split('/').at(-1) ?? ruleId\n}\n\nfunction getConfiguredPluginName(ruleId: string) {\n const segments = ruleId.split('/')\n\n if (segments.length < 2) {\n return\n }\n\n if (ruleId.startsWith('@') && segments.length > 2) {\n return `${segments[0]}/${segments[1]}`\n }\n\n return segments[0]\n}\n"],"mappings":";;;;;;;;;;;AA6CA,MAAa,eAAe;CAAC;CAAkB;CAAkB;CAAmB;AAAkB;AAEtG,MAAM,uBAAuB;AAE7B,SAAS,eAAe,OAAgB;CACtC,MAAM,SAAS,uBAAuB,KAAK;CAE3C,OAAO,YAAY,UAAU;EAC3B;EACA,SAAS;GACP,GAAG;GACH,UAAU;GACV,OAAO;EACT;EACA;CACF,CAAC;AACH;AAEA,MAAM,kBAAkB,eAAe,IAAI;AAE3C,SAAS,UAAU,UAAkB,SAAiD;CACpF,MAAM,SAAuB,CAAC;CAC9B,MAAM,SAAS,MAAM,SAAS,QAAQ,EAAE,oBAAoB,KAAK,CAAC;CAClE,MAAM,CAAC,SAAS;CAEhB,IAAI,OACF,MAAM,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F;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,mDACf;CACA,sBAAsB,EACpB,aAAa,iCACf;CACA,oBAAoB;EAClB,gBAAgB;GACd,cAAc;GACd,YAAY,CAAC;GACb,KAAK;GACL,KAAK;GACL,YAAY;EACd;EACA,aACE;CACJ;CACA,mBAAmB;EACjB,gBAAgB,EACd,kBAAkB;GAChB,aAAa;GACb,qBAAqB;GACrB,kBAAkB;GAClB,YAAY;EACd,EACF;EACA,aACE;CACJ;CACA,4BAA4B;EAC1B,gBAAgB,EACd,kBAAkB,EAChB,mBAAmB,MACrB,EACF;EACA,aAAa;CACf;CACA,uCAAuC;EACrC,gBAAgB,EACd,kBAAkB,EAChB,wBAAwB,MAC1B,EACF;EACA,aAAa;CACf;CACA,+BAA+B;EAC7B,gBAAgB;GACd,mBAAmB;GACnB,KAAK;EACP;EACA,aAAa;CACf;CACA,oBAAoB;EAClB,gBAAgB,EACd,KAAK,EACP;EACA,aACE;CACJ;CACA,oBAAoB;EAClB,gBAAgB;GACd,KAAK;GACL,gBAAgB;GAChB,cAAc;EAChB;EACA,aAAa;CACf;CACA,iCAAiC;EAC/B,gBAAgB;GACd,OAAO;GACP,KAAK;GACL,gBAAgB;GAChB,cAAc;EAChB;EACA,aACE;CACJ;CACA,+BAA+B;EAC7B,gBAAgB,EACd,KAAK,GACP;EACA,aACE;CACJ;CACA,qBAAqB;EACnB,gBAAgB;GACd,eAAe;GACf,KAAK;EACP;EACA,aAAa;CACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,yBAAyB;GACzB,KAAK;EACP;EACA,aACE;CACJ;CACA,kBAAkB;EAChB,gBAAgB;GACd,UAAU;GACV,oBAAoB,CAAC;GACrB,UAAU;GACV,oBAAoB;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;GACA,YAAY;EACd;EACA,aAAa;CACf;CACA,mBAAmB,EACjB,aAAa,kDACf;CACA,+BAA+B,EAC7B,aAAa,wDACf;CACA,oCAAoC,EAClC,aAAa,0DACf;CACA,2BAA2B,EACzB,aAAa,mGACf;CACA,qBAAqB;EACnB,gBAAgB;GACd,OAAO,CAAC;GACR,WAAW;EACb;EACA,aAAa;CACf;CACA,oBAAoB,EAClB,aAAa,4DACf;CACA,+BAA+B,EAC7B,aAAa,iDACf;CACA,0BAA0B,EACxB,aAAa,wCACf;CACA,8BAA8B,EAC5B,aAAa,gCACf;CACA,yBAAyB,EACvB,aAAa,4DACf;CACA,qBAAqB;EACnB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aAAa,wCACf;CACA,wCAAwC;EACtC,gBAAgB,EACd,4BAA4B,KAC9B;EACA,aAAa;CACf;CACA,gCAAgC,EAC9B,aAAa,+CACf;CACA,gCAAgC,EAC9B,aAAa,iDACf;CACA,sBAAsB,EACpB,aAAa,gCACf;CACA,2BAA2B,EACzB,aACE,+GACJ;CACA,sBAAsB,EACpB,aAAa,8CACf;CACA,wBAAwB,EACtB,aAAa,6EACf;CACA,uBAAuB,EACrB,aAAa,2EACf;CACA,gCAAgC,EAC9B,aAAa,oCACf;CACA,0BAA0B,EACxB,aAAa,sDACf;CACA,uBAAuB,EACrB,aAAa,8CACf;CACA,4BAA4B,EAC1B,aAAa,kCACf;CACA,+BAA+B;EAC7B,gBAAgB;GACd,0BAA0B;GAC1B,gBAAgB;EAClB;EACA,aAAa;CACf;CACA,yBAAyB;EACvB,gBAAgB,EACd,aAAa,KACf;EACA,aAAa;CACf;CACA,mBAAmB;EACjB,gBAAgB,EACd,iBAAiB,MACnB;EACA,aAAa;CACf;CACA,mCAAmC,EACjC,aAAa,2DACf;CACA,4BAA4B,EAC1B,aAAa,0CACf;CACA,2BAA2B;EACzB,gBAAgB,EACd,iCAAiC,MACnC;EACA,aAAa;CACf;CACA,gCAAgC,EAC9B,aAAa,gCACf;CACA,qBAAqB,EACnB,aAAa,6DACf;CACA,kBAAkB;EAChB,gBAAgB,EACd,eAAe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B,EAC3B,aAAa,+BACf;CACA,sBAAsB,EACpB,aAAa,oDACf;CACA,oBAAoB;EAClB,gBAAgB;GACd,mBAAmB;GACnB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,uBAAuB;EACrB,gBAAgB,EACd,uBAAuB,MACzB;EACA,aAAa;CACf;CACA,sBAAsB,EACpB,aAAa,sFACf;CACA,eAAe;EACb,gBAAgB,EACd,kBAAkB;GAChB,aAAa;GACb,cAAc;EAChB,EACF;EACA,aACE;CACJ;CACA,0CAA0C,EACxC,aAAa,0EACf;CACA,kBAAkB,EAChB,aACE,gHACJ;CACA,iBAAiB,EACf,aAAa,mFACf;CACA,uBAAuB,EACrB,aACE,yKACJ;CACA,qBAAqB;EACnB,gBAAgB,EACd,kBAAkB;GAChB,kBAAkB;GAClB,gBAAgB;EAClB,EACF;EACA,aACE;CACJ;CACA,gBAAgB,EACd,aAAa,sEACf;CACA,wBAAwB,EACtB,aACE,6LACJ;CACA,2BAA2B;EACzB,gBAAgB;GACd,mBAAmB;GACnB,KAAK;EACP;EACA,aAAa;CACf;CACA,gBAAgB,EACd,aAAa,iGACf;CACA,oBAAoB;EAClB,gBAAgB,EACd,eAAe,MACjB;EACA,aACE;CACJ;CACA,+BAA+B;EAC7B,gBAAgB;GACd,kBAAkB;GAClB,OAAO;GACP,YAAY;EACd;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB;GACd,KAAK;GACL,UAAU;GACV,UAAU;EACZ;EACA,aAAa;CACf;CACA,iBAAiB,EACf,aAAa,mDACf;CACA,sCAAsC;EACpC,gBAAgB;GACd,qBAAqB;GACrB,wBAAwB;GACxB,YAAY;GACZ,oBAAoB;GACpB,qBAAqB;GACrB,cAAc;GACd,UAAU;GACV,aAAa;EACf;EACA,aACE;CACJ;CACA,sBAAsB;EACpB,gBAAgB;GACd,yBAAyB;GACzB,uBAAuB;GACvB,cAAc;EAChB;EACA,aAAa;CACf;CACA,mBAAmB;EACjB,gBAAgB;GACd,oCAAoC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AC3B;EACA,aAAa;CACf;CACA,iBAAiB,EACf,aAAa,gFACf;CACA,8BAA8B;EAC5B,gBAAgB;GACd,OAAO,CAAC,OAAO;GACf,OAAO,CAAC,OAAO;GACf,OAAO,CAAC,OAAO;EACjB;EACA,aACE;CACJ;CACA,yCAAyC;EACvC,gBAAgB;GACd,iBAAiB,CAAC,aAAa;GAC/B,kBAAkB,CAAC,YAAY;EACjC;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aACE,qIACJ;CACA,wCAAwC,EACtC,aAAa,uEACf;CACA,yBAAyB;EACvB,gBAAgB,EACd,cAAc,MAChB;EACA,aAAa;CACf;CACA,oCAAoC,EAClC,aAAa,kDACf;CACA,0DAA0D,EACxD,aACE,qJACJ;CACA,mDAAmD;EACjD,gBAAgB,EACd,UAAU;GACR;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,EACF;EACA,aACE;CACJ;CACA,0DAA0D,EACxD,aACE,+LACJ;CACA,uCAAuC;EACrC,gBAAgB;GACd,uBAAuB;GACvB,OAAO,CAAC,UAAU;GAClB,MAAM,CAAC;EACT;EACA,aACE;CACJ;CACA,+BAA+B,EAC7B,aACE,oJACJ;CACA,2CAA2C;EACzC,gBAAgB;GACd,uBAAuB;GACvB,UAAU;EACZ;EACA,aAAa;CACf;CACA,iCAAiC,EAC/B,aAAa,yDACf;CACA,yCAAyC,EACvC,aAAa,0FACf;CACA,qCAAqC,EACnC,aACE,yTACJ;CACA,kBAAkB,EAChB,aAAa,uDACf;CACA,iCAAiC,EAC/B,aAAa,gFACf;CACA,8BAA8B,EAC5B,aAAa,mDACf;CACA,iCAAiC,EAC/B,aAAa,uFACf;CACA,2BAA2B,EACzB,aACE,gHACJ;CACA,6BAA6B,EAC3B,aACE,oJACJ;CACA,oCAAoC,EAClC,aAAa,4FACf;CACA,oCAAoC,EAClC,aACE,mIACJ;CACA,wDAAwD,EACtD,aACE,kPACJ;CACA,sBAAsB,EACpB,aACE,+KACJ;CACA,qCAAqC,EACnC,aAAa,iEACf;CACA,4BAA4B,EAC1B,aAAa,2DACf;CACA,0BAA0B,EACxB,aAAa,gFACf;CACA,qCAAqC,EACnC,aAAa,6DACf;CACA,iCAAiC,EAC/B,aAAa,wEACf;CACA,yBAAyB,EACvB,aAAa,iFACf;CACA,8BAA8B,EAC5B,aAAa,kCACf;CACA,sCAAsC,EACpC,aAAa,uDACf;CACA,oCAAoC,EAClC,aAAa,qDACf;CACA,0BAA0B,EACxB,aACE,wKACJ;CACA,oCAAoC,EAClC,aAAa,mEACf;CACA,mBAAmB,EACjB,aAAa,gEACf;CACA,iCAAiC,EAC/B,aAAa,qEACf;CACA,wBAAwB,EACtB,aAAa,6CACf;CACA,sBAAsB;EACpB,gBAAgB,EACd,kBAAkB,EAChB,kBAAkB,MACpB,EACF;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,kEACf;CACA,4BAA4B,EAC1B,aAAa,oGACf;CACA,0BAA0B,EACxB,aAAa,mCACf;CACA,0BAA0B;EACxB,gBAAgB;GACd,WAAW;GACX,UAAU;EACZ;EACA,aAAa;CACf;CACA,uBAAuB,EACrB,aAAa,qCACf;CACA,uBAAuB,EACrB,aAAa,gEACf;CACA,uBAAuB;EACrB,gBAAgB,EACd,kBAAkB,CAAC,EACrB;EACA,aAAa;CACf;CACA,gBAAgB;EACd,gBAAgB;GACd,kBAAkB;GAClB,SAAS,CAAC;EACZ;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB,EACd,WAAW,MACb;EACA,aACE;CACJ;CACA,uBAAuB,EACrB,aACE,8GACJ;CACA,qCAAqC,EACnC,aAAa,mFACf;CACA,4BAA4B,EAC1B,aAAa,0FACf;CACA,8BAA8B,EAC5B,aACE,qIACJ;CACA,+BAA+B,EAC7B,aAAa,wFACf;CACA,yBAAyB,EACvB,aACE,uHACJ;CACA,wBAAwB,EACtB,aACE,oJACJ;CACA,qCAAqC,EACnC,aAAa,4DACf;CACA,2BAA2B,EACzB,aACE,yHACJ;CACA,6BAA6B,EAC3B,aAAa,4FACf;CACA,yBAAyB,EACvB,aAAa,2EACf;CACA,0BAA0B,EACxB,aAAa,kEACf;CACA,kBAAkB,EAChB,aAAa,6CACf;CACA,+BAA+B,EAC7B,aAAa,+EACf;CACA,qBAAqB,EACnB,aAAa,4EACf;CACA,8BAA8B,EAC5B,aAAa,mGACf;CACA,sBAAsB,EACpB,aAAa,oCACf;CACA,kCAAkC;EAChC,gBAAgB,EACd,cAAc,CAAC,EACjB;EACA,aAAa;CACf;CACA,sBAAsB;EACpB,gBAAgB,EACd,WAAW,IACb;EACA,aACE;CACJ;CACA,qBAAqB,EACnB,aAAa,iCACf;CACA,qBAAqB;EACnB,gBAAgB;GACd,YAAY;GACZ,eAAe;EACjB;EACA,aACE;CACJ;CACA,4BAA4B;EAC1B,gBAAgB,EACd,SAAS,GACX;EACA,aAAa;CACf;CACA,iCAAiC;EAC/B,gBAAgB;GACd,mBAAmB;GACnB,qBAAqB;EACvB;EACA,aAAa;CACf;CACA,oCAAoC,EAClC,aAAa,mDACf;CACA,+BAA+B,EAC7B,aAAa,gGACf;CACA,8BAA8B,EAC5B,aAAa,6EACf;CACA,gCAAgC,EAC9B,aAAa,uGACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,0BAA0B,CAAC,YAAY;GACvC,oBAAoB;EACtB;EACA,aACE;CACJ;CACA,qBAAqB,EACnB,aAAa,iDACf;CACA,2BAA2B;EACzB,gBAAgB;GACd,cAAc;GACd,WAAW;GACX,iBAAiB;EACnB;EACA,aACE;CACJ;CACA,kCAAkC;EAChC,gBAAgB;GACd,YAAY,CAAC;GACb,aAAa;EACf;EACA,aACE;CACJ;CACA,gCAAgC,EAC9B,aAAa,sGACf;CACA,sBAAsB,EACpB,aAAa,gDACf;CACA,0BAA0B,EACxB,aAAa,mDACf;CACA,kCAAkC;EAChC,gBAAgB,EACd,oBAAoB,MACtB;EACA,aAAa;CACf;CACA,gCAAgC,EAC9B,aAAa,mEACf;CACA,0BAA0B;EACxB,gBAAgB,EACd,aAAa,MACf;EACA,aACE;CACJ;CACA,uBAAuB,EACrB,aAAa,6DACf;CACA,qCAAqC,EACnC,aACE,2QACJ;CACA,gCAAgC;EAC9B,gBAAgB,EACd,QAAQ,MACV;EACA,aAAa;CACf;CACA,wBAAwB,EACtB,aACE,oKACJ;CACA,qBAAqB;EACnB,gBAAgB,EACd,gBAAgB,KAClB;EACA,aAAa;CACf;CACA,wBAAwB,EACtB,aAAa,2EACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,QAAQ;GACR,OAAO;GACP,QAAQ;EACV;EACA,aAAa;CACf;CACA,2BAA2B;EACzB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aACE;CACJ;CACA,+CAA+C;EAC7C,gBAAgB;GACd,iCAAiC;GACjC,yBAAyB;EAC3B;EACA,aACE;CACJ;CACA,sBAAsB;EACpB,gBAAgB;GACd,qBAAqB;GACrB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,0BAA0B,EACxB,aAAa,mGACf;CACA,yBAAyB,EACvB,aAAa,0EACf;CACA,wCAAwC,EACtC,aAAa,2FACf;CACA,gCAAgC,EAC9B,aACE,8TACJ;CACA,0BAA0B,EACxB,aACE,qNACJ;CACA,yBAAyB,EACvB,aAAa,kGACf;CACA,8BAA8B,EAC5B,aACE,+LACJ;CACA,uCAAuC,EACrC,aAAa,qEACf;CACA,iBAAiB,EACf,aACE,4IACJ;CACA,wBAAwB;EACtB,gBAAgB,EACd,wBAAwB,MAC1B;EACA,aAAa;CACf;CACA,eAAe,EACb,aACE,oMACJ;CACA,gCAAgC,EAC9B,aAAa,oDACf;CACA,sBAAsB,EACpB,aACE,kIACJ;CACA,8BAA8B,EAC5B,aACE,gNACJ;CACA,mBAAmB,EACjB,aACE,2KACJ;CACA,2BAA2B;EACzB,gBAAgB,EACd,kBAAkB;GAChB,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CACA,0BAA0B,EACxB,aACE,qIACJ;CACA,mCAAmC;EACjC,gBAAgB;GACd,oBAAoB;GACpB,sBAAsB;EACxB;EACA,aAAa;CACf;CACA,qCAAqC,EACnC,aACE,6NACJ;CACA,gBAAgB,EACd,aACE,+KACJ;CACA,4BAA4B,EAC1B,aAAa,sEACf;CACA,cAAc,EACZ,aACE,6HACJ;CACA,+BAA+B,EAC7B,aAAa,+EACf;CACA,0BAA0B,EACxB,aACE,gRACJ;CACA,wBAAwB,EACtB,aACE,qHACJ;CACA,2BAA2B;EACzB,gBAAgB;GACd,WAAW;GACX,MAAM;EACR;EACA,aACE;CACJ;CACA,6BAA6B,EAC3B,aAAa,kEACf;CACA,6BAA6B,EAC3B,aACE,qKACJ;CACA,8BAA8B,EAC5B,aAAa,kGACf;CACA,2BAA2B,EACzB,aACE,gMACJ;CACA,2BAA2B;EACzB,gBAAgB,EACd,OAAO,CAAC,EACV;EACA,aAAa;CACf;CACA,gBAAgB,EACd,aACE,qIACJ;CACA,cAAc,EACZ,aACE,mLACJ;CACA,4BAA4B,EAC1B,aACE,wIACJ;CACA,kBAAkB,EAChB,aACE,2IACJ;CACA,uCAAuC,EACrC,aAAa,6EACf;CACA,uBAAuB,EACrB,aACE,4HACJ;CACA,iCAAiC,EAC/B,aAAa,oGACf;CACA,uCAAuC,EACrC,aAAa,8FACf;CACA,0CAA0C,EACxC,aAAa,iGACf;CACA,wCAAwC,EACtC,aAAa,+FACf;CACA,2CAA2C,EACzC,aAAa,4DACf;CACA,yBAAyB;EACvB,gBAAgB;GACd,SAAS;GACT,UAAU;EACZ;EACA,aAAa;CACf;CACA,6BAA6B;EAC3B,gBAAgB,EACd,yBAAyB,MAC3B;EACA,aAAa;CACf;CACA,6BAA6B;EAC3B,gBAAgB,EACd,0BAA0B,EAC5B;EACA,aAAa;CACf;CACA,iCAAiC,EAC/B,aAAa,mDACf;CACA,wBAAwB,EACtB,aACE,2IACJ;CACA,2CAA2C,EACzC,aAAa,sEACf;CACA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