eslint-config-un 1.0.0-beta.2 → 1.0.0-beta.3
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/config-un/config.mjs +7 -3
- package/dist/configs/html.mjs +1 -1
- package/dist/configs/import.mjs +1 -1
- package/dist/configs/regexp.mjs +4 -1
- package/dist/configs/ts.d.mts +2 -2
- package/dist/configs/ts.mjs +4 -1
- package/dist/configs/vue.d.mts +10 -4
- package/dist/configs/vue.mjs +7 -6
- package/dist/configs/zod.mjs +1 -1
- package/dist/eslint-rules.gen.mjs +7 -2
- package/dist/eslint-types-fixable-only.gen.d.mts +1 -1
- package/dist/eslint-types-per-plugin.gen.d.mts +27 -4
- package/dist/eslint-types.gen.d.mts +27 -4
- package/dist/eslint.d.mts +13 -7
- package/dist/eslint.mjs +46 -29
- package/dist/loaders/packages.d.mts +6 -6
- package/dist/loaders/plugins.d.mts +15 -14
- package/dist/package.mjs +4 -4
- package/dist/plugin-un/rules/no-typeof-like-comparisons.mjs +8 -3
- package/package.json +16 -16
|
@@ -169,7 +169,7 @@ const eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
169
169
|
noStylisticRules: { enabled: getIsConfigEnabled$1("noStylisticRules", false) },
|
|
170
170
|
noUnsanitized: { enabled: getIsConfigEnabled$1("noUnsanitized") },
|
|
171
171
|
nx: { enabled: getIsConfigEnabled$1("nx", "nx") },
|
|
172
|
-
packageJson: { enabled: getIsConfigEnabled$1("packageJson"
|
|
172
|
+
packageJson: { enabled: getIsConfigEnabled$1("packageJson") },
|
|
173
173
|
perfectionist: { enabled: getIsConfigEnabled$1("perfectionist", false) },
|
|
174
174
|
playwright: { enabled: getIsConfigEnabled$1("playwright", "playwright") },
|
|
175
175
|
pnpm: { enabled: getIsConfigEnabled$1("pnpm", usedPackageManager?.name === "pnpm") },
|
|
@@ -379,11 +379,15 @@ const eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
379
379
|
...extraConfig,
|
|
380
380
|
name: configName
|
|
381
381
|
}, extraConfig.rules);
|
|
382
|
-
|
|
382
|
+
const extraConfigFinal = {
|
|
383
383
|
...omit(extraConfig, ["rules"]),
|
|
384
384
|
...extraConfig.rules && { rules: overridesResolved.rules },
|
|
385
385
|
name: configName
|
|
386
|
-
}
|
|
386
|
+
};
|
|
387
|
+
overridesResolved.removedRules.forEach((ruleName) => {
|
|
388
|
+
extraConfigFinal.rules && Reflect.deleteProperty(extraConfigFinal.rules, ruleName);
|
|
389
|
+
});
|
|
390
|
+
return [extraConfigFinal, ...overridesResolved.extraConfigs];
|
|
387
391
|
}),
|
|
388
392
|
loadUnConfig("noStylisticRules", () => import("../configs/extra/no-stylistic-rules.mjs")),
|
|
389
393
|
disablePrettierIncompatibleRules && interopDefault(import("eslint-config-prettier")).then((eslintConfigPrettier) => ({
|
package/dist/configs/html.mjs
CHANGED
|
@@ -19,7 +19,7 @@ var html_default = ((context, optionsRaw) => {
|
|
|
19
19
|
}).markCategory("Best Practice").addRule("max-element-depth", OFF).addRule("no-duplicate-attrs", ERROR).addRule("no-duplicate-class", ERROR).addRule("no-duplicate-id", ERROR).addRule("no-duplicate-in-head", ERROR).addRule("no-extra-spacing-text", WARNING, [{ skip: ["pre"] }]).addRule("no-ineffective-attrs", ERROR).addRule("no-inline-styles", OFF).addRule("no-invalid-entity", ERROR).addRule("no-nested-interactive", ERROR).addRule("no-obsolete-tags", ERROR).addRule("no-restricted-attr-values", OFF).addRule("no-restricted-attrs", OFF).addRule("no-restricted-tags", ERROR, [{ tagPatterns: getKeysOfTruthyValues({
|
|
20
20
|
...noRestrictedHtmlElementsDefault,
|
|
21
21
|
...optionsResolved.disallowedHtmlTags
|
|
22
|
-
}).map((tagName) => `^${tagName}$`) }]).addRule("no-script-style-type", ERROR).addRule("no-target-blank", ERROR).addRule("prefer-https", ERROR).addRule("require-attrs", OFF).addRule("require-button-type", ERROR).addRule("require-closing-tags", ERROR).addRule("require-doctype", ERROR).addRule("require-explicit-size", ERROR).addRule("require-li-container", ERROR).addRule("require-meta-charset", ERROR).addRule("use-baseline", WARNING).markCategory("SEO").addRule("no-multiple-h1", ERROR).addRule("require-lang", ERROR).addRule("require-meta-description", OFF).addRule("require-open-graph-protocol", OFF).addRule("require-title", ERROR).markCategory("Accessibility").addRule("no-abstract-roles", ERROR).addRule("no-accesskey-attrs", ERROR).addRule("no-aria-hidden-body", ERROR).addRule("no-aria-hidden-on-focusable", ERROR).addRule("no-empty-headings", ERROR).addRule("no-heading-inside-button", ERROR).addRule("no-invalid-role", ERROR).addRule("no-non-scalable-viewport", ERROR).addRule("no-positive-tabindex", ERROR).addRule("no-skip-heading-levels", OFF).addRule("require-form-method", OFF).addRule("require-frame-title", ERROR).addRule("require-img-alt", ERROR).addRule("require-input-label", ERROR).addRule("require-meta-viewport", ERROR).markCategory("Style").addRule("attrs-newline", OFF).addRule("element-newline", OFF).addRule("id-naming-convention", OFF).addRule("indent", OFF).addRule("lowercase", ERROR).addRule("no-extra-spacing-attrs", OFF).addRule("no-multiple-empty-lines", WARNING).addRule("no-trailing-spaces", WARNING).addRule("quotes", ERROR, ["double", { enforceTemplatedAttrValue: true }]).addRule("sort-attrs", OFF).enableConfigTesterForPlugin("@html-eslint").addOverrides();
|
|
22
|
+
}).map((tagName) => `^${tagName}$`) }]).addRule("no-script-style-type", ERROR).addRule("no-target-blank", ERROR).addRule("no-whitespace-only-children", ERROR).addRule("prefer-https", ERROR).addRule("require-attrs", OFF).addRule("require-button-type", ERROR).addRule("require-closing-tags", ERROR).addRule("require-doctype", ERROR).addRule("require-explicit-size", ERROR).addRule("require-li-container", ERROR).addRule("require-meta-charset", ERROR).addRule("use-baseline", WARNING).markCategory("SEO").addRule("no-multiple-h1", ERROR).addRule("require-lang", ERROR).addRule("require-meta-description", OFF).addRule("require-open-graph-protocol", OFF).addRule("require-title", ERROR).markCategory("Accessibility").addRule("no-abstract-roles", ERROR).addRule("no-accesskey-attrs", ERROR).addRule("no-aria-hidden-body", ERROR).addRule("no-aria-hidden-on-focusable", ERROR).addRule("no-empty-headings", ERROR).addRule("no-heading-inside-button", ERROR).addRule("no-invalid-role", ERROR).addRule("no-non-scalable-viewport", ERROR).addRule("no-positive-tabindex", ERROR).addRule("no-skip-heading-levels", OFF).addRule("require-form-method", OFF).addRule("require-frame-title", ERROR).addRule("require-img-alt", ERROR).addRule("require-input-label", ERROR).addRule("require-meta-viewport", ERROR).markCategory("Style").addRule("attrs-newline", OFF).addRule("element-newline", OFF).addRule("id-naming-convention", OFF).addRule("indent", OFF).addRule("lowercase", ERROR).addRule("no-extra-spacing-attrs", OFF).addRule("no-multiple-empty-lines", WARNING).addRule("no-trailing-spaces", WARNING).addRule("quotes", ERROR, ["double", { enforceTemplatedAttrValue: true }]).addRule("sort-attrs", OFF).enableConfigTesterForPlugin("@html-eslint").addOverrides();
|
|
23
23
|
return {
|
|
24
24
|
configs: [configBuilder],
|
|
25
25
|
optionsResolved
|
package/dist/configs/import.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var import_default = (async (context, optionsRaw) => {
|
|
|
16
16
|
configBuilder?.addConfig(["import", {
|
|
17
17
|
includeDefaultFilesAndIgnores: true,
|
|
18
18
|
ignoresFallback: [GLOB_MARKDOWN_ALL_CODE_BLOCKS],
|
|
19
|
-
|
|
19
|
+
ignoresFallbackMergedWithUserIgnores: true
|
|
20
20
|
}], { settings: {
|
|
21
21
|
...isTypescriptEnabled && (await import("eslint-plugin-import-x")).configs.typescript.settings,
|
|
22
22
|
...generatePackageToLoadProperty("import-x/resolver-next", ["importResolverTypescript", "eslintPluginImportX"], { valueTransformFn: {
|
package/dist/configs/regexp.mjs
CHANGED
|
@@ -9,7 +9,10 @@ var regexp_default = ((context, optionsRaw) => {
|
|
|
9
9
|
configBuilder?.addConfig(["regexp", {
|
|
10
10
|
includeDefaultFilesAndIgnores: true,
|
|
11
11
|
doNotIgnoreHtml: true
|
|
12
|
-
}]).markCategory("Possible Errors").addRule("no-contradiction-with-assertion", ERROR).disableAnyRule("", "no-control-regex").addRule("no-control-character", ERROR).addRule("no-dupe-disjunctions", ERROR).addRule("no-empty-alternative", ERROR).addRule("no-empty-capturing-group", ERROR).addRule("no-empty-character-class", ERROR).disableAnyRule("", "no-empty-character-class").addRule("no-empty-group", ERROR).addRule("no-empty-lookarounds-assertion", ERROR).addRule("no-escape-backspace", ERROR).addRule("no-invalid-regexp", ERROR).disableAnyRule("", "no-invalid-regexp").addRule("no-lazy-ends", ERROR).addRule("no-misleading-capturing-group", ERROR).addRule("no-misleading-unicode-character", ERROR).addRule("no-missing-g-flag", ERROR).addRule("no-optional-assertion", ERROR).addRule("no-potentially-useless-backreference", WARNING).addRule("no-super-linear-backtracking", ERROR).addRule("no-super-linear-move", OFF).addRule("no-useless-assertions", ERROR).addRule("no-useless-backreference", ERROR).disableAnyRule("", "no-useless-backreference").addRule("no-useless-dollar-replacements", ERROR).addRule("strict", ERROR).markCategory("Best Practices").addRule("confusing-quantifier", ERROR).addRule("control-character-escape", ERROR).addRule("negation", ERROR).addRule("no-dupe-characters-character-class", ERROR).addRule("no-empty-string-literal", ERROR).addRule("no-extra-lookaround-assertions", ERROR).addRule("no-invisible-character", ERROR).addRule("no-legacy-features", ERROR).addRule("no-non-standard-flag", ERROR).addRule("no-obscure-range", WARNING).addRule("no-octal", ERROR).addRule("no-standalone-backslash", ERROR).addRule("no-trivially-nested-assertion", ERROR).addRule("no-trivially-nested-quantifier", ERROR).addRule("no-unused-capturing-group", ERROR).addRule("no-useless-character-class", ERROR).addRule("no-useless-flag", ERROR).addRule("no-useless-lazy", ERROR).addRule("no-useless-quantifier", ERROR).addRule("no-useless-range", ERROR).addRule("no-useless-set-operand", ERROR).addRule("no-useless-string-literal", ERROR).addRule("no-useless-two-nums-quantifier", ERROR).addRule("no-zero-quantifier", ERROR).addRule("optimal-lookaround-quantifier", ERROR).addRule("optimal-quantifier-concatenation", ERROR).addRule("prefer-escape-replacement-dollar-char", OFF).addRule("prefer-predefined-assertion", ERROR).addRule("prefer-quantifier", ERROR, [{ allows: ["www", String.raw`\d\d`] }]).addRule("prefer-range", ERROR).addRule("prefer-regexp-exec", OFF).disableAnyRule("unicorn", "prefer-regexp-test").addRule("prefer-regexp-test", ERROR).addRule("prefer-set-operation", ERROR).addRule("require-unicode-regexp", OFF).disableAnyRule("", "require-unicode-regexp").addRule("require-unicode-sets-regexp", OFF).addRule("simplify-set-operations", ERROR).addRule("sort-alternatives", OFF).addRule("use-ignore-case", ERROR).markCategory("Stylistic Issues").addRule("grapheme-string-literal", OFF).addRule("hexadecimal-escape", ERROR, ["never"]).addRule("letter-case", ERROR
|
|
12
|
+
}]).markCategory("Possible Errors").addRule("no-contradiction-with-assertion", ERROR).disableAnyRule("", "no-control-regex").addRule("no-control-character", ERROR).addRule("no-dupe-disjunctions", ERROR).addRule("no-empty-alternative", ERROR).addRule("no-empty-capturing-group", ERROR).addRule("no-empty-character-class", ERROR).disableAnyRule("", "no-empty-character-class").addRule("no-empty-group", ERROR).addRule("no-empty-lookarounds-assertion", ERROR).addRule("no-escape-backspace", ERROR).addRule("no-invalid-regexp", ERROR).disableAnyRule("", "no-invalid-regexp").addRule("no-lazy-ends", ERROR).addRule("no-misleading-capturing-group", ERROR).addRule("no-misleading-unicode-character", ERROR).addRule("no-missing-g-flag", ERROR).addRule("no-optional-assertion", ERROR).addRule("no-potentially-useless-backreference", WARNING).addRule("no-super-linear-backtracking", ERROR).addRule("no-super-linear-move", OFF).addRule("no-useless-assertions", ERROR).addRule("no-useless-backreference", ERROR).disableAnyRule("", "no-useless-backreference").addRule("no-useless-dollar-replacements", ERROR).addRule("strict", ERROR).markCategory("Best Practices").addRule("confusing-quantifier", ERROR).addRule("control-character-escape", ERROR).addRule("negation", ERROR).addRule("no-dupe-characters-character-class", ERROR).addRule("no-empty-string-literal", ERROR).addRule("no-extra-lookaround-assertions", ERROR).addRule("no-invisible-character", ERROR).addRule("no-legacy-features", ERROR).addRule("no-non-standard-flag", ERROR).addRule("no-obscure-range", WARNING).addRule("no-octal", ERROR).addRule("no-standalone-backslash", ERROR).addRule("no-trivially-nested-assertion", ERROR).addRule("no-trivially-nested-quantifier", ERROR).addRule("no-unused-capturing-group", ERROR).addRule("no-useless-character-class", ERROR).addRule("no-useless-flag", ERROR).addRule("no-useless-lazy", ERROR).addRule("no-useless-quantifier", ERROR).addRule("no-useless-range", ERROR).addRule("no-useless-set-operand", ERROR).addRule("no-useless-string-literal", ERROR).addRule("no-useless-two-nums-quantifier", ERROR).addRule("no-zero-quantifier", ERROR).addRule("optimal-lookaround-quantifier", ERROR).addRule("optimal-quantifier-concatenation", ERROR).addRule("prefer-escape-replacement-dollar-char", OFF).addRule("prefer-predefined-assertion", ERROR).addRule("prefer-quantifier", ERROR, [{ allows: ["www", String.raw`\d\d`] }]).addRule("prefer-range", ERROR).addRule("prefer-regexp-exec", OFF).disableAnyRule("unicorn", "prefer-regexp-test").addRule("prefer-regexp-test", ERROR).addRule("prefer-set-operation", ERROR).addRule("require-unicode-regexp", OFF).disableAnyRule("", "require-unicode-regexp").addRule("require-unicode-sets-regexp", OFF).addRule("simplify-set-operations", ERROR).addRule("sort-alternatives", OFF).addRule("use-ignore-case", ERROR).markCategory("Stylistic Issues").addRule("grapheme-string-literal", OFF).addRule("hexadecimal-escape", ERROR, ["never"]).addRule("letter-case", ERROR, [{
|
|
13
|
+
unicodeEscape: "uppercase",
|
|
14
|
+
hexadecimalEscape: "uppercase"
|
|
15
|
+
}]).addRule("match-any", ERROR).addRule("no-useless-escape", ERROR).addRule("no-useless-non-capturing-group", ERROR).addRule("prefer-character-class", ERROR).addRule("prefer-d", ERROR).addRule("prefer-lookaround", ERROR, [{ lookbehind: false }]).addRule("prefer-named-backreference", OFF).addRule("prefer-named-capture-group", OFF).disableAnyRule("", "prefer-named-capture-group").addRule("prefer-named-replacement", OFF).addRule("prefer-plus-quantifier", ERROR).addRule("prefer-question-quantifier", ERROR).addRule("prefer-result-array-groups", OFF).addRule("prefer-star-quantifier", ERROR).addRule("prefer-unicode-codepoint-escapes", ERROR).addRule("prefer-w", ERROR).addRule("sort-character-class-elements", ERROR).addRule("sort-flags", ERROR).addRule("unicode-escape", OFF).addRule("unicode-property", ERROR).enableConfigTesterForPlugin("regexp").addOverrides();
|
|
13
16
|
return {
|
|
14
17
|
configs: [configBuilder],
|
|
15
18
|
optionsResolved
|
package/dist/configs/ts.d.mts
CHANGED
|
@@ -30,8 +30,8 @@ declare const TSCONFIG_COMPILER_OPTIONS_KEYS: {
|
|
|
30
30
|
type TsconfigCompilerOptionsGroups = keyof typeof TSCONFIG_COMPILER_OPTIONS_KEYS;
|
|
31
31
|
type TsconfigCompilerOptionsKeys = ObjectValues<typeof TSCONFIG_COMPILER_OPTIONS_KEYS>[number];
|
|
32
32
|
declare const TSCONFIG_COMPILER_OPTIONS_ORDER_PRESETS: {
|
|
33
|
-
antfu: ("
|
|
34
|
-
totalTypescript: ("module" | "strict" | "declaration" | "noImplicitOverride" | "noUncheckedIndexedAccess" | "resolveJsonModule" | "declarationMap" | "noEmit" | "outDir" | "sourceMap" | "allowJs" | "esModuleInterop" | "isolatedModules" | "verbatimModuleSyntax" | "
|
|
33
|
+
antfu: ("lib" | "types" | "erasableSyntaxOnly" | "module" | "strict" | "jsx" | "declaration" | "allowUnreachableCode" | "allowUnusedLabels" | "alwaysStrict" | "exactOptionalPropertyTypes" | "noFallthroughCasesInSwitch" | "noImplicitAny" | "noImplicitOverride" | "noImplicitReturns" | "noImplicitThis" | "noPropertyAccessFromIndexSignature" | "noUncheckedIndexedAccess" | "noUnusedLocals" | "noUnusedParameters" | "strictBindCallApply" | "strictFunctionTypes" | "strictNullChecks" | "strictPropertyInitialization" | "useUnknownInCatchVariables" | "allowArbitraryExtensions" | "allowImportingTsExtensions" | "allowUmdGlobalAccess" | "baseUrl" | "customConditions" | "moduleResolution" | "moduleSuffixes" | "noResolve" | "paths" | "resolveJsonModule" | "resolvePackageJsonExports" | "resolvePackageJsonImports" | "rootDir" | "rootDirs" | "typeRoots" | "declarationDir" | "declarationMap" | "downlevelIteration" | "emitBOM" | "emitDeclarationOnly" | "importHelpers" | "importsNotUsedAsValues" | "inlineSourceMap" | "inlineSources" | "mapRoot" | "newLine" | "noEmit" | "noEmitHelpers" | "noEmitOnError" | "outDir" | "outFile" | "preserveConstEnums" | "preserveValueImports" | "removeComments" | "sourceMap" | "sourceRoot" | "stripInternal" | "allowJs" | "checkJs" | "maxNodeModuleJsDepth" | "allowSyntheticDefaultImports" | "esModuleInterop" | "forceConsistentCasingInFileNames" | "isolatedDeclarations" | "isolatedModules" | "preserveSymlinks" | "verbatimModuleSyntax" | "emitDecoratorMetadata" | "experimentalDecorators" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource" | "libReplacement" | "moduleDetection" | "noLib" | "reactNamespace" | "target" | "useDefineForClassFields" | "composite" | "disableReferencedProjectLoad" | "disableSolutionSearching" | "disableSourceOfProjectReferenceRedirect" | "incremental" | "tsBuildInfoFile" | "skipDefaultLibCheck" | "skipLibCheck")[];
|
|
34
|
+
totalTypescript: ("lib" | "module" | "strict" | "declaration" | "noImplicitOverride" | "noUncheckedIndexedAccess" | "resolveJsonModule" | "declarationMap" | "noEmit" | "outDir" | "sourceMap" | "allowJs" | "esModuleInterop" | "isolatedModules" | "verbatimModuleSyntax" | "moduleDetection" | "target" | "composite" | "skipLibCheck")[];
|
|
35
35
|
};
|
|
36
36
|
interface SortTsconfigKeysSubConfigOptions<ExtraPlugins extends ExtraPluginsType = never> extends UnConfigOptions<ExtraPlugins> {
|
|
37
37
|
/**
|
package/dist/configs/ts.mjs
CHANGED
|
@@ -352,7 +352,10 @@ var ts_default = ((context, optionsRaw, { vanillaFinalFlatConfigRules, astroReso
|
|
|
352
352
|
const extraFilesToIgnoreTypeAware = [GLOB_MARKDOWN_SUPPORTED_CODE_BLOCKS, GLOB_MDX_SUPPORTED_CODE_BLOCKS];
|
|
353
353
|
if (vueResolvedOptions) {
|
|
354
354
|
const { enforceTypescriptInScriptSection } = vueResolvedOptions;
|
|
355
|
-
const tsInVueOptions =
|
|
355
|
+
const tsInVueOptions = {
|
|
356
|
+
...vueResolvedOptions,
|
|
357
|
+
...typeof enforceTypescriptInScriptSection === "object" && enforceTypescriptInScriptSection
|
|
358
|
+
};
|
|
356
359
|
if (enforceTypescriptInScriptSection && tsInVueOptions.typescriptRules !== false) {
|
|
357
360
|
const vueFilesWithTs = tsInVueOptions.files || [];
|
|
358
361
|
const vueIgnoredFilesWithTs = tsInVueOptions.ignores || [];
|
package/dist/configs/vue.d.mts
CHANGED
|
@@ -146,9 +146,14 @@ interface VueEslintConfigOptions<ExtraPlugins extends ExtraPluginsType = never>
|
|
|
146
146
|
*/
|
|
147
147
|
majorVersion?: 2 | 3;
|
|
148
148
|
/**
|
|
149
|
-
* Enforces the presence of `lang="ts"` in `<script>` sections, see
|
|
149
|
+
* Enforces the presence of `lang="ts"` in `<script>` sections, see
|
|
150
|
+
* [vue/block-lang](https://eslint.vuejs.org/rules/block-lang.html) rule for more details.
|
|
150
151
|
*
|
|
151
|
-
*
|
|
152
|
+
* By default, will inherit `files` and `ignores` from the parent config, and specifying
|
|
153
|
+
* them explicitly here will *override* the respective property of the parent config.
|
|
154
|
+
*
|
|
155
|
+
* These files will be checked by all the `ts` config rules. You can control this behavior
|
|
156
|
+
* by using `typescriptRules` option.
|
|
152
157
|
* @default true <=> `ts` config is enabled
|
|
153
158
|
*/
|
|
154
159
|
enforceTypescriptInScriptSection?: boolean | Prettify<FlatConfigEntryFilesOrIgnores & {
|
|
@@ -179,9 +184,10 @@ interface VueEslintConfigOptions<ExtraPlugins extends ExtraPluginsType = never>
|
|
|
179
184
|
*/
|
|
180
185
|
reportUnusedDisableDirectives?: boolean;
|
|
181
186
|
/**
|
|
182
|
-
* Will be merged with `['router-link', 'router-view']` and Nuxt-specific ones
|
|
187
|
+
* Will be merged with `['^router-link$', '^router-view$']` and Nuxt-specific ones
|
|
188
|
+
* if Nuxt is enabled
|
|
183
189
|
*/
|
|
184
|
-
knownComponentNames?:
|
|
190
|
+
knownComponentNames?: string[];
|
|
185
191
|
enforceApiStyle?: 'setup' | 'options';
|
|
186
192
|
/**
|
|
187
193
|
* @default 'runtime'
|
package/dist/configs/vue.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assignDefaults, doesPackageExist, fetchPackageInfo, getKeysOfTruthyValues, joinPaths } from "../utils.mjs";
|
|
1
|
+
import { allUnionMembers, assignDefaults, doesPackageExist, fetchPackageInfo, getKeysOfTruthyValues, joinPaths } from "../utils.mjs";
|
|
2
2
|
import { ERROR, GLOB_JS_TS_EXTENSION, GLOB_JS_TS_X_EXTENSION, GLOB_VUE, OFF, WARNING } from "../constants.mjs";
|
|
3
3
|
import { generatePackageToLoadProperty } from "../loaders/packages.mjs";
|
|
4
4
|
import "../loaders/index.mjs";
|
|
@@ -10,6 +10,7 @@ import globals from "globals";
|
|
|
10
10
|
//#region src/configs/vue.ts
|
|
11
11
|
const DEFAULT_PINIA_STORE_NAME_SUFFIX = "Store";
|
|
12
12
|
const DEFAULT_VUE_FILES = [GLOB_VUE];
|
|
13
|
+
const NUXT_CONFIG_FILES = new Set(allUnionMembers()(["no-nuxt-config-test-key", "nuxt-config-keys-order"]));
|
|
13
14
|
var vue_default = (async (context, optionsRaw, { vanillaFinalFlatConfigRules }) => {
|
|
14
15
|
const [isPiniaPackageInstalled, vueI18nPackageInfo, nuxtPackageInfo] = await Promise.all([
|
|
15
16
|
doesPackageExist("pinia"),
|
|
@@ -130,9 +131,9 @@ var vue_default = (async (context, optionsRaw, { vanillaFinalFlatConfigRules })
|
|
|
130
131
|
...noRestrictedHtmlElementsDefault,
|
|
131
132
|
...optionsResolved.disallowedHtmlTags
|
|
132
133
|
})).addRule("no-restricted-props", OFF).addRule("no-restricted-static-attribute", OFF).addRule("no-restricted-v-bind", OFF).addRule("no-restricted-v-on", OFF).addRule("no-root-v-if", OFF).addRule("no-setup-props-reactivity-loss", ERROR).addRule("no-static-inline-styles", OFF).addRule("no-template-target-blank", OFF).addRule("no-this-in-before-route-enter", ERROR).addRule("no-undef-components", ERROR, [{ ignorePatterns: [
|
|
133
|
-
"router-link",
|
|
134
|
-
"router-view",
|
|
135
|
-
configNuxt &&
|
|
134
|
+
"^router-link$",
|
|
135
|
+
"^router-view$",
|
|
136
|
+
configNuxt && "^(?:lazy-)?(?:nuxt-|(?:client|dev)-only$)",
|
|
136
137
|
...optionsResolved.knownComponentNames || []
|
|
137
138
|
].flat().filter(Boolean) }]).addRule("no-undef-properties", OFF).addRule("no-unsupported-features", ERROR, [{ version: `^${vuePackageInfo?.versions.full || vuePackageMajorVersion}` }]).addRule("no-unused-emit-declarations", ERROR).addRule("no-unused-properties", ERROR).addRule("no-unused-refs", ERROR).addRule("no-use-v-else-with-v-for", OFF).addRule("no-useless-mustaches", ERROR).addRule("no-useless-v-bind", ERROR, [{
|
|
138
139
|
ignoreIncludesComment: true,
|
|
@@ -143,12 +144,12 @@ var vue_default = (async (context, optionsRaw, { vanillaFinalFlatConfigRules })
|
|
|
143
144
|
if (configNuxt) configBuilderNuxt?.addConfig(["vue/nuxt", {
|
|
144
145
|
includeDefaultFilesAndIgnores: true,
|
|
145
146
|
filesFallback: [resolvePathInVueOrNuxtProjectDir("**/*.vue")]
|
|
146
|
-
}]).addAnyRule("nuxt", "prefer-import-meta", ERROR).addOverrides().enableConfigTesterForPlugin("nuxt", { rulesToSkipInConfig:
|
|
147
|
+
}]).addAnyRule("nuxt", "prefer-import-meta", ERROR).addOverrides().enableConfigTesterForPlugin("nuxt", { rulesToSkipInConfig: (ruleName) => NUXT_CONFIG_FILES.has(ruleName) });
|
|
147
148
|
const configBuilderNuxtConfig = context.createConfigBuilder(optionsNuxtResolved.configNuxtConfig, "nuxt");
|
|
148
149
|
if (configNuxt && optionsNuxtResolved.configNuxtConfig) configBuilderNuxtConfig?.addConfig(["vue/nuxt/nuxt-config", {
|
|
149
150
|
includeDefaultFilesAndIgnores: true,
|
|
150
151
|
filesFallback: [`**/nuxt.config.${GLOB_JS_TS_X_EXTENSION}`]
|
|
151
|
-
}]).addAnyRule("nuxt", "nuxt-config-keys-order", ERROR).addOverrides().enableConfigTesterForPlugin("nuxt", { rulesToSkipInConfig:
|
|
152
|
+
}]).addAnyRule("nuxt", "nuxt-config-keys-order", ERROR).addAnyRule("nuxt", "no-nuxt-config-test-key", ERROR).addOverrides().enableConfigTesterForPlugin("nuxt", { rulesToSkipInConfig: (ruleName) => !NUXT_CONFIG_FILES.has(ruleName) });
|
|
152
153
|
const nuxtLayoutsFilesGlob = resolvePathInVueOrNuxtProjectDir("layouts/**/*.vue");
|
|
153
154
|
configBuilder?.addConfig("vue/allow-single-word-component-names", { files: [
|
|
154
155
|
resolvePathInVueOrNuxtProjectDir("pages/**/*.vue"),
|
package/dist/configs/zod.mjs
CHANGED
|
@@ -21,7 +21,7 @@ var zod_default = ((context, optionsRaw) => {
|
|
|
21
21
|
...Object.fromEntries(ALL_ZOD_OBJECT_SCHEMA_TYPES.map((method) => [method, true])),
|
|
22
22
|
...!Array.isArray(allowedObjectSchemaTypesRaw) && allowedObjectSchemaTypesRaw
|
|
23
23
|
}, true);
|
|
24
|
-
configBuilder?.addConfig(["zod", { includeDefaultFilesAndIgnores: true }]).addRule("array-style", arrayStyle === false ? OFF : ERROR, arrayStyle === false ? [] : [{ style: arrayStyle }]).addRule("consistent-import-source", OFF).addRule("consistent-object-schema-type", !allowedObjectSchemaTypes?.length || allowedObjectSchemaTypes.length === ALL_ZOD_OBJECT_SCHEMA_TYPES.length ? OFF : ERROR, !allowedObjectSchemaTypes?.length || allowedObjectSchemaTypes.length === ALL_ZOD_OBJECT_SCHEMA_TYPES.length ? [] : [{ allow: allowedObjectSchemaTypes }]).addRule("no-any", WARNING).addRule("no-empty-custom-schema", ERROR).addRule("no-number-schema-with-int", severityForRulesOnlyForV4).addRule("no-optional-and-default-together", ERROR).addRule("no-throw-in-refine", ERROR).addRule("no-unknown-schema", OFF).addRule("prefer-meta", severityForRulesOnlyForV4).addRule("prefer-meta-last", ERROR).addRule("prefer-namespace-import", enforceNamespaceImport ? ERROR : OFF).addRule("
|
|
24
|
+
configBuilder?.addConfig(["zod", { includeDefaultFilesAndIgnores: true }]).addRule("array-style", arrayStyle === false ? OFF : ERROR, arrayStyle === false ? [] : [{ style: arrayStyle }]).addRule("consistent-import-source", OFF).addRule("consistent-object-schema-type", !allowedObjectSchemaTypes?.length || allowedObjectSchemaTypes.length === ALL_ZOD_OBJECT_SCHEMA_TYPES.length ? OFF : ERROR, !allowedObjectSchemaTypes?.length || allowedObjectSchemaTypes.length === ALL_ZOD_OBJECT_SCHEMA_TYPES.length ? [] : [{ allow: allowedObjectSchemaTypes }]).addRule("no-any", WARNING).addRule("no-empty-custom-schema", ERROR).addRule("no-number-schema-with-int", severityForRulesOnlyForV4).addRule("no-optional-and-default-together", ERROR).addRule("no-throw-in-refine", ERROR).addRule("no-unknown-schema", OFF).addRule("prefer-meta", severityForRulesOnlyForV4).addRule("prefer-meta-last", ERROR).addRule("prefer-namespace-import", enforceNamespaceImport ? ERROR : OFF).addRule("require-brand-type-parameter", ERROR).addRule("require-error-message", ERROR).addRule("require-schema-suffix", schemaSuffix ? ERROR : OFF, schemaSuffix ? [{ suffix: schemaSuffix }] : []).addRule("schema-error-property-style", OFF).enableConfigTesterForPlugin("zod").addOverrides();
|
|
25
25
|
return {
|
|
26
26
|
configs: [configBuilder],
|
|
27
27
|
optionsResolved
|
|
@@ -272,7 +272,8 @@ const ALL_RULES_PER_PLUGIN = {
|
|
|
272
272
|
"no-invalid-entity",
|
|
273
273
|
"no-duplicate-in-head",
|
|
274
274
|
"no-ineffective-attrs",
|
|
275
|
-
"no-restricted-tags"
|
|
275
|
+
"no-restricted-tags",
|
|
276
|
+
"no-whitespace-only-children"
|
|
276
277
|
],
|
|
277
278
|
"@intlify/vue-i18n": [
|
|
278
279
|
"key-format-style",
|
|
@@ -1790,7 +1791,11 @@ const ALL_RULES_PER_PLUGIN = {
|
|
|
1790
1791
|
"valid-engines",
|
|
1791
1792
|
"valid-semver"
|
|
1792
1793
|
],
|
|
1793
|
-
"nuxt": [
|
|
1794
|
+
"nuxt": [
|
|
1795
|
+
"prefer-import-meta",
|
|
1796
|
+
"nuxt-config-keys-order",
|
|
1797
|
+
"no-nuxt-config-test-key"
|
|
1798
|
+
],
|
|
1794
1799
|
"nx": [
|
|
1795
1800
|
"enforce-module-boundaries",
|
|
1796
1801
|
"nx-plugin-checks",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/eslint-types-fixable-only.gen.d.ts
|
|
2
|
-
type FixableRuleNames = '@angular-eslint/consistent-component-styles' | '@angular-eslint/no-input-rename' | '@angular-eslint/no-output-rename' | '@angular-eslint/prefer-signal-model' | '@angular-eslint/prefer-signals' | '@angular-eslint/sort-keys-in-type-decorator' | '@angular-eslint/template/attributes-order' | '@angular-eslint/template/banana-in-box' | '@angular-eslint/template/eqeqeq' | '@angular-eslint/template/i18n' | '@angular-eslint/template/no-autofocus' | '@angular-eslint/template/no-distracting-elements' | '@angular-eslint/template/no-interpolation-in-attributes' | '@angular-eslint/template/prefer-at-else' | '@angular-eslint/template/prefer-at-empty' | '@angular-eslint/template/prefer-contextual-for-variables' | '@angular-eslint/template/prefer-self-closing-tags' | '@angular-eslint/template/prefer-static-string-properties' | '@angular-eslint/template/prefer-template-literal' | '@angular-eslint/template/table-scope' | '@angular-eslint/use-lifecycle-interface' | '@angular-eslint/use-pipe-transform-interface' | '@cspell/spellchecker' | '@eslint-react/dom/no-hydrate' | '@eslint-react/dom/no-missing-iframe-sandbox' | '@eslint-react/dom/no-render' | '@eslint-react/dom/no-unknown-property' | '@eslint-react/dom/no-unsafe-target-blank' | '@eslint-react/dom/no-use-form-state' | '@eslint-react/dom/prefer-namespace-import' | '@eslint-react/jsx-dollar' | '@eslint-react/jsx-shorthand-boolean' | '@eslint-react/jsx-shorthand-fragment' | '@eslint-react/no-component-will-mount' | '@eslint-react/no-component-will-receive-props' | '@eslint-react/no-component-will-update' | '@eslint-react/no-context-provider' | '@eslint-react/no-forward-ref' | '@eslint-react/no-missing-context-display-name' | '@eslint-react/no-misused-capture-owner-stack' | '@eslint-react/no-string-refs' | '@eslint-react/no-use-context' | '@eslint-react/no-useless-fragment' | '@eslint-react/prefer-namespace-import' | '@html-eslint/attrs-newline' | '@html-eslint/element-newline' | '@html-eslint/indent' | '@html-eslint/lowercase' | '@html-eslint/no-duplicate-class' | '@html-eslint/no-extra-spacing-attrs' | '@html-eslint/no-extra-spacing-text' | '@html-eslint/no-multiple-empty-lines' | '@html-eslint/no-script-style-type' | '@html-eslint/no-trailing-spaces' | '@html-eslint/quotes' | '@html-eslint/require-attrs' | '@html-eslint/require-button-type' | '@html-eslint/require-closing-tags' | '@html-eslint/require-doctype' | '@html-eslint/sort-attrs' | '@intlify/vue-i18n/no-deprecated-i18n-component' | '@intlify/vue-i18n/no-deprecated-modulo-syntax' | '@intlify/vue-i18n/no-i18n-t-path-prop' | '@intlify/vue-i18n/no-unused-keys' | '@intlify/vue-i18n/prefer-linked-key-with-paren' | '@intlify/vue-i18n/prefer-sfc-lang-attr' | '@stylistic/array-bracket-newline' | '@stylistic/array-bracket-spacing' | '@stylistic/array-element-newline' | '@stylistic/arrow-parens' | '@stylistic/arrow-spacing' | '@stylistic/block-spacing' | '@stylistic/brace-style' | '@stylistic/comma-dangle' | '@stylistic/comma-spacing' | '@stylistic/comma-style' | '@stylistic/computed-property-spacing' | '@stylistic/curly-newline' | '@stylistic/dot-location' | '@stylistic/eol-last' | '@stylistic/exp-list-style' | '@stylistic/function-call-argument-newline' | '@stylistic/function-call-spacing' | '@stylistic/function-paren-newline' | '@stylistic/generator-star-spacing' | '@stylistic/implicit-arrow-linebreak' | '@stylistic/indent' | '@stylistic/indent-binary-ops' | '@stylistic/jsx-closing-bracket-location' | '@stylistic/jsx-closing-tag-location' | '@stylistic/jsx-curly-brace-presence' | '@stylistic/jsx-curly-newline' | '@stylistic/jsx-curly-spacing' | '@stylistic/jsx-equals-spacing' | '@stylistic/jsx-first-prop-new-line' | '@stylistic/jsx-function-call-newline' | '@stylistic/jsx-indent' | '@stylistic/jsx-indent-props' | '@stylistic/jsx-max-props-per-line' | '@stylistic/jsx-newline' | '@stylistic/jsx-one-expression-per-line' | '@stylistic/jsx-props-no-multi-spaces' | '@stylistic/jsx-quotes' | '@stylistic/jsx-self-closing-comp' | '@stylistic/jsx-sort-props' | '@stylistic/jsx-tag-spacing' | '@stylistic/jsx-wrap-multilines' | '@stylistic/key-spacing' | '@stylistic/keyword-spacing' | '@stylistic/linebreak-style' | '@stylistic/lines-around-comment' | '@stylistic/lines-between-class-members' | '@stylistic/member-delimiter-style' | '@stylistic/multiline-comment-style' | '@stylistic/multiline-ternary' | '@stylistic/new-parens' | '@stylistic/newline-per-chained-call' | '@stylistic/no-confusing-arrow' | '@stylistic/no-extra-parens' | '@stylistic/no-extra-semi' | '@stylistic/no-floating-decimal' | '@stylistic/no-multi-spaces' | '@stylistic/no-multiple-empty-lines' | '@stylistic/no-trailing-spaces' | '@stylistic/no-whitespace-before-property' | '@stylistic/nonblock-statement-body-position' | '@stylistic/object-curly-newline' | '@stylistic/object-curly-spacing' | '@stylistic/object-property-newline' | '@stylistic/one-var-declaration-per-line' | '@stylistic/operator-linebreak' | '@stylistic/padded-blocks' | '@stylistic/padding-line-between-statements' | '@stylistic/quote-props' | '@stylistic/quotes' | '@stylistic/rest-spread-spacing' | '@stylistic/semi' | '@stylistic/semi-spacing' | '@stylistic/semi-style' | '@stylistic/space-before-blocks' | '@stylistic/space-before-function-paren' | '@stylistic/space-in-parens' | '@stylistic/space-infix-ops' | '@stylistic/space-unary-ops' | '@stylistic/spaced-comment' | '@stylistic/switch-colon-spacing' | '@stylistic/template-curly-spacing' | '@stylistic/template-tag-spacing' | '@stylistic/type-annotation-spacing' | '@stylistic/type-generic-spacing' | '@stylistic/type-named-tuple-spacing' | '@stylistic/wrap-iife' | '@stylistic/wrap-regex' | '@stylistic/yield-star-spacing' | '@tanstack/query/exhaustive-deps' | '@tanstack/query/infinite-query-property-order' | '@tanstack/query/mutation-property-order' | '@tanstack/query/stable-query-client' | '@unocss/blocklist' | '@unocss/enforce-class-compile' | '@unocss/order' | '@unocss/order-attributify' | 'antfu/consistent-chaining' | 'antfu/consistent-list-newline' | 'antfu/curly' | 'antfu/if-newline' | 'antfu/import-dedupe' | 'antfu/indent-unindent' | 'antfu/top-level-function' | 'array-bracket-newline' | 'array-bracket-spacing' | 'array-element-newline' | 'arrow-body-style' | 'arrow-parens' | 'arrow-spacing' | 'astro/no-deprecated-astro-fetchcontent' | 'astro/no-set-text-directive' | 'astro/prefer-class-list-directive' | 'astro/prefer-object-class-list' | 'astro/prefer-split-class-list' | 'astro/semi' | 'astro/sort-attributes' | 'ava/assertion-arguments' | 'ava/hooks-order' | 'ava/no-incorrect-deep-equal' | 'ava/no-inline-assertions' | 'ava/no-only-test' | 'ava/no-skip-test' | 'ava/prefer-t-regex' | 'ava/use-t-throws-async-well' | 'ava/use-t-well' | 'better-tailwindcss/enforce-consistent-class-order' | 'better-tailwindcss/enforce-consistent-important-position' | 'better-tailwindcss/enforce-consistent-line-wrapping' | 'better-tailwindcss/enforce-consistent-variable-syntax' | 'better-tailwindcss/enforce-shorthand-classes' | 'better-tailwindcss/multiline' | 'better-tailwindcss/no-conflicting-classes' | 'better-tailwindcss/no-deprecated-classes' | 'better-tailwindcss/no-duplicate-classes' | 'better-tailwindcss/no-restricted-classes' | 'better-tailwindcss/no-unnecessary-whitespace' | 'better-tailwindcss/no-unregistered-classes' | 'better-tailwindcss/sort-classes' | 'block-spacing' | 'brace-style' | 'capitalized-comments' | 'case-police/string-check' | 'comma-dangle' | 'comma-spacing' | 'comma-style' | 'command/command' | 'computed-property-spacing' | 'css-in-js/color-hex-style' | 'css-in-js/named-color' | 'css-in-js/no-length-zero-unit' | 'css-in-js/no-number-trailing-zeros' | 'css-in-js/no-useless-color-alpha' | 'css-in-js/number-leading-zero' | 'css-in-js/prefer-reduce-shorthand-property-box-values' | 'css-in-js/property-casing' | 'css/no-duplicate-imports' | 'css/no-invalid-at-rules' | 'css/prefer-logical-properties' | 'curly' | 'de-morgan/no-negated-conjunction' | 'de-morgan/no-negated-disjunction' | 'dot-location' | 'dot-notation' | 'ember/no-array-prototype-extensions' | 'ember/no-assignment-of-untracked-properties-used-in-tracking-contexts' | 'ember/no-deprecated-router-transition-methods' | 'ember/no-duplicate-dependent-keys' | 'ember/no-ember-super-in-es-classes' | 'ember/no-get' | 'ember/no-get-with-default' | 'ember/no-implicit-injections' | 'ember/no-implicit-service-injection-argument' | 'ember/no-incorrect-computed-macros' | 'ember/no-invalid-dependent-keys' | 'ember/no-noop-setup-on-error-in-before' | 'ember/no-old-shims' | 'ember/no-restricted-property-modifications' | 'ember/no-settled-after-test-helper' | 'ember/no-unnecessary-route-path-option' | 'ember/no-unnecessary-service-injection-argument' | 'ember/order-in-components' | 'ember/order-in-controllers' | 'ember/order-in-models' | 'ember/order-in-routes' | 'ember/require-computed-macros' | 'ember/require-computed-property-dependencies' | 'ember/require-super-in-lifecycle-hooks' | 'ember/require-valid-css-selector-in-test-helpers' | 'ember/template-indent' | 'ember/use-ember-data-rfc-395-imports' | 'ember/use-ember-get-and-set' | 'eol-last' | 'eqeqeq' | 'es/no-arrow-functions' | 'es/no-date-prototype-togmtstring' | 'es/no-function-declarations-in-if-statement-clauses-without-block' | 'es/no-json-superset' | 'es/no-logical-assignment-operators' | 'es/no-numeric-separators' | 'es/no-property-shorthands' | 'es/no-string-prototype-trimleft-trimright' | 'es/no-template-literals' | 'es/no-trailing-dynamic-import-commas' | 'es/no-trailing-function-commas' | 'es/no-unicode-codepoint-escapes' | 'eslint-plugin/meta-property-ordering' | 'eslint-plugin/no-deprecated-context-methods' | 'eslint-plugin/no-deprecated-report-api' | 'eslint-plugin/no-identical-tests' | 'eslint-plugin/no-useless-token-range' | 'eslint-plugin/prefer-object-rule' | 'eslint-plugin/prefer-output-null' | 'eslint-plugin/require-meta-default-options' | 'eslint-plugin/require-meta-docs-url' | 'eslint-plugin/require-meta-has-suggestions' | 'eslint-plugin/test-case-property-ordering' | 'eslint-plugin/test-case-shorthand-strings' | 'expect-type/expect' | 'fast-import/consistent-file-extensions' | 'fast-import/require-node-prefix' | 'formatjs/blocklist-elements' | 'formatjs/enforce-default-message' | 'formatjs/enforce-description' | 'formatjs/enforce-id' | 'formatjs/enforce-plural-rules' | 'formatjs/no-camel-case' | 'formatjs/no-complex-selectors' | 'formatjs/no-emoji' | 'formatjs/no-id' | 'formatjs/no-invalid-icu' | 'formatjs/no-missing-icu-plural-one-placeholders' | 'formatjs/no-multiple-plurals' | 'formatjs/no-multiple-whitespaces' | 'formatjs/no-offset' | 'formatjs/no-useless-message' | 'formatjs/prefer-pound-in-plural' | 'func-call-spacing' | 'function-call-argument-newline' | 'function-paren-newline' | 'generator-star-spacing' | 'graphql/alphabetize' | 'header/header' | 'headers/header-format' | 'implicit-arrow-linebreak' | 'import-zod/prefer-zod-namespace' | 'import/consistent-type-specifier-style' | 'import/extensions' | 'import/first' | 'import/imports-first' | 'import/newline-after-import' | 'import/no-absolute-path' | 'import/no-duplicates' | 'import/no-empty-named-blocks' | 'import/no-import-module-exports' | 'import/no-namespace' | 'import/no-relative-packages' | 'import/no-useless-path-segments' | 'import/order' | 'import/prefer-namespace-import' | 'indent' | 'indent-legacy' | 'jest-dom/prefer-checked' | 'jest-dom/prefer-empty' | 'jest-dom/prefer-enabled-disabled' | 'jest-dom/prefer-focus' | 'jest-dom/prefer-in-document' | 'jest-dom/prefer-required' | 'jest-dom/prefer-to-have-attribute' | 'jest-dom/prefer-to-have-class' | 'jest-dom/prefer-to-have-style' | 'jest-dom/prefer-to-have-text-content' | 'jest-dom/prefer-to-have-value' | 'jest-extended/prefer-to-be-array' | 'jest-extended/prefer-to-be-false' | 'jest-extended/prefer-to-be-object' | 'jest-extended/prefer-to-be-true' | 'jest-extended/prefer-to-have-been-called-once' | 'jest/consistent-test-it' | 'jest/no-alias-methods' | 'jest/no-deprecated-functions' | 'jest/no-jasmine-globals' | 'jest/no-test-prefixes' | 'jest/no-untyped-mock-factory' | 'jest/padding-around-after-all-blocks' | 'jest/padding-around-after-each-blocks' | 'jest/padding-around-all' | 'jest/padding-around-before-all-blocks' | 'jest/padding-around-before-each-blocks' | 'jest/padding-around-describe-blocks' | 'jest/padding-around-expect-groups' | 'jest/padding-around-test-blocks' | 'jest/prefer-comparison-matcher' | 'jest/prefer-expect-resolves' | 'jest/prefer-importing-jest-globals' | 'jest/prefer-jest-mocked' | 'jest/prefer-lowercase-title' | 'jest/prefer-mock-promise-shorthand' | 'jest/prefer-spy-on' | 'jest/prefer-to-be' | 'jest/prefer-to-contain' | 'jest/prefer-to-have-length' | 'jest/prefer-todo' | 'jest/valid-expect' | 'jest/valid-title' | 'jsdoc/check-alignment' | 'jsdoc/check-line-alignment' | 'jsdoc/check-param-names' | 'jsdoc/check-property-names' | 'jsdoc/check-tag-names' | 'jsdoc/check-types' | 'jsdoc/convert-to-jsdoc-comments' | 'jsdoc/empty-tags' | 'jsdoc/escape-inline-tags' | 'jsdoc/lines-before-block' | 'jsdoc/match-name' | 'jsdoc/multiline-blocks' | 'jsdoc/no-bad-blocks' | 'jsdoc/no-blank-block-descriptions' | 'jsdoc/no-blank-blocks' | 'jsdoc/no-defaults' | 'jsdoc/no-multi-asterisks' | 'jsdoc/no-types' | 'jsdoc/prefer-import-tag' | 'jsdoc/require-asterisk-prefix' | 'jsdoc/require-description-complete-sentence' | 'jsdoc/require-example' | 'jsdoc/require-hyphen-before-param-description' | 'jsdoc/require-jsdoc' | 'jsdoc/require-param' | 'jsdoc/require-param-description' | 'jsdoc/require-param-type' | 'jsdoc/require-property' | 'jsdoc/require-returns' | 'jsdoc/sort-tags' | 'jsdoc/tag-lines' | 'jsdoc/text-escaping' | 'jsdoc/ts-method-signature-style' | 'jsdoc/ts-no-unnecessary-template-expression' | 'jsdoc/ts-prefer-function-type' | 'jsdoc/type-formatting' | 'jsonc/array-bracket-newline' | 'jsonc/array-bracket-spacing' | 'jsonc/array-element-newline' | 'jsonc/auto' | 'jsonc/comma-dangle' | 'jsonc/comma-style' | 'jsonc/indent' | 'jsonc/key-spacing' | 'jsonc/no-binary-expression' | 'jsonc/no-binary-numeric-literals' | 'jsonc/no-escape-sequence-in-identifier' | 'jsonc/no-floating-decimal' | 'jsonc/no-hexadecimal-numeric-literals' | 'jsonc/no-number-props' | 'jsonc/no-numeric-separators' | 'jsonc/no-octal-numeric-literals' | 'jsonc/no-parenthesized' | 'jsonc/no-plus-sign' | 'jsonc/no-template-literals' | 'jsonc/no-unicode-codepoint-escapes' | 'jsonc/object-curly-newline' | 'jsonc/object-curly-spacing' | 'jsonc/object-property-newline' | 'jsonc/quote-props' | 'jsonc/quotes' | 'jsonc/sort-array-values' | 'jsonc/sort-keys' | 'jsonc/space-unary-ops' | 'jsonc/valid-json-number' | 'jsx-quotes' | 'key-spacing' | 'keyword-spacing' | 'linebreak-style' | 'lines-around-comment' | 'lines-around-directive' | 'lines-between-class-members' | 'lit/no-invalid-escape-sequences' | 'lit/no-legacy-imports' | 'lit/no-value-attribute' | 'lit/quoted-expressions' | 'logical-assignment-operators' | 'markdown-preferences/atx-heading-closing-sequence' | 'markdown-preferences/atx-heading-closing-sequence-length' | 'markdown-preferences/blockquote-marker-alignment' | 'markdown-preferences/bullet-list-marker-style' | 'markdown-preferences/canonical-code-block-language' | 'markdown-preferences/code-fence-length' | 'markdown-preferences/code-fence-spacing' | 'markdown-preferences/code-fence-style' | 'markdown-preferences/custom-container-marker-spacing' | 'markdown-preferences/definitions-last' | 'markdown-preferences/emoji-notation' | 'markdown-preferences/emphasis-delimiters-style' | 'markdown-preferences/hard-linebreak-style' | 'markdown-preferences/heading-casing' | 'markdown-preferences/indent' | 'markdown-preferences/level1-heading-style' | 'markdown-preferences/level2-heading-style' | 'markdown-preferences/link-bracket-newline' | 'markdown-preferences/link-bracket-spacing' | 'markdown-preferences/link-destination-style' | 'markdown-preferences/link-paren-newline' | 'markdown-preferences/link-paren-spacing' | 'markdown-preferences/link-title-style' | 'markdown-preferences/list-marker-alignment' | 'markdown-preferences/no-implicit-block-closing' | 'markdown-preferences/no-multi-spaces' | 'markdown-preferences/no-multiple-empty-lines' | 'markdown-preferences/no-tabs' | 'markdown-preferences/no-trailing-spaces' | 'markdown-preferences/ordered-list-marker-sequence' | 'markdown-preferences/ordered-list-marker-start' | 'markdown-preferences/ordered-list-marker-style' | 'markdown-preferences/padded-custom-containers' | 'markdown-preferences/padding-line-between-blocks' | 'markdown-preferences/prefer-autolinks' | 'markdown-preferences/prefer-fenced-code-blocks' | 'markdown-preferences/prefer-inline-code-words' | 'markdown-preferences/prefer-link-reference-definitions' | 'markdown-preferences/prefer-linked-words' | 'markdown-preferences/setext-heading-underline-length' | 'markdown-preferences/sort-definitions' | 'markdown-preferences/strikethrough-delimiters-style' | 'markdown-preferences/table-header-casing' | 'markdown-preferences/table-leading-trailing-pipes' | 'markdown-preferences/table-pipe-alignment' | 'markdown-preferences/table-pipe-spacing' | 'markdown-preferences/thematic-break-character-style' | 'markdown-preferences/thematic-break-length' | 'markdown-preferences/thematic-break-sequence-pattern' | 'markdown/no-bare-urls' | 'markdown/no-missing-atx-heading-space' | 'markdown/no-reference-like-urls' | 'markdown/no-reversed-media-syntax' | 'markdown/no-space-in-emphasis' | 'math/abs' | 'math/prefer-exponentiation-operator' | 'math/prefer-math-cbrt' | 'math/prefer-math-e' | 'math/prefer-math-hypot' | 'math/prefer-math-ln10' | 'math/prefer-math-ln2' | 'math/prefer-math-log10' | 'math/prefer-math-log10e' | 'math/prefer-math-log2' | 'math/prefer-math-log2e' | 'math/prefer-math-pi' | 'math/prefer-math-sqrt' | 'math/prefer-math-sqrt1-2' | 'math/prefer-math-sqrt2' | 'math/prefer-math-sum-precise' | 'math/prefer-math-trunc' | 'math/prefer-number-epsilon' | 'math/prefer-number-is-finite' | 'math/prefer-number-is-integer' | 'math/prefer-number-is-nan' | 'math/prefer-number-is-safe-integer' | 'math/prefer-number-max-safe-integer' | 'math/prefer-number-max-value' | 'math/prefer-number-min-safe-integer' | 'math/prefer-number-min-value' | 'mdx/remark' | 'mocha/consistent-spacing-between-blocks' | 'mocha/no-async-suite' | 'mocha/no-mocha-arrows' | 'mocha/prefer-arrow-callback' | 'multiline-comment-style' | 'multiline-ternary' | 'nestjs/sort-module-metadata-arrays' | 'new-parens' | 'newline-after-var' | 'newline-before-return' | 'newline-per-chained-call' | 'no-array-constructor' | 'no-confusing-arrow' | 'no-div-regex' | 'no-else-return' | 'no-extra-bind' | 'no-extra-boolean-cast' | 'no-extra-label' | 'no-extra-parens' | 'no-extra-semi' | 'no-floating-decimal' | 'no-implicit-coercion' | 'no-lonely-if' | 'no-multi-spaces' | 'no-multiple-empty-lines' | 'no-only-tests/no-only-tests' | 'no-regex-spaces' | 'no-spaced-func' | 'no-trailing-spaces' | 'no-undef-init' | 'no-unneeded-ternary' | 'no-unused-labels' | 'no-useless-computed-key' | 'no-useless-rename' | 'no-useless-return' | 'no-var' | 'no-whitespace-before-property' | 'node-dependencies/prefer-caret-range-version' | 'node-dependencies/prefer-tilde-range-version' | 'node/exports-style' | 'node/file-extension-in-import' | 'node/hashbang' | 'node/prefer-node-protocol' | 'node/shebang' | 'nonblock-statement-body-position' | 'nuxt/nuxt-config-keys-order' | 'nuxt/prefer-import-meta' | 'nx/dependency-checks' | 'nx/enforce-module-boundaries' | 'object-curly-newline' | 'object-curly-spacing' | 'object-property-newline' | 'object-shorthand' | 'one-var' | 'one-var-declaration-per-line' | 'operator-assignment' | 'operator-linebreak' | 'package-json/exports-subpaths-style' | 'package-json/order-properties' | 'package-json/repository-shorthand' | 'package-json/restrict-private-properties' | 'package-json/sort-collections' | 'padded-blocks' | 'padding-line-between-statements' | 'perfectionist/sort-array-includes' | 'perfectionist/sort-classes' | 'perfectionist/sort-decorators' | 'perfectionist/sort-enums' | 'perfectionist/sort-exports' | 'perfectionist/sort-heritage-clauses' | 'perfectionist/sort-imports' | 'perfectionist/sort-interfaces' | 'perfectionist/sort-intersection-types' | 'perfectionist/sort-jsx-props' | 'perfectionist/sort-maps' | 'perfectionist/sort-modules' | 'perfectionist/sort-named-exports' | 'perfectionist/sort-named-imports' | 'perfectionist/sort-object-types' | 'perfectionist/sort-objects' | 'perfectionist/sort-sets' | 'perfectionist/sort-switch-case' | 'perfectionist/sort-union-types' | 'perfectionist/sort-variable-declarations' | 'playwright/missing-playwright-await' | 'playwright/no-standalone-expect' | 'playwright/no-unsafe-references' | 'playwright/no-useless-await' | 'playwright/no-useless-not' | 'playwright/prefer-comparison-matcher' | 'playwright/prefer-lowercase-title' | 'playwright/prefer-native-locators' | 'playwright/prefer-strict-equal' | 'playwright/prefer-to-be' | 'playwright/prefer-to-contain' | 'playwright/prefer-to-have-count' | 'playwright/prefer-to-have-length' | 'playwright/prefer-web-first-assertions' | 'playwright/require-soft-assertions' | 'playwright/valid-title' | 'pnpm/json-enforce-catalog' | 'pnpm/json-prefer-workspace-settings' | 'pnpm/json-valid-catalog' | 'pnpm/yaml-enforce-settings' | 'pnpm/yaml-no-duplicate-catalog-item' | 'pnpm/yaml-no-unused-catalog-item' | 'prefer-arrow-callback' | 'prefer-arrow-functions/prefer-arrow-functions' | 'prefer-const' | 'prefer-destructuring' | 'prefer-exponentiation-operator' | 'prefer-numeric-literals' | 'prefer-object-has-own' | 'prefer-object-spread' | 'prefer-template' | 'prettier/prettier' | 'promise/no-new-statics' | 'promise/prefer-catch' | 'qunit/literal-compare-order' | 'qunit/no-arrow-tests' | 'qunit/no-assert-equal-boolean' | 'qunit/no-compare-relation-boolean' | 'qunit/no-negated-ok' | 'qunit/no-ok-equality' | 'qunit/no-setup-teardown' | 'quote-props' | 'quotes' | 'qwik/jsx-a' | 'qwik/jsx-img' | 'qwik/no-react-props' | 'qwik/prefer-classlist' | 'react-hooks/automatic-effect-dependencies' | 'react-hooks/capitalized-calls' | 'react-hooks/component-hook-factories' | 'react-hooks/config' | 'react-hooks/error-boundaries' | 'react-hooks/exhaustive-deps' | 'react-hooks/fbt' | 'react-hooks/fire' | 'react-hooks/gating' | 'react-hooks/globals' | 'react-hooks/hooks' | 'react-hooks/immutability' | 'react-hooks/incompatible-library' | 'react-hooks/invariant' | 'react-hooks/memoized-effect-dependencies' | 'react-hooks/no-deriving-state-in-effects' | 'react-hooks/preserve-manual-memoization' | 'react-hooks/purity' | 'react-hooks/refs' | 'react-hooks/rule-suppression' | 'react-hooks/set-state-in-effect' | 'react-hooks/set-state-in-render' | 'react-hooks/static-components' | 'react-hooks/syntax' | 'react-hooks/todo' | 'react-hooks/unsupported-syntax' | 'react-hooks/use-memo' | 'react-hooks/void-use-memo' | 'react/destructuring-assignment' | 'react/function-component-definition' | 'react/jsx-boolean-value' | 'react/jsx-closing-bracket-location' | 'react/jsx-closing-tag-location' | 'react/jsx-curly-brace-presence' | 'react/jsx-curly-newline' | 'react/jsx-curly-spacing' | 'react/jsx-equals-spacing' | 'react/jsx-first-prop-new-line' | 'react/jsx-fragments' | 'react/jsx-indent' | 'react/jsx-indent-props' | 'react/jsx-max-props-per-line' | 'react/jsx-newline' | 'react/jsx-no-leaked-render' | 'react/jsx-no-target-blank' | 'react/jsx-no-useless-fragment' | 'react/jsx-one-expression-per-line' | 'react/jsx-props-no-multi-spaces' | 'react/jsx-sort-props' | 'react/jsx-space-before-closing' | 'react/jsx-tag-spacing' | 'react/jsx-wrap-multilines' | 'react/no-arrow-function-lifecycle' | 'react/no-unknown-property' | 'react/prefer-read-only-props' | 'react/self-closing-comp' | 'react/sort-prop-types' | 'regexp/control-character-escape' | 'regexp/hexadecimal-escape' | 'regexp/letter-case' | 'regexp/match-any' | 'regexp/negation' | 'regexp/no-dupe-characters-character-class' | 'regexp/no-extra-lookaround-assertions' | 'regexp/no-invisible-character' | 'regexp/no-misleading-unicode-character' | 'regexp/no-missing-g-flag' | 'regexp/no-super-linear-backtracking' | 'regexp/no-trivially-nested-assertion' | 'regexp/no-trivially-nested-quantifier' | 'regexp/no-unused-capturing-group' | 'regexp/no-useless-character-class' | 'regexp/no-useless-escape' | 'regexp/no-useless-flag' | 'regexp/no-useless-lazy' | 'regexp/no-useless-non-capturing-group' | 'regexp/no-useless-quantifier' | 'regexp/no-useless-range' | 'regexp/no-useless-set-operand' | 'regexp/no-useless-string-literal' | 'regexp/no-useless-two-nums-quantifier' | 'regexp/optimal-quantifier-concatenation' | 'regexp/prefer-character-class' | 'regexp/prefer-d' | 'regexp/prefer-lookaround' | 'regexp/prefer-named-backreference' | 'regexp/prefer-named-replacement' | 'regexp/prefer-plus-quantifier' | 'regexp/prefer-predefined-assertion' | 'regexp/prefer-quantifier' | 'regexp/prefer-question-quantifier' | 'regexp/prefer-range' | 'regexp/prefer-regexp-test' | 'regexp/prefer-result-array-groups' | 'regexp/prefer-set-operation' | 'regexp/prefer-star-quantifier' | 'regexp/prefer-unicode-codepoint-escapes' | 'regexp/prefer-w' | 'regexp/require-unicode-regexp' | 'regexp/require-unicode-sets-regexp' | 'regexp/simplify-set-operations' | 'regexp/sort-alternatives' | 'regexp/sort-character-class-elements' | 'regexp/sort-flags' | 'regexp/strict' | 'regexp/unicode-escape' | 'regexp/unicode-property' | 'regexp/use-ignore-case' | 'rest-spread-spacing' | 'rxjs/just' | 'rxjs/macro' | 'rxjs/no-implicit-any-catch' | 'rxjs/no-internal' | 'rxjs/prefer-observer' | 'semi' | 'semi-spacing' | 'semi-style' | 'sentences-per-line/one' | 'solid/components-return-once' | 'solid/event-handlers' | 'solid/imports' | 'solid/jsx-no-undef' | 'solid/no-destructure' | 'solid/no-innerhtml' | 'solid/no-react-deps' | 'solid/no-react-specific-props' | 'solid/prefer-classlist' | 'solid/prefer-for' | 'solid/prefer-show' | 'solid/self-closing-comp' | 'solid/style-prop' | 'sonarjs/enforce-trailing-comma' | 'sonarjs/no-inverted-boolean-check' | 'sonarjs/prefer-immediate-return' | 'sonarjs/prefer-while' | 'sort-imports' | 'sort-vars' | 'space-before-blocks' | 'space-before-function-paren' | 'space-in-parens' | 'space-infix-ops' | 'space-unary-ops' | 'spaced-comment' | 'storybook/await-interactions' | 'storybook/default-exports' | 'storybook/hierarchy-separator' | 'storybook/meta-satisfies-type' | 'storybook/no-redundant-story-name' | 'storybook/no-title-property-in-meta' | 'storybook/prefer-pascal-case' | 'storybook/use-storybook-expect' | 'storybook/use-storybook-testing-library' | 'strict' | 'svelte/@typescript-eslint/no-unnecessary-condition' | 'svelte/first-attribute-linebreak' | 'svelte/html-closing-bracket-new-line' | 'svelte/html-closing-bracket-spacing' | 'svelte/html-quotes' | 'svelte/html-self-closing' | 'svelte/indent' | 'svelte/max-attributes-per-line' | 'svelte/mustache-spacing' | 'svelte/no-dynamic-slot-name' | 'svelte/no-raw-special-elements' | 'svelte/no-spaces-around-equal-signs-in-attribute' | 'svelte/no-trailing-spaces' | 'svelte/no-useless-mustaches' | 'svelte/prefer-class-directive' | 'svelte/prefer-const' | 'svelte/prefer-style-directive' | 'svelte/require-store-reactive-access' | 'svelte/shorthand-attribute' | 'svelte/shorthand-directive' | 'svelte/sort-attributes' | 'svelte/spaced-html-comment' | 'switch-colon-spacing' | 'tailwindcss/classnames-order' | 'tailwindcss/enforces-shorthand' | 'tailwindcss/migration-from-tailwind-2' | 'tailwindcss/no-unnecessary-arbitrary-value' | 'template-curly-spacing' | 'template-tag-spacing' | 'testing-library/await-async-events' | 'testing-library/await-async-queries' | 'testing-library/await-async-utils' | 'testing-library/no-await-sync-queries' | 'testing-library/no-dom-import' | 'testing-library/no-global-regexp-flag-in-query' | 'testing-library/no-wait-for-multiple-assertions' | 'testing-library/no-wait-for-side-effects' | 'testing-library/prefer-find-by' | 'testing-library/prefer-presence-queries' | 'toml/array-bracket-newline' | 'toml/array-bracket-spacing' | 'toml/array-element-newline' | 'toml/comma-style' | 'toml/indent' | 'toml/inline-table-curly-spacing' | 'toml/key-spacing' | 'toml/keys-order' | 'toml/no-non-decimal-integer' | 'toml/no-space-dots' | 'toml/padding-line-between-pairs' | 'toml/padding-line-between-tables' | 'toml/quoted-keys' | 'toml/space-eq-sign' | 'toml/spaced-comment' | 'toml/table-bracket-spacing' | 'toml/tables-order' | 'ts/array-type' | 'ts/ban-tslint-comment' | 'ts/consistent-generic-constructors' | 'ts/consistent-indexed-object-style' | 'ts/consistent-type-assertions' | 'ts/consistent-type-definitions' | 'ts/consistent-type-exports' | 'ts/consistent-type-imports' | 'ts/dot-notation' | 'ts/explicit-member-accessibility' | 'ts/method-signature-style' | 'ts/no-array-constructor' | 'ts/no-confusing-void-expression' | 'ts/no-duplicate-type-constituents' | 'ts/no-dynamic-delete' | 'ts/no-empty-interface' | 'ts/no-explicit-any' | 'ts/no-extra-non-null-assertion' | 'ts/no-import-type-side-effects' | 'ts/no-inferrable-types' | 'ts/no-meaningless-void-operator' | 'ts/no-restricted-types' | 'ts/no-unnecessary-boolean-literal-compare' | 'ts/no-unnecessary-qualifier' | 'ts/no-unnecessary-template-expression' | 'ts/no-unnecessary-type-arguments' | 'ts/no-unnecessary-type-assertion' | 'ts/no-useless-empty-export' | 'ts/no-wrapper-object-types' | 'ts/non-nullable-type-assertion-style' | 'ts/prefer-as-const' | 'ts/prefer-destructuring' | 'ts/prefer-function-type' | 'ts/prefer-includes' | 'ts/prefer-namespace-keyword' | 'ts/prefer-optional-chain' | 'ts/prefer-readonly' | 'ts/prefer-reduce-type-parameter' | 'ts/prefer-regexp-exec' | 'ts/prefer-return-this-type' | 'ts/prefer-string-starts-ends-with' | 'ts/prefer-ts-expect-error' | 'ts/promise-function-async' | 'ts/return-await' | 'ts/sort-type-constituents' | 'un/no-multiple-consecutive-spaces' | 'un/no-typeof-like-comparisons' | 'un/prefer-early-return' | 'unicode-bom' | 'unicorn/better-regex' | 'unicorn/catch-error-name' | 'unicorn/consistent-assert' | 'unicorn/consistent-date-clone' | 'unicorn/consistent-empty-array-spread' | 'unicorn/consistent-existence-index-check' | 'unicorn/custom-error-definition' | 'unicorn/empty-brace-spaces' | 'unicorn/escape-case' | 'unicorn/explicit-length-check' | 'unicorn/new-for-builtins' | 'unicorn/no-array-for-each' | 'unicorn/no-array-method-this-argument' | 'unicorn/no-await-expression-member' | 'unicorn/no-console-spaces' | 'unicorn/no-for-loop' | 'unicorn/no-hex-escape' | 'unicorn/no-immediate-mutation' | 'unicorn/no-instanceof-builtins' | 'unicorn/no-lonely-if' | 'unicorn/no-named-default' | 'unicorn/no-negated-condition' | 'unicorn/no-nested-ternary' | 'unicorn/no-new-array' | 'unicorn/no-new-buffer' | 'unicorn/no-null' | 'unicorn/no-single-promise-in-promise-methods' | 'unicorn/no-static-only-class' | 'unicorn/no-typeof-undefined' | 'unicorn/no-unnecessary-array-flat-depth' | 'unicorn/no-unnecessary-array-splice-count' | 'unicorn/no-unnecessary-await' | 'unicorn/no-unnecessary-slice-end' | 'unicorn/no-unreadable-array-destructuring' | 'unicorn/no-useless-collection-argument' | 'unicorn/no-useless-error-capture-stack-trace' | 'unicorn/no-useless-fallback-in-spread' | 'unicorn/no-useless-length-check' | 'unicorn/no-useless-promise-resolve-reject' | 'unicorn/no-useless-spread' | 'unicorn/no-useless-undefined' | 'unicorn/no-zero-fractions' | 'unicorn/number-literal-case' | 'unicorn/numeric-separators-style' | 'unicorn/prefer-add-event-listener' | 'unicorn/prefer-array-find' | 'unicorn/prefer-array-flat' | 'unicorn/prefer-array-flat-map' | 'unicorn/prefer-array-index-of' | 'unicorn/prefer-array-some' | 'unicorn/prefer-at' | 'unicorn/prefer-bigint-literals' | 'unicorn/prefer-class-fields' | 'unicorn/prefer-classlist-toggle' | 'unicorn/prefer-date-now' | 'unicorn/prefer-dom-node-append' | 'unicorn/prefer-dom-node-dataset' | 'unicorn/prefer-dom-node-remove' | 'unicorn/prefer-export-from' | 'unicorn/prefer-global-this' | 'unicorn/prefer-import-meta-properties' | 'unicorn/prefer-includes' | 'unicorn/prefer-json-parse-buffer' | 'unicorn/prefer-keyboard-event-key' | 'unicorn/prefer-math-min-max' | 'unicorn/prefer-math-trunc' | 'unicorn/prefer-modern-dom-apis' | 'unicorn/prefer-modern-math-apis' | 'unicorn/prefer-module' | 'unicorn/prefer-native-coercion-functions' | 'unicorn/prefer-negative-index' | 'unicorn/prefer-node-protocol' | 'unicorn/prefer-number-properties' | 'unicorn/prefer-object-from-entries' | 'unicorn/prefer-optional-catch-binding' | 'unicorn/prefer-prototype-methods' | 'unicorn/prefer-query-selector' | 'unicorn/prefer-reflect-apply' | 'unicorn/prefer-regexp-test' | 'unicorn/prefer-response-static-json' | 'unicorn/prefer-set-has' | 'unicorn/prefer-set-size' | 'unicorn/prefer-single-call' | 'unicorn/prefer-spread' | 'unicorn/prefer-string-raw' | 'unicorn/prefer-string-replace-all' | 'unicorn/prefer-string-slice' | 'unicorn/prefer-string-starts-ends-with' | 'unicorn/prefer-string-trim-start-end' | 'unicorn/prefer-switch' | 'unicorn/prefer-ternary' | 'unicorn/prefer-type-error' | 'unicorn/prevent-abbreviations' | 'unicorn/relative-url-style' | 'unicorn/require-array-join-separator' | 'unicorn/require-module-attributes' | 'unicorn/require-module-specifiers' | 'unicorn/require-number-to-fixed-digits-argument' | 'unicorn/string-content' | 'unicorn/switch-case-braces' | 'unicorn/template-indent' | 'unicorn/text-encoding-identifier-case' | 'unicorn/throw-new-error' | 'unused-imports/no-unused-imports' | 'unused-imports/no-unused-vars' | 'vitest/consistent-test-it' | 'vitest/consistent-vitest-vi' | 'vitest/no-alias-methods' | 'vitest/no-focused-tests' | 'vitest/no-identical-title' | 'vitest/no-import-node-test' | 'vitest/no-importing-vitest-globals' | 'vitest/no-interpolation-in-snapshots' | 'vitest/no-test-prefixes' | 'vitest/padding-around-after-all-blocks' | 'vitest/padding-around-after-each-blocks' | 'vitest/padding-around-all' | 'vitest/padding-around-before-all-blocks' | 'vitest/padding-around-before-each-blocks' | 'vitest/padding-around-describe-blocks' | 'vitest/padding-around-expect-groups' | 'vitest/padding-around-test-blocks' | 'vitest/prefer-called-exactly-once-with' | 'vitest/prefer-called-once' | 'vitest/prefer-called-times' | 'vitest/prefer-called-with' | 'vitest/prefer-comparison-matcher' | 'vitest/prefer-describe-function-title' | 'vitest/prefer-expect-resolves' | 'vitest/prefer-expect-type-of' | 'vitest/prefer-import-in-mock' | 'vitest/prefer-importing-vitest-globals' | 'vitest/prefer-lowercase-title' | 'vitest/prefer-mock-promise-shorthand' | 'vitest/prefer-spy-on' | 'vitest/prefer-strict-boolean-matchers' | 'vitest/prefer-to-be' | 'vitest/prefer-to-be-falsy' | 'vitest/prefer-to-be-object' | 'vitest/prefer-to-be-truthy' | 'vitest/prefer-to-contain' | 'vitest/prefer-to-have-length' | 'vitest/prefer-todo' | 'vitest/prefer-vi-mocked' | 'vitest/require-import-vi-mock' | 'vitest/require-mock-type-parameters' | 'vitest/valid-expect' | 'vitest/valid-title' | 'vue-scoped-css/no-deprecated-deep-combinator' | 'vue-scoped-css/require-v-deep-argument' | 'vue-scoped-css/v-deep-pseudo-style' | 'vue-scoped-css/v-global-pseudo-style' | 'vue-scoped-css/v-slotted-pseudo-style' | 'vue/array-bracket-newline' | 'vue/array-bracket-spacing' | 'vue/array-element-newline' | 'vue/arrow-spacing' | 'vue/attribute-hyphenation' | 'vue/attributes-order' | 'vue/block-order' | 'vue/block-spacing' | 'vue/block-tag-newline' | 'vue/brace-style' | 'vue/comma-dangle' | 'vue/comma-spacing' | 'vue/comma-style' | 'vue/component-definition-name-casing' | 'vue/component-name-in-template-casing' | 'vue/component-options-name-casing' | 'vue/define-macros-order' | 'vue/dot-location' | 'vue/dot-notation' | 'vue/eqeqeq' | 'vue/first-attribute-linebreak' | 'vue/func-call-spacing' | 'vue/html-closing-bracket-newline' | 'vue/html-closing-bracket-spacing' | 'vue/html-comment-content-newline' | 'vue/html-comment-content-spacing' | 'vue/html-comment-indent' | 'vue/html-end-tags' | 'vue/html-indent' | 'vue/html-quotes' | 'vue/html-self-closing' | 'vue/key-spacing' | 'vue/keyword-spacing' | 'vue/max-attributes-per-line' | 'vue/multiline-html-element-content-newline' | 'vue/multiline-ternary' | 'vue/mustache-interpolation-spacing' | 'vue/new-line-between-multi-line-property' | 'vue/next-tick-style' | 'vue/no-deprecated-data-object-declaration' | 'vue/no-deprecated-destroyed-lifecycle' | 'vue/no-deprecated-dollar-scopedslots-api' | 'vue/no-deprecated-scope-attribute' | 'vue/no-deprecated-slot-attribute' | 'vue/no-deprecated-slot-scope-attribute' | 'vue/no-deprecated-v-bind-sync' | 'vue/no-deprecated-v-on-number-modifiers' | 'vue/no-duplicate-class-names' | 'vue/no-empty-component-block' | 'vue/no-extra-parens' | 'vue/no-implicit-coercion' | 'vue/no-import-compiler-macros' | 'vue/no-multi-spaces' | 'vue/no-ref-as-operand' | 'vue/no-required-prop-with-default' | 'vue/no-shared-component-data' | 'vue/no-spaces-around-equal-signs-in-attribute' | 'vue/no-unsupported-features' | 'vue/no-useless-mustaches' | 'vue/no-useless-v-bind' | 'vue/object-curly-newline' | 'vue/object-curly-spacing' | 'vue/object-property-newline' | 'vue/object-shorthand' | 'vue/operator-linebreak' | 'vue/order-in-components' | 'vue/padding-line-between-blocks' | 'vue/padding-line-between-tags' | 'vue/padding-lines-in-component-definition' | 'vue/prefer-define-options' | 'vue/prefer-import-from-vue' | 'vue/prefer-separate-static-class' | 'vue/prefer-template' | 'vue/quote-props' | 'vue/require-prop-type-constructor' | 'vue/script-indent' | 'vue/singleline-html-element-content-newline' | 'vue/space-in-parens' | 'vue/space-infix-ops' | 'vue/space-unary-ops' | 'vue/static-class-names-order' | 'vue/template-curly-spacing' | 'vue/this-in-template' | 'vue/v-bind-style' | 'vue/v-for-delimiter-style' | 'vue/v-if-else-key' | 'vue/v-on-event-hyphenation' | 'vue/v-on-handler-style' | 'vue/v-on-style' | 'vue/v-slot-style' | 'vue/valid-next-tick' | 'wrap-iife' | 'wrap-regex' | 'yield-star-spacing' | 'yml/block-mapping' | 'yml/block-mapping-colon-indicator-newline' | 'yml/block-mapping-question-indicator-newline' | 'yml/block-sequence' | 'yml/block-sequence-hyphen-indicator-newline' | 'yml/flow-mapping-curly-newline' | 'yml/flow-mapping-curly-spacing' | 'yml/flow-sequence-bracket-newline' | 'yml/flow-sequence-bracket-spacing' | 'yml/indent' | 'yml/key-spacing' | 'yml/no-multiple-empty-lines' | 'yml/no-trailing-zeros' | 'yml/plain-scalar' | 'yml/quotes' | 'yml/sort-keys' | 'yml/sort-sequence-values' | 'yml/spaced-comment' | 'yoda' | 'zod/array-style' | 'zod/no-number-schema-with-int' | 'zod/no-optional-and-default-together' | 'zod/prefer-meta' | 'zod/prefer-meta-last' | 'zod/prefer-namespace-import' | 'zod/require-error-message';
|
|
2
|
+
type FixableRuleNames = '@angular-eslint/consistent-component-styles' | '@angular-eslint/no-input-rename' | '@angular-eslint/no-output-rename' | '@angular-eslint/prefer-signal-model' | '@angular-eslint/prefer-signals' | '@angular-eslint/sort-keys-in-type-decorator' | '@angular-eslint/template/attributes-order' | '@angular-eslint/template/banana-in-box' | '@angular-eslint/template/eqeqeq' | '@angular-eslint/template/i18n' | '@angular-eslint/template/no-autofocus' | '@angular-eslint/template/no-distracting-elements' | '@angular-eslint/template/no-interpolation-in-attributes' | '@angular-eslint/template/prefer-at-else' | '@angular-eslint/template/prefer-at-empty' | '@angular-eslint/template/prefer-contextual-for-variables' | '@angular-eslint/template/prefer-self-closing-tags' | '@angular-eslint/template/prefer-static-string-properties' | '@angular-eslint/template/prefer-template-literal' | '@angular-eslint/template/table-scope' | '@angular-eslint/use-lifecycle-interface' | '@angular-eslint/use-pipe-transform-interface' | '@cspell/spellchecker' | '@eslint-react/dom/no-hydrate' | '@eslint-react/dom/no-missing-iframe-sandbox' | '@eslint-react/dom/no-render' | '@eslint-react/dom/no-unknown-property' | '@eslint-react/dom/no-unsafe-target-blank' | '@eslint-react/dom/no-use-form-state' | '@eslint-react/dom/prefer-namespace-import' | '@eslint-react/jsx-dollar' | '@eslint-react/jsx-shorthand-boolean' | '@eslint-react/jsx-shorthand-fragment' | '@eslint-react/no-component-will-mount' | '@eslint-react/no-component-will-receive-props' | '@eslint-react/no-component-will-update' | '@eslint-react/no-context-provider' | '@eslint-react/no-forward-ref' | '@eslint-react/no-missing-context-display-name' | '@eslint-react/no-misused-capture-owner-stack' | '@eslint-react/no-string-refs' | '@eslint-react/no-use-context' | '@eslint-react/no-useless-fragment' | '@eslint-react/prefer-namespace-import' | '@html-eslint/attrs-newline' | '@html-eslint/element-newline' | '@html-eslint/indent' | '@html-eslint/lowercase' | '@html-eslint/no-duplicate-class' | '@html-eslint/no-extra-spacing-attrs' | '@html-eslint/no-extra-spacing-text' | '@html-eslint/no-multiple-empty-lines' | '@html-eslint/no-script-style-type' | '@html-eslint/no-trailing-spaces' | '@html-eslint/no-whitespace-only-children' | '@html-eslint/quotes' | '@html-eslint/require-attrs' | '@html-eslint/require-button-type' | '@html-eslint/require-closing-tags' | '@html-eslint/require-doctype' | '@html-eslint/sort-attrs' | '@intlify/vue-i18n/no-deprecated-i18n-component' | '@intlify/vue-i18n/no-deprecated-modulo-syntax' | '@intlify/vue-i18n/no-i18n-t-path-prop' | '@intlify/vue-i18n/no-unused-keys' | '@intlify/vue-i18n/prefer-linked-key-with-paren' | '@intlify/vue-i18n/prefer-sfc-lang-attr' | '@stylistic/array-bracket-newline' | '@stylistic/array-bracket-spacing' | '@stylistic/array-element-newline' | '@stylistic/arrow-parens' | '@stylistic/arrow-spacing' | '@stylistic/block-spacing' | '@stylistic/brace-style' | '@stylistic/comma-dangle' | '@stylistic/comma-spacing' | '@stylistic/comma-style' | '@stylistic/computed-property-spacing' | '@stylistic/curly-newline' | '@stylistic/dot-location' | '@stylistic/eol-last' | '@stylistic/exp-list-style' | '@stylistic/function-call-argument-newline' | '@stylistic/function-call-spacing' | '@stylistic/function-paren-newline' | '@stylistic/generator-star-spacing' | '@stylistic/implicit-arrow-linebreak' | '@stylistic/indent' | '@stylistic/indent-binary-ops' | '@stylistic/jsx-closing-bracket-location' | '@stylistic/jsx-closing-tag-location' | '@stylistic/jsx-curly-brace-presence' | '@stylistic/jsx-curly-newline' | '@stylistic/jsx-curly-spacing' | '@stylistic/jsx-equals-spacing' | '@stylistic/jsx-first-prop-new-line' | '@stylistic/jsx-function-call-newline' | '@stylistic/jsx-indent' | '@stylistic/jsx-indent-props' | '@stylistic/jsx-max-props-per-line' | '@stylistic/jsx-newline' | '@stylistic/jsx-one-expression-per-line' | '@stylistic/jsx-props-no-multi-spaces' | '@stylistic/jsx-quotes' | '@stylistic/jsx-self-closing-comp' | '@stylistic/jsx-sort-props' | '@stylistic/jsx-tag-spacing' | '@stylistic/jsx-wrap-multilines' | '@stylistic/key-spacing' | '@stylistic/keyword-spacing' | '@stylistic/linebreak-style' | '@stylistic/lines-around-comment' | '@stylistic/lines-between-class-members' | '@stylistic/member-delimiter-style' | '@stylistic/multiline-comment-style' | '@stylistic/multiline-ternary' | '@stylistic/new-parens' | '@stylistic/newline-per-chained-call' | '@stylistic/no-confusing-arrow' | '@stylistic/no-extra-parens' | '@stylistic/no-extra-semi' | '@stylistic/no-floating-decimal' | '@stylistic/no-multi-spaces' | '@stylistic/no-multiple-empty-lines' | '@stylistic/no-trailing-spaces' | '@stylistic/no-whitespace-before-property' | '@stylistic/nonblock-statement-body-position' | '@stylistic/object-curly-newline' | '@stylistic/object-curly-spacing' | '@stylistic/object-property-newline' | '@stylistic/one-var-declaration-per-line' | '@stylistic/operator-linebreak' | '@stylistic/padded-blocks' | '@stylistic/padding-line-between-statements' | '@stylistic/quote-props' | '@stylistic/quotes' | '@stylistic/rest-spread-spacing' | '@stylistic/semi' | '@stylistic/semi-spacing' | '@stylistic/semi-style' | '@stylistic/space-before-blocks' | '@stylistic/space-before-function-paren' | '@stylistic/space-in-parens' | '@stylistic/space-infix-ops' | '@stylistic/space-unary-ops' | '@stylistic/spaced-comment' | '@stylistic/switch-colon-spacing' | '@stylistic/template-curly-spacing' | '@stylistic/template-tag-spacing' | '@stylistic/type-annotation-spacing' | '@stylistic/type-generic-spacing' | '@stylistic/type-named-tuple-spacing' | '@stylistic/wrap-iife' | '@stylistic/wrap-regex' | '@stylistic/yield-star-spacing' | '@tanstack/query/exhaustive-deps' | '@tanstack/query/infinite-query-property-order' | '@tanstack/query/mutation-property-order' | '@tanstack/query/stable-query-client' | '@unocss/blocklist' | '@unocss/enforce-class-compile' | '@unocss/order' | '@unocss/order-attributify' | 'antfu/consistent-chaining' | 'antfu/consistent-list-newline' | 'antfu/curly' | 'antfu/if-newline' | 'antfu/import-dedupe' | 'antfu/indent-unindent' | 'antfu/top-level-function' | 'array-bracket-newline' | 'array-bracket-spacing' | 'array-element-newline' | 'arrow-body-style' | 'arrow-parens' | 'arrow-spacing' | 'astro/no-deprecated-astro-fetchcontent' | 'astro/no-set-text-directive' | 'astro/prefer-class-list-directive' | 'astro/prefer-object-class-list' | 'astro/prefer-split-class-list' | 'astro/semi' | 'astro/sort-attributes' | 'ava/assertion-arguments' | 'ava/hooks-order' | 'ava/no-incorrect-deep-equal' | 'ava/no-inline-assertions' | 'ava/no-only-test' | 'ava/no-skip-test' | 'ava/prefer-t-regex' | 'ava/use-t-throws-async-well' | 'ava/use-t-well' | 'better-tailwindcss/enforce-consistent-class-order' | 'better-tailwindcss/enforce-consistent-important-position' | 'better-tailwindcss/enforce-consistent-line-wrapping' | 'better-tailwindcss/enforce-consistent-variable-syntax' | 'better-tailwindcss/enforce-shorthand-classes' | 'better-tailwindcss/multiline' | 'better-tailwindcss/no-conflicting-classes' | 'better-tailwindcss/no-deprecated-classes' | 'better-tailwindcss/no-duplicate-classes' | 'better-tailwindcss/no-restricted-classes' | 'better-tailwindcss/no-unnecessary-whitespace' | 'better-tailwindcss/no-unregistered-classes' | 'better-tailwindcss/sort-classes' | 'block-spacing' | 'brace-style' | 'capitalized-comments' | 'case-police/string-check' | 'comma-dangle' | 'comma-spacing' | 'comma-style' | 'command/command' | 'computed-property-spacing' | 'css-in-js/color-hex-style' | 'css-in-js/named-color' | 'css-in-js/no-length-zero-unit' | 'css-in-js/no-number-trailing-zeros' | 'css-in-js/no-useless-color-alpha' | 'css-in-js/number-leading-zero' | 'css-in-js/prefer-reduce-shorthand-property-box-values' | 'css-in-js/property-casing' | 'css/no-duplicate-imports' | 'css/no-invalid-at-rules' | 'css/prefer-logical-properties' | 'curly' | 'de-morgan/no-negated-conjunction' | 'de-morgan/no-negated-disjunction' | 'dot-location' | 'dot-notation' | 'ember/no-array-prototype-extensions' | 'ember/no-assignment-of-untracked-properties-used-in-tracking-contexts' | 'ember/no-deprecated-router-transition-methods' | 'ember/no-duplicate-dependent-keys' | 'ember/no-ember-super-in-es-classes' | 'ember/no-get' | 'ember/no-get-with-default' | 'ember/no-implicit-injections' | 'ember/no-implicit-service-injection-argument' | 'ember/no-incorrect-computed-macros' | 'ember/no-invalid-dependent-keys' | 'ember/no-noop-setup-on-error-in-before' | 'ember/no-old-shims' | 'ember/no-restricted-property-modifications' | 'ember/no-settled-after-test-helper' | 'ember/no-unnecessary-route-path-option' | 'ember/no-unnecessary-service-injection-argument' | 'ember/order-in-components' | 'ember/order-in-controllers' | 'ember/order-in-models' | 'ember/order-in-routes' | 'ember/require-computed-macros' | 'ember/require-computed-property-dependencies' | 'ember/require-super-in-lifecycle-hooks' | 'ember/require-valid-css-selector-in-test-helpers' | 'ember/template-indent' | 'ember/use-ember-data-rfc-395-imports' | 'ember/use-ember-get-and-set' | 'eol-last' | 'eqeqeq' | 'es/no-arrow-functions' | 'es/no-date-prototype-togmtstring' | 'es/no-function-declarations-in-if-statement-clauses-without-block' | 'es/no-json-superset' | 'es/no-logical-assignment-operators' | 'es/no-numeric-separators' | 'es/no-property-shorthands' | 'es/no-string-prototype-trimleft-trimright' | 'es/no-template-literals' | 'es/no-trailing-dynamic-import-commas' | 'es/no-trailing-function-commas' | 'es/no-unicode-codepoint-escapes' | 'eslint-plugin/meta-property-ordering' | 'eslint-plugin/no-deprecated-context-methods' | 'eslint-plugin/no-deprecated-report-api' | 'eslint-plugin/no-identical-tests' | 'eslint-plugin/no-useless-token-range' | 'eslint-plugin/prefer-object-rule' | 'eslint-plugin/prefer-output-null' | 'eslint-plugin/require-meta-default-options' | 'eslint-plugin/require-meta-docs-url' | 'eslint-plugin/require-meta-has-suggestions' | 'eslint-plugin/test-case-property-ordering' | 'eslint-plugin/test-case-shorthand-strings' | 'expect-type/expect' | 'fast-import/consistent-file-extensions' | 'fast-import/require-node-prefix' | 'formatjs/blocklist-elements' | 'formatjs/enforce-default-message' | 'formatjs/enforce-description' | 'formatjs/enforce-id' | 'formatjs/enforce-plural-rules' | 'formatjs/no-camel-case' | 'formatjs/no-complex-selectors' | 'formatjs/no-emoji' | 'formatjs/no-id' | 'formatjs/no-invalid-icu' | 'formatjs/no-missing-icu-plural-one-placeholders' | 'formatjs/no-multiple-plurals' | 'formatjs/no-multiple-whitespaces' | 'formatjs/no-offset' | 'formatjs/no-useless-message' | 'formatjs/prefer-pound-in-plural' | 'func-call-spacing' | 'function-call-argument-newline' | 'function-paren-newline' | 'generator-star-spacing' | 'graphql/alphabetize' | 'header/header' | 'headers/header-format' | 'implicit-arrow-linebreak' | 'import-zod/prefer-zod-namespace' | 'import/consistent-type-specifier-style' | 'import/extensions' | 'import/first' | 'import/imports-first' | 'import/newline-after-import' | 'import/no-absolute-path' | 'import/no-duplicates' | 'import/no-empty-named-blocks' | 'import/no-import-module-exports' | 'import/no-namespace' | 'import/no-relative-packages' | 'import/no-useless-path-segments' | 'import/order' | 'import/prefer-namespace-import' | 'indent' | 'indent-legacy' | 'jest-dom/prefer-checked' | 'jest-dom/prefer-empty' | 'jest-dom/prefer-enabled-disabled' | 'jest-dom/prefer-focus' | 'jest-dom/prefer-in-document' | 'jest-dom/prefer-required' | 'jest-dom/prefer-to-have-attribute' | 'jest-dom/prefer-to-have-class' | 'jest-dom/prefer-to-have-style' | 'jest-dom/prefer-to-have-text-content' | 'jest-dom/prefer-to-have-value' | 'jest-extended/prefer-to-be-array' | 'jest-extended/prefer-to-be-false' | 'jest-extended/prefer-to-be-object' | 'jest-extended/prefer-to-be-true' | 'jest-extended/prefer-to-have-been-called-once' | 'jest/consistent-test-it' | 'jest/no-alias-methods' | 'jest/no-deprecated-functions' | 'jest/no-jasmine-globals' | 'jest/no-test-prefixes' | 'jest/no-untyped-mock-factory' | 'jest/padding-around-after-all-blocks' | 'jest/padding-around-after-each-blocks' | 'jest/padding-around-all' | 'jest/padding-around-before-all-blocks' | 'jest/padding-around-before-each-blocks' | 'jest/padding-around-describe-blocks' | 'jest/padding-around-expect-groups' | 'jest/padding-around-test-blocks' | 'jest/prefer-comparison-matcher' | 'jest/prefer-expect-resolves' | 'jest/prefer-importing-jest-globals' | 'jest/prefer-jest-mocked' | 'jest/prefer-lowercase-title' | 'jest/prefer-mock-promise-shorthand' | 'jest/prefer-spy-on' | 'jest/prefer-to-be' | 'jest/prefer-to-contain' | 'jest/prefer-to-have-length' | 'jest/prefer-todo' | 'jest/valid-expect' | 'jest/valid-title' | 'jsdoc/check-alignment' | 'jsdoc/check-line-alignment' | 'jsdoc/check-param-names' | 'jsdoc/check-property-names' | 'jsdoc/check-tag-names' | 'jsdoc/check-types' | 'jsdoc/convert-to-jsdoc-comments' | 'jsdoc/empty-tags' | 'jsdoc/escape-inline-tags' | 'jsdoc/lines-before-block' | 'jsdoc/match-name' | 'jsdoc/multiline-blocks' | 'jsdoc/no-bad-blocks' | 'jsdoc/no-blank-block-descriptions' | 'jsdoc/no-blank-blocks' | 'jsdoc/no-defaults' | 'jsdoc/no-multi-asterisks' | 'jsdoc/no-types' | 'jsdoc/prefer-import-tag' | 'jsdoc/require-asterisk-prefix' | 'jsdoc/require-description-complete-sentence' | 'jsdoc/require-example' | 'jsdoc/require-hyphen-before-param-description' | 'jsdoc/require-jsdoc' | 'jsdoc/require-param' | 'jsdoc/require-param-description' | 'jsdoc/require-param-type' | 'jsdoc/require-property' | 'jsdoc/require-returns' | 'jsdoc/sort-tags' | 'jsdoc/tag-lines' | 'jsdoc/text-escaping' | 'jsdoc/ts-method-signature-style' | 'jsdoc/ts-no-unnecessary-template-expression' | 'jsdoc/ts-prefer-function-type' | 'jsdoc/type-formatting' | 'jsonc/array-bracket-newline' | 'jsonc/array-bracket-spacing' | 'jsonc/array-element-newline' | 'jsonc/auto' | 'jsonc/comma-dangle' | 'jsonc/comma-style' | 'jsonc/indent' | 'jsonc/key-spacing' | 'jsonc/no-binary-expression' | 'jsonc/no-binary-numeric-literals' | 'jsonc/no-escape-sequence-in-identifier' | 'jsonc/no-floating-decimal' | 'jsonc/no-hexadecimal-numeric-literals' | 'jsonc/no-number-props' | 'jsonc/no-numeric-separators' | 'jsonc/no-octal-numeric-literals' | 'jsonc/no-parenthesized' | 'jsonc/no-plus-sign' | 'jsonc/no-template-literals' | 'jsonc/no-unicode-codepoint-escapes' | 'jsonc/object-curly-newline' | 'jsonc/object-curly-spacing' | 'jsonc/object-property-newline' | 'jsonc/quote-props' | 'jsonc/quotes' | 'jsonc/sort-array-values' | 'jsonc/sort-keys' | 'jsonc/space-unary-ops' | 'jsonc/valid-json-number' | 'jsx-quotes' | 'key-spacing' | 'keyword-spacing' | 'linebreak-style' | 'lines-around-comment' | 'lines-around-directive' | 'lines-between-class-members' | 'lit/no-invalid-escape-sequences' | 'lit/no-legacy-imports' | 'lit/no-value-attribute' | 'lit/quoted-expressions' | 'logical-assignment-operators' | 'markdown-preferences/atx-heading-closing-sequence' | 'markdown-preferences/atx-heading-closing-sequence-length' | 'markdown-preferences/blockquote-marker-alignment' | 'markdown-preferences/bullet-list-marker-style' | 'markdown-preferences/canonical-code-block-language' | 'markdown-preferences/code-fence-length' | 'markdown-preferences/code-fence-spacing' | 'markdown-preferences/code-fence-style' | 'markdown-preferences/custom-container-marker-spacing' | 'markdown-preferences/definitions-last' | 'markdown-preferences/emoji-notation' | 'markdown-preferences/emphasis-delimiters-style' | 'markdown-preferences/hard-linebreak-style' | 'markdown-preferences/heading-casing' | 'markdown-preferences/indent' | 'markdown-preferences/level1-heading-style' | 'markdown-preferences/level2-heading-style' | 'markdown-preferences/link-bracket-newline' | 'markdown-preferences/link-bracket-spacing' | 'markdown-preferences/link-destination-style' | 'markdown-preferences/link-paren-newline' | 'markdown-preferences/link-paren-spacing' | 'markdown-preferences/link-title-style' | 'markdown-preferences/list-marker-alignment' | 'markdown-preferences/no-implicit-block-closing' | 'markdown-preferences/no-multi-spaces' | 'markdown-preferences/no-multiple-empty-lines' | 'markdown-preferences/no-tabs' | 'markdown-preferences/no-trailing-spaces' | 'markdown-preferences/ordered-list-marker-sequence' | 'markdown-preferences/ordered-list-marker-start' | 'markdown-preferences/ordered-list-marker-style' | 'markdown-preferences/padded-custom-containers' | 'markdown-preferences/padding-line-between-blocks' | 'markdown-preferences/prefer-autolinks' | 'markdown-preferences/prefer-fenced-code-blocks' | 'markdown-preferences/prefer-inline-code-words' | 'markdown-preferences/prefer-link-reference-definitions' | 'markdown-preferences/prefer-linked-words' | 'markdown-preferences/setext-heading-underline-length' | 'markdown-preferences/sort-definitions' | 'markdown-preferences/strikethrough-delimiters-style' | 'markdown-preferences/table-header-casing' | 'markdown-preferences/table-leading-trailing-pipes' | 'markdown-preferences/table-pipe-alignment' | 'markdown-preferences/table-pipe-spacing' | 'markdown-preferences/thematic-break-character-style' | 'markdown-preferences/thematic-break-length' | 'markdown-preferences/thematic-break-sequence-pattern' | 'markdown/no-bare-urls' | 'markdown/no-missing-atx-heading-space' | 'markdown/no-reference-like-urls' | 'markdown/no-reversed-media-syntax' | 'markdown/no-space-in-emphasis' | 'math/abs' | 'math/prefer-exponentiation-operator' | 'math/prefer-math-cbrt' | 'math/prefer-math-e' | 'math/prefer-math-hypot' | 'math/prefer-math-ln10' | 'math/prefer-math-ln2' | 'math/prefer-math-log10' | 'math/prefer-math-log10e' | 'math/prefer-math-log2' | 'math/prefer-math-log2e' | 'math/prefer-math-pi' | 'math/prefer-math-sqrt' | 'math/prefer-math-sqrt1-2' | 'math/prefer-math-sqrt2' | 'math/prefer-math-sum-precise' | 'math/prefer-math-trunc' | 'math/prefer-number-epsilon' | 'math/prefer-number-is-finite' | 'math/prefer-number-is-integer' | 'math/prefer-number-is-nan' | 'math/prefer-number-is-safe-integer' | 'math/prefer-number-max-safe-integer' | 'math/prefer-number-max-value' | 'math/prefer-number-min-safe-integer' | 'math/prefer-number-min-value' | 'mdx/remark' | 'mocha/consistent-spacing-between-blocks' | 'mocha/no-async-suite' | 'mocha/no-mocha-arrows' | 'mocha/prefer-arrow-callback' | 'multiline-comment-style' | 'multiline-ternary' | 'nestjs/sort-module-metadata-arrays' | 'new-parens' | 'newline-after-var' | 'newline-before-return' | 'newline-per-chained-call' | 'no-array-constructor' | 'no-confusing-arrow' | 'no-div-regex' | 'no-else-return' | 'no-extra-bind' | 'no-extra-boolean-cast' | 'no-extra-label' | 'no-extra-parens' | 'no-extra-semi' | 'no-floating-decimal' | 'no-implicit-coercion' | 'no-lonely-if' | 'no-multi-spaces' | 'no-multiple-empty-lines' | 'no-only-tests/no-only-tests' | 'no-regex-spaces' | 'no-spaced-func' | 'no-trailing-spaces' | 'no-undef-init' | 'no-unneeded-ternary' | 'no-unused-labels' | 'no-useless-computed-key' | 'no-useless-rename' | 'no-useless-return' | 'no-var' | 'no-whitespace-before-property' | 'node-dependencies/prefer-caret-range-version' | 'node-dependencies/prefer-tilde-range-version' | 'node/exports-style' | 'node/file-extension-in-import' | 'node/hashbang' | 'node/prefer-node-protocol' | 'node/shebang' | 'nonblock-statement-body-position' | 'nuxt/nuxt-config-keys-order' | 'nuxt/prefer-import-meta' | 'nx/dependency-checks' | 'nx/enforce-module-boundaries' | 'object-curly-newline' | 'object-curly-spacing' | 'object-property-newline' | 'object-shorthand' | 'one-var' | 'one-var-declaration-per-line' | 'operator-assignment' | 'operator-linebreak' | 'package-json/exports-subpaths-style' | 'package-json/order-properties' | 'package-json/repository-shorthand' | 'package-json/restrict-private-properties' | 'package-json/sort-collections' | 'padded-blocks' | 'padding-line-between-statements' | 'perfectionist/sort-array-includes' | 'perfectionist/sort-classes' | 'perfectionist/sort-decorators' | 'perfectionist/sort-enums' | 'perfectionist/sort-exports' | 'perfectionist/sort-heritage-clauses' | 'perfectionist/sort-imports' | 'perfectionist/sort-interfaces' | 'perfectionist/sort-intersection-types' | 'perfectionist/sort-jsx-props' | 'perfectionist/sort-maps' | 'perfectionist/sort-modules' | 'perfectionist/sort-named-exports' | 'perfectionist/sort-named-imports' | 'perfectionist/sort-object-types' | 'perfectionist/sort-objects' | 'perfectionist/sort-sets' | 'perfectionist/sort-switch-case' | 'perfectionist/sort-union-types' | 'perfectionist/sort-variable-declarations' | 'playwright/missing-playwright-await' | 'playwright/no-standalone-expect' | 'playwright/no-unsafe-references' | 'playwright/no-useless-await' | 'playwright/no-useless-not' | 'playwright/prefer-comparison-matcher' | 'playwright/prefer-lowercase-title' | 'playwright/prefer-native-locators' | 'playwright/prefer-strict-equal' | 'playwright/prefer-to-be' | 'playwright/prefer-to-contain' | 'playwright/prefer-to-have-count' | 'playwright/prefer-to-have-length' | 'playwright/prefer-web-first-assertions' | 'playwright/require-soft-assertions' | 'playwright/valid-title' | 'pnpm/json-enforce-catalog' | 'pnpm/json-prefer-workspace-settings' | 'pnpm/json-valid-catalog' | 'pnpm/yaml-enforce-settings' | 'pnpm/yaml-no-duplicate-catalog-item' | 'pnpm/yaml-no-unused-catalog-item' | 'prefer-arrow-callback' | 'prefer-arrow-functions/prefer-arrow-functions' | 'prefer-const' | 'prefer-destructuring' | 'prefer-exponentiation-operator' | 'prefer-numeric-literals' | 'prefer-object-has-own' | 'prefer-object-spread' | 'prefer-template' | 'prettier/prettier' | 'promise/no-new-statics' | 'promise/prefer-catch' | 'qunit/literal-compare-order' | 'qunit/no-arrow-tests' | 'qunit/no-assert-equal-boolean' | 'qunit/no-compare-relation-boolean' | 'qunit/no-negated-ok' | 'qunit/no-ok-equality' | 'qunit/no-setup-teardown' | 'quote-props' | 'quotes' | 'qwik/jsx-a' | 'qwik/jsx-img' | 'qwik/no-react-props' | 'qwik/prefer-classlist' | 'react-hooks/automatic-effect-dependencies' | 'react-hooks/capitalized-calls' | 'react-hooks/component-hook-factories' | 'react-hooks/config' | 'react-hooks/error-boundaries' | 'react-hooks/exhaustive-deps' | 'react-hooks/fbt' | 'react-hooks/fire' | 'react-hooks/gating' | 'react-hooks/globals' | 'react-hooks/hooks' | 'react-hooks/immutability' | 'react-hooks/incompatible-library' | 'react-hooks/invariant' | 'react-hooks/memoized-effect-dependencies' | 'react-hooks/no-deriving-state-in-effects' | 'react-hooks/preserve-manual-memoization' | 'react-hooks/purity' | 'react-hooks/refs' | 'react-hooks/rule-suppression' | 'react-hooks/set-state-in-effect' | 'react-hooks/set-state-in-render' | 'react-hooks/static-components' | 'react-hooks/syntax' | 'react-hooks/todo' | 'react-hooks/unsupported-syntax' | 'react-hooks/use-memo' | 'react-hooks/void-use-memo' | 'react/destructuring-assignment' | 'react/function-component-definition' | 'react/jsx-boolean-value' | 'react/jsx-closing-bracket-location' | 'react/jsx-closing-tag-location' | 'react/jsx-curly-brace-presence' | 'react/jsx-curly-newline' | 'react/jsx-curly-spacing' | 'react/jsx-equals-spacing' | 'react/jsx-first-prop-new-line' | 'react/jsx-fragments' | 'react/jsx-indent' | 'react/jsx-indent-props' | 'react/jsx-max-props-per-line' | 'react/jsx-newline' | 'react/jsx-no-leaked-render' | 'react/jsx-no-target-blank' | 'react/jsx-no-useless-fragment' | 'react/jsx-one-expression-per-line' | 'react/jsx-props-no-multi-spaces' | 'react/jsx-sort-props' | 'react/jsx-space-before-closing' | 'react/jsx-tag-spacing' | 'react/jsx-wrap-multilines' | 'react/no-arrow-function-lifecycle' | 'react/no-unknown-property' | 'react/prefer-read-only-props' | 'react/self-closing-comp' | 'react/sort-prop-types' | 'regexp/control-character-escape' | 'regexp/hexadecimal-escape' | 'regexp/letter-case' | 'regexp/match-any' | 'regexp/negation' | 'regexp/no-dupe-characters-character-class' | 'regexp/no-extra-lookaround-assertions' | 'regexp/no-invisible-character' | 'regexp/no-misleading-unicode-character' | 'regexp/no-missing-g-flag' | 'regexp/no-super-linear-backtracking' | 'regexp/no-trivially-nested-assertion' | 'regexp/no-trivially-nested-quantifier' | 'regexp/no-unused-capturing-group' | 'regexp/no-useless-character-class' | 'regexp/no-useless-escape' | 'regexp/no-useless-flag' | 'regexp/no-useless-lazy' | 'regexp/no-useless-non-capturing-group' | 'regexp/no-useless-quantifier' | 'regexp/no-useless-range' | 'regexp/no-useless-set-operand' | 'regexp/no-useless-string-literal' | 'regexp/no-useless-two-nums-quantifier' | 'regexp/optimal-quantifier-concatenation' | 'regexp/prefer-character-class' | 'regexp/prefer-d' | 'regexp/prefer-lookaround' | 'regexp/prefer-named-backreference' | 'regexp/prefer-named-replacement' | 'regexp/prefer-plus-quantifier' | 'regexp/prefer-predefined-assertion' | 'regexp/prefer-quantifier' | 'regexp/prefer-question-quantifier' | 'regexp/prefer-range' | 'regexp/prefer-regexp-test' | 'regexp/prefer-result-array-groups' | 'regexp/prefer-set-operation' | 'regexp/prefer-star-quantifier' | 'regexp/prefer-unicode-codepoint-escapes' | 'regexp/prefer-w' | 'regexp/require-unicode-regexp' | 'regexp/require-unicode-sets-regexp' | 'regexp/simplify-set-operations' | 'regexp/sort-alternatives' | 'regexp/sort-character-class-elements' | 'regexp/sort-flags' | 'regexp/strict' | 'regexp/unicode-escape' | 'regexp/unicode-property' | 'regexp/use-ignore-case' | 'rest-spread-spacing' | 'rxjs/just' | 'rxjs/macro' | 'rxjs/no-implicit-any-catch' | 'rxjs/no-internal' | 'rxjs/prefer-observer' | 'semi' | 'semi-spacing' | 'semi-style' | 'sentences-per-line/one' | 'solid/components-return-once' | 'solid/event-handlers' | 'solid/imports' | 'solid/jsx-no-undef' | 'solid/no-destructure' | 'solid/no-innerhtml' | 'solid/no-react-deps' | 'solid/no-react-specific-props' | 'solid/prefer-classlist' | 'solid/prefer-for' | 'solid/prefer-show' | 'solid/self-closing-comp' | 'solid/style-prop' | 'sonarjs/enforce-trailing-comma' | 'sonarjs/no-inverted-boolean-check' | 'sonarjs/prefer-immediate-return' | 'sonarjs/prefer-while' | 'sort-imports' | 'sort-vars' | 'space-before-blocks' | 'space-before-function-paren' | 'space-in-parens' | 'space-infix-ops' | 'space-unary-ops' | 'spaced-comment' | 'storybook/await-interactions' | 'storybook/default-exports' | 'storybook/hierarchy-separator' | 'storybook/meta-satisfies-type' | 'storybook/no-redundant-story-name' | 'storybook/no-title-property-in-meta' | 'storybook/prefer-pascal-case' | 'storybook/use-storybook-expect' | 'storybook/use-storybook-testing-library' | 'strict' | 'svelte/@typescript-eslint/no-unnecessary-condition' | 'svelte/first-attribute-linebreak' | 'svelte/html-closing-bracket-new-line' | 'svelte/html-closing-bracket-spacing' | 'svelte/html-quotes' | 'svelte/html-self-closing' | 'svelte/indent' | 'svelte/max-attributes-per-line' | 'svelte/mustache-spacing' | 'svelte/no-dynamic-slot-name' | 'svelte/no-raw-special-elements' | 'svelte/no-spaces-around-equal-signs-in-attribute' | 'svelte/no-trailing-spaces' | 'svelte/no-useless-mustaches' | 'svelte/prefer-class-directive' | 'svelte/prefer-const' | 'svelte/prefer-style-directive' | 'svelte/require-store-reactive-access' | 'svelte/shorthand-attribute' | 'svelte/shorthand-directive' | 'svelte/sort-attributes' | 'svelte/spaced-html-comment' | 'switch-colon-spacing' | 'tailwindcss/classnames-order' | 'tailwindcss/enforces-shorthand' | 'tailwindcss/migration-from-tailwind-2' | 'tailwindcss/no-unnecessary-arbitrary-value' | 'template-curly-spacing' | 'template-tag-spacing' | 'testing-library/await-async-events' | 'testing-library/await-async-queries' | 'testing-library/await-async-utils' | 'testing-library/no-await-sync-queries' | 'testing-library/no-dom-import' | 'testing-library/no-global-regexp-flag-in-query' | 'testing-library/no-wait-for-multiple-assertions' | 'testing-library/no-wait-for-side-effects' | 'testing-library/prefer-find-by' | 'testing-library/prefer-presence-queries' | 'toml/array-bracket-newline' | 'toml/array-bracket-spacing' | 'toml/array-element-newline' | 'toml/comma-style' | 'toml/indent' | 'toml/inline-table-curly-spacing' | 'toml/key-spacing' | 'toml/keys-order' | 'toml/no-non-decimal-integer' | 'toml/no-space-dots' | 'toml/padding-line-between-pairs' | 'toml/padding-line-between-tables' | 'toml/quoted-keys' | 'toml/space-eq-sign' | 'toml/spaced-comment' | 'toml/table-bracket-spacing' | 'toml/tables-order' | 'ts/array-type' | 'ts/ban-tslint-comment' | 'ts/consistent-generic-constructors' | 'ts/consistent-indexed-object-style' | 'ts/consistent-type-assertions' | 'ts/consistent-type-definitions' | 'ts/consistent-type-exports' | 'ts/consistent-type-imports' | 'ts/dot-notation' | 'ts/explicit-member-accessibility' | 'ts/method-signature-style' | 'ts/no-array-constructor' | 'ts/no-confusing-void-expression' | 'ts/no-duplicate-type-constituents' | 'ts/no-dynamic-delete' | 'ts/no-empty-interface' | 'ts/no-explicit-any' | 'ts/no-extra-non-null-assertion' | 'ts/no-import-type-side-effects' | 'ts/no-inferrable-types' | 'ts/no-meaningless-void-operator' | 'ts/no-restricted-types' | 'ts/no-unnecessary-boolean-literal-compare' | 'ts/no-unnecessary-qualifier' | 'ts/no-unnecessary-template-expression' | 'ts/no-unnecessary-type-arguments' | 'ts/no-unnecessary-type-assertion' | 'ts/no-useless-empty-export' | 'ts/no-wrapper-object-types' | 'ts/non-nullable-type-assertion-style' | 'ts/prefer-as-const' | 'ts/prefer-destructuring' | 'ts/prefer-function-type' | 'ts/prefer-includes' | 'ts/prefer-namespace-keyword' | 'ts/prefer-optional-chain' | 'ts/prefer-readonly' | 'ts/prefer-reduce-type-parameter' | 'ts/prefer-regexp-exec' | 'ts/prefer-return-this-type' | 'ts/prefer-string-starts-ends-with' | 'ts/prefer-ts-expect-error' | 'ts/promise-function-async' | 'ts/return-await' | 'ts/sort-type-constituents' | 'un/no-multiple-consecutive-spaces' | 'un/no-typeof-like-comparisons' | 'un/prefer-early-return' | 'unicode-bom' | 'unicorn/better-regex' | 'unicorn/catch-error-name' | 'unicorn/consistent-assert' | 'unicorn/consistent-date-clone' | 'unicorn/consistent-empty-array-spread' | 'unicorn/consistent-existence-index-check' | 'unicorn/custom-error-definition' | 'unicorn/empty-brace-spaces' | 'unicorn/escape-case' | 'unicorn/explicit-length-check' | 'unicorn/new-for-builtins' | 'unicorn/no-array-for-each' | 'unicorn/no-array-method-this-argument' | 'unicorn/no-await-expression-member' | 'unicorn/no-console-spaces' | 'unicorn/no-for-loop' | 'unicorn/no-hex-escape' | 'unicorn/no-immediate-mutation' | 'unicorn/no-instanceof-builtins' | 'unicorn/no-lonely-if' | 'unicorn/no-named-default' | 'unicorn/no-negated-condition' | 'unicorn/no-nested-ternary' | 'unicorn/no-new-array' | 'unicorn/no-new-buffer' | 'unicorn/no-null' | 'unicorn/no-single-promise-in-promise-methods' | 'unicorn/no-static-only-class' | 'unicorn/no-typeof-undefined' | 'unicorn/no-unnecessary-array-flat-depth' | 'unicorn/no-unnecessary-array-splice-count' | 'unicorn/no-unnecessary-await' | 'unicorn/no-unnecessary-slice-end' | 'unicorn/no-unreadable-array-destructuring' | 'unicorn/no-useless-collection-argument' | 'unicorn/no-useless-error-capture-stack-trace' | 'unicorn/no-useless-fallback-in-spread' | 'unicorn/no-useless-length-check' | 'unicorn/no-useless-promise-resolve-reject' | 'unicorn/no-useless-spread' | 'unicorn/no-useless-undefined' | 'unicorn/no-zero-fractions' | 'unicorn/number-literal-case' | 'unicorn/numeric-separators-style' | 'unicorn/prefer-add-event-listener' | 'unicorn/prefer-array-find' | 'unicorn/prefer-array-flat' | 'unicorn/prefer-array-flat-map' | 'unicorn/prefer-array-index-of' | 'unicorn/prefer-array-some' | 'unicorn/prefer-at' | 'unicorn/prefer-bigint-literals' | 'unicorn/prefer-class-fields' | 'unicorn/prefer-classlist-toggle' | 'unicorn/prefer-date-now' | 'unicorn/prefer-dom-node-append' | 'unicorn/prefer-dom-node-dataset' | 'unicorn/prefer-dom-node-remove' | 'unicorn/prefer-export-from' | 'unicorn/prefer-global-this' | 'unicorn/prefer-import-meta-properties' | 'unicorn/prefer-includes' | 'unicorn/prefer-json-parse-buffer' | 'unicorn/prefer-keyboard-event-key' | 'unicorn/prefer-math-min-max' | 'unicorn/prefer-math-trunc' | 'unicorn/prefer-modern-dom-apis' | 'unicorn/prefer-modern-math-apis' | 'unicorn/prefer-module' | 'unicorn/prefer-native-coercion-functions' | 'unicorn/prefer-negative-index' | 'unicorn/prefer-node-protocol' | 'unicorn/prefer-number-properties' | 'unicorn/prefer-object-from-entries' | 'unicorn/prefer-optional-catch-binding' | 'unicorn/prefer-prototype-methods' | 'unicorn/prefer-query-selector' | 'unicorn/prefer-reflect-apply' | 'unicorn/prefer-regexp-test' | 'unicorn/prefer-response-static-json' | 'unicorn/prefer-set-has' | 'unicorn/prefer-set-size' | 'unicorn/prefer-single-call' | 'unicorn/prefer-spread' | 'unicorn/prefer-string-raw' | 'unicorn/prefer-string-replace-all' | 'unicorn/prefer-string-slice' | 'unicorn/prefer-string-starts-ends-with' | 'unicorn/prefer-string-trim-start-end' | 'unicorn/prefer-switch' | 'unicorn/prefer-ternary' | 'unicorn/prefer-type-error' | 'unicorn/prevent-abbreviations' | 'unicorn/relative-url-style' | 'unicorn/require-array-join-separator' | 'unicorn/require-module-attributes' | 'unicorn/require-module-specifiers' | 'unicorn/require-number-to-fixed-digits-argument' | 'unicorn/string-content' | 'unicorn/switch-case-braces' | 'unicorn/template-indent' | 'unicorn/text-encoding-identifier-case' | 'unicorn/throw-new-error' | 'unused-imports/no-unused-imports' | 'unused-imports/no-unused-vars' | 'vitest/consistent-test-it' | 'vitest/consistent-vitest-vi' | 'vitest/no-alias-methods' | 'vitest/no-focused-tests' | 'vitest/no-identical-title' | 'vitest/no-import-node-test' | 'vitest/no-importing-vitest-globals' | 'vitest/no-interpolation-in-snapshots' | 'vitest/no-test-prefixes' | 'vitest/padding-around-after-all-blocks' | 'vitest/padding-around-after-each-blocks' | 'vitest/padding-around-all' | 'vitest/padding-around-before-all-blocks' | 'vitest/padding-around-before-each-blocks' | 'vitest/padding-around-describe-blocks' | 'vitest/padding-around-expect-groups' | 'vitest/padding-around-test-blocks' | 'vitest/prefer-called-exactly-once-with' | 'vitest/prefer-called-once' | 'vitest/prefer-called-times' | 'vitest/prefer-called-with' | 'vitest/prefer-comparison-matcher' | 'vitest/prefer-describe-function-title' | 'vitest/prefer-expect-resolves' | 'vitest/prefer-expect-type-of' | 'vitest/prefer-import-in-mock' | 'vitest/prefer-importing-vitest-globals' | 'vitest/prefer-lowercase-title' | 'vitest/prefer-mock-promise-shorthand' | 'vitest/prefer-spy-on' | 'vitest/prefer-strict-boolean-matchers' | 'vitest/prefer-to-be' | 'vitest/prefer-to-be-falsy' | 'vitest/prefer-to-be-object' | 'vitest/prefer-to-be-truthy' | 'vitest/prefer-to-contain' | 'vitest/prefer-to-have-length' | 'vitest/prefer-todo' | 'vitest/prefer-vi-mocked' | 'vitest/require-import-vi-mock' | 'vitest/require-mock-type-parameters' | 'vitest/valid-expect' | 'vitest/valid-title' | 'vue-scoped-css/no-deprecated-deep-combinator' | 'vue-scoped-css/require-v-deep-argument' | 'vue-scoped-css/v-deep-pseudo-style' | 'vue-scoped-css/v-global-pseudo-style' | 'vue-scoped-css/v-slotted-pseudo-style' | 'vue/array-bracket-newline' | 'vue/array-bracket-spacing' | 'vue/array-element-newline' | 'vue/arrow-spacing' | 'vue/attribute-hyphenation' | 'vue/attributes-order' | 'vue/block-order' | 'vue/block-spacing' | 'vue/block-tag-newline' | 'vue/brace-style' | 'vue/comma-dangle' | 'vue/comma-spacing' | 'vue/comma-style' | 'vue/component-definition-name-casing' | 'vue/component-name-in-template-casing' | 'vue/component-options-name-casing' | 'vue/define-macros-order' | 'vue/dot-location' | 'vue/dot-notation' | 'vue/eqeqeq' | 'vue/first-attribute-linebreak' | 'vue/func-call-spacing' | 'vue/html-closing-bracket-newline' | 'vue/html-closing-bracket-spacing' | 'vue/html-comment-content-newline' | 'vue/html-comment-content-spacing' | 'vue/html-comment-indent' | 'vue/html-end-tags' | 'vue/html-indent' | 'vue/html-quotes' | 'vue/html-self-closing' | 'vue/key-spacing' | 'vue/keyword-spacing' | 'vue/max-attributes-per-line' | 'vue/multiline-html-element-content-newline' | 'vue/multiline-ternary' | 'vue/mustache-interpolation-spacing' | 'vue/new-line-between-multi-line-property' | 'vue/next-tick-style' | 'vue/no-deprecated-data-object-declaration' | 'vue/no-deprecated-destroyed-lifecycle' | 'vue/no-deprecated-dollar-scopedslots-api' | 'vue/no-deprecated-scope-attribute' | 'vue/no-deprecated-slot-attribute' | 'vue/no-deprecated-slot-scope-attribute' | 'vue/no-deprecated-v-bind-sync' | 'vue/no-deprecated-v-on-number-modifiers' | 'vue/no-duplicate-class-names' | 'vue/no-empty-component-block' | 'vue/no-extra-parens' | 'vue/no-implicit-coercion' | 'vue/no-import-compiler-macros' | 'vue/no-multi-spaces' | 'vue/no-ref-as-operand' | 'vue/no-required-prop-with-default' | 'vue/no-shared-component-data' | 'vue/no-spaces-around-equal-signs-in-attribute' | 'vue/no-unsupported-features' | 'vue/no-useless-mustaches' | 'vue/no-useless-v-bind' | 'vue/object-curly-newline' | 'vue/object-curly-spacing' | 'vue/object-property-newline' | 'vue/object-shorthand' | 'vue/operator-linebreak' | 'vue/order-in-components' | 'vue/padding-line-between-blocks' | 'vue/padding-line-between-tags' | 'vue/padding-lines-in-component-definition' | 'vue/prefer-define-options' | 'vue/prefer-import-from-vue' | 'vue/prefer-separate-static-class' | 'vue/prefer-template' | 'vue/quote-props' | 'vue/require-prop-type-constructor' | 'vue/script-indent' | 'vue/singleline-html-element-content-newline' | 'vue/space-in-parens' | 'vue/space-infix-ops' | 'vue/space-unary-ops' | 'vue/static-class-names-order' | 'vue/template-curly-spacing' | 'vue/this-in-template' | 'vue/v-bind-style' | 'vue/v-for-delimiter-style' | 'vue/v-if-else-key' | 'vue/v-on-event-hyphenation' | 'vue/v-on-handler-style' | 'vue/v-on-style' | 'vue/v-slot-style' | 'vue/valid-next-tick' | 'wrap-iife' | 'wrap-regex' | 'yield-star-spacing' | 'yml/block-mapping' | 'yml/block-mapping-colon-indicator-newline' | 'yml/block-mapping-question-indicator-newline' | 'yml/block-sequence' | 'yml/block-sequence-hyphen-indicator-newline' | 'yml/flow-mapping-curly-newline' | 'yml/flow-mapping-curly-spacing' | 'yml/flow-sequence-bracket-newline' | 'yml/flow-sequence-bracket-spacing' | 'yml/indent' | 'yml/key-spacing' | 'yml/no-multiple-empty-lines' | 'yml/no-trailing-zeros' | 'yml/plain-scalar' | 'yml/quotes' | 'yml/sort-keys' | 'yml/sort-sequence-values' | 'yml/spaced-comment' | 'yoda' | 'zod/array-style' | 'zod/no-number-schema-with-int' | 'zod/no-optional-and-default-together' | 'zod/prefer-meta' | 'zod/prefer-meta-last' | 'zod/prefer-namespace-import' | 'zod/require-error-message';
|
|
3
3
|
//#endregion
|
|
4
4
|
export { FixableRuleNames };
|
|
@@ -1534,6 +1534,11 @@ interface PluginHtmlEslint {
|
|
|
1534
1534
|
* @see https://html-eslint.org/docs/rules/no-trailing-spaces
|
|
1535
1535
|
*/
|
|
1536
1536
|
'no-trailing-spaces': [];
|
|
1537
|
+
/**
|
|
1538
|
+
* Disallow tags with only whitespace children.
|
|
1539
|
+
* @see https://html-eslint.org/docs/rules/no-whitespace-only-children
|
|
1540
|
+
*/
|
|
1541
|
+
'no-whitespace-only-children': HtmlEslintNoWhitespaceOnlyChildren;
|
|
1537
1542
|
/**
|
|
1538
1543
|
* Prefer to use HTTPS for embedded resources
|
|
1539
1544
|
* @see https://html-eslint.org/docs/rules/prefer-https
|
|
@@ -1696,6 +1701,10 @@ type HtmlEslintNoRestrictedTags = {
|
|
|
1696
1701
|
tagPatterns: string[];
|
|
1697
1702
|
message?: string;
|
|
1698
1703
|
}[];
|
|
1704
|
+
// ----- @html-eslint/no-whitespace-only-children -----
|
|
1705
|
+
type HtmlEslintNoWhitespaceOnlyChildren = [] | [{
|
|
1706
|
+
tagPatterns?: string[];
|
|
1707
|
+
}];
|
|
1699
1708
|
// ----- @html-eslint/quotes -----
|
|
1700
1709
|
type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
1701
1710
|
enforceTemplatedAttrValue?: boolean;
|
|
@@ -4348,7 +4357,7 @@ interface PluginBetterTailwindcss {
|
|
|
4348
4357
|
'enforce-consistent-important-position': BetterTailwindcssEnforceConsistentImportantPosition;
|
|
4349
4358
|
/**
|
|
4350
4359
|
* Enforce consistent line wrapping for tailwind classes.
|
|
4351
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
4360
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
4352
4361
|
*/
|
|
4353
4362
|
'enforce-consistent-line-wrapping': BetterTailwindcssEnforceConsistentLineWrapping;
|
|
4354
4363
|
/**
|
|
@@ -4363,7 +4372,7 @@ interface PluginBetterTailwindcss {
|
|
|
4363
4372
|
'enforce-shorthand-classes': BetterTailwindcssEnforceShorthandClasses;
|
|
4364
4373
|
/**
|
|
4365
4374
|
* Enforce consistent line wrapping for tailwind classes.
|
|
4366
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
4375
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
4367
4376
|
* @deprecated
|
|
4368
4377
|
*/
|
|
4369
4378
|
'multiline': BetterTailwindcssMultiline;
|
|
@@ -15509,6 +15518,11 @@ type NodeDependenciesValidEngines = [] | [{
|
|
|
15509
15518
|
comparisonType?: ("normal" | "major");
|
|
15510
15519
|
}];
|
|
15511
15520
|
interface PluginNuxt {
|
|
15521
|
+
/**
|
|
15522
|
+
* Disallow setting `test` key in Nuxt config
|
|
15523
|
+
* @see https://eslint.nuxt.com/packages/plugin#nuxtno-nuxt-config-test-key
|
|
15524
|
+
*/
|
|
15525
|
+
'no-nuxt-config-test-key': [];
|
|
15512
15526
|
/**
|
|
15513
15527
|
* Prefer recommended order of Nuxt config properties
|
|
15514
15528
|
* @see https://eslint.nuxt.com/packages/plugin#nuxtnuxt-config-keys-order
|
|
@@ -18297,7 +18311,6 @@ type PnpmYamlEnforceSettings = [] | [{
|
|
|
18297
18311
|
};
|
|
18298
18312
|
requiredFields?: string[];
|
|
18299
18313
|
forbiddenFields?: string[];
|
|
18300
|
-
[k: string]: unknown | undefined;
|
|
18301
18314
|
}];
|
|
18302
18315
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
18303
18316
|
type PnpmYamlNoDuplicateCatalogItem = [] | [{
|
|
@@ -25481,7 +25494,16 @@ type UnNoMultipleConsecutiveSpaces = [] | [{
|
|
|
25481
25494
|
}];
|
|
25482
25495
|
// ----- un/no-typeof-like-comparisons -----
|
|
25483
25496
|
type UnNoTypeofLikeComparisons = [] | [{
|
|
25484
|
-
allow?:
|
|
25497
|
+
allow?: {
|
|
25498
|
+
string?: boolean;
|
|
25499
|
+
number?: boolean;
|
|
25500
|
+
boolean?: boolean;
|
|
25501
|
+
bigint?: boolean;
|
|
25502
|
+
symbol?: boolean;
|
|
25503
|
+
object?: boolean;
|
|
25504
|
+
function?: boolean;
|
|
25505
|
+
undefined?: boolean;
|
|
25506
|
+
};
|
|
25485
25507
|
disallow?: string[];
|
|
25486
25508
|
}];
|
|
25487
25509
|
// ----- un/prefer-early-return -----
|
|
@@ -30329,6 +30351,7 @@ interface PluginZod {
|
|
|
30329
30351
|
/**
|
|
30330
30352
|
* Enforce usage of `.strictObject()` over `.object()` and/or `.looseObject()`
|
|
30331
30353
|
* @see https://github.com/marcalexiei/eslint-plugin-zod-x/blob/HEAD/docs/rules/prefer-strict-object.md
|
|
30354
|
+
* @deprecated
|
|
30332
30355
|
*/
|
|
30333
30356
|
'prefer-strict-object': ZodPreferStrictObject;
|
|
30334
30357
|
/**
|
|
@@ -1186,6 +1186,11 @@ interface RuleOptions {
|
|
|
1186
1186
|
* @see https://html-eslint.org/docs/rules/no-trailing-spaces
|
|
1187
1187
|
*/
|
|
1188
1188
|
'@html-eslint/no-trailing-spaces'?: Linter.RuleEntry<[]>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Disallow tags with only whitespace children.
|
|
1191
|
+
* @see https://html-eslint.org/docs/rules/no-whitespace-only-children
|
|
1192
|
+
*/
|
|
1193
|
+
'@html-eslint/no-whitespace-only-children'?: Linter.RuleEntry<HtmlEslintNoWhitespaceOnlyChildren>;
|
|
1189
1194
|
/**
|
|
1190
1195
|
* Prefer to use HTTPS for embedded resources
|
|
1191
1196
|
* @see https://html-eslint.org/docs/rules/prefer-https
|
|
@@ -2549,7 +2554,7 @@ interface RuleOptions {
|
|
|
2549
2554
|
'better-tailwindcss/enforce-consistent-important-position'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentImportantPosition>;
|
|
2550
2555
|
/**
|
|
2551
2556
|
* Enforce consistent line wrapping for tailwind classes.
|
|
2552
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
2557
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
2553
2558
|
*/
|
|
2554
2559
|
'better-tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentLineWrapping>;
|
|
2555
2560
|
/**
|
|
@@ -2564,7 +2569,7 @@ interface RuleOptions {
|
|
|
2564
2569
|
'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>;
|
|
2565
2570
|
/**
|
|
2566
2571
|
* Enforce consistent line wrapping for tailwind classes.
|
|
2567
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
2572
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
2568
2573
|
* @deprecated
|
|
2569
2574
|
*/
|
|
2570
2575
|
'better-tailwindcss/multiline'?: Linter.RuleEntry<BetterTailwindcssMultiline>;
|
|
@@ -9776,6 +9781,11 @@ interface RuleOptions {
|
|
|
9776
9781
|
* @deprecated
|
|
9777
9782
|
*/
|
|
9778
9783
|
'nonblock-statement-body-position'?: Linter.RuleEntry<NonblockStatementBodyPosition>;
|
|
9784
|
+
/**
|
|
9785
|
+
* Disallow setting `test` key in Nuxt config
|
|
9786
|
+
* @see https://eslint.nuxt.com/packages/plugin#nuxtno-nuxt-config-test-key
|
|
9787
|
+
*/
|
|
9788
|
+
'nuxt/no-nuxt-config-test-key'?: Linter.RuleEntry<[]>;
|
|
9779
9789
|
/**
|
|
9780
9790
|
* Prefer recommended order of Nuxt config properties
|
|
9781
9791
|
* @see https://eslint.nuxt.com/packages/plugin#nuxtnuxt-config-keys-order
|
|
@@ -18423,6 +18433,7 @@ interface RuleOptions {
|
|
|
18423
18433
|
/**
|
|
18424
18434
|
* Enforce usage of `.strictObject()` over `.object()` and/or `.looseObject()`
|
|
18425
18435
|
* @see https://github.com/marcalexiei/eslint-plugin-zod-x/blob/HEAD/docs/rules/prefer-strict-object.md
|
|
18436
|
+
* @deprecated
|
|
18426
18437
|
*/
|
|
18427
18438
|
'zod/prefer-strict-object'?: Linter.RuleEntry<ZodPreferStrictObject>;
|
|
18428
18439
|
/**
|
|
@@ -18825,6 +18836,10 @@ type HtmlEslintNoRestrictedTags = {
|
|
|
18825
18836
|
tagPatterns: string[];
|
|
18826
18837
|
message?: string;
|
|
18827
18838
|
}[];
|
|
18839
|
+
// ----- @html-eslint/no-whitespace-only-children -----
|
|
18840
|
+
type HtmlEslintNoWhitespaceOnlyChildren = [] | [{
|
|
18841
|
+
tagPatterns?: string[];
|
|
18842
|
+
}];
|
|
18828
18843
|
// ----- @html-eslint/quotes -----
|
|
18829
18844
|
type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
18830
18845
|
enforceTemplatedAttrValue?: boolean;
|
|
@@ -28481,7 +28496,6 @@ type PnpmYamlEnforceSettings = [] | [{
|
|
|
28481
28496
|
};
|
|
28482
28497
|
requiredFields?: string[];
|
|
28483
28498
|
forbiddenFields?: string[];
|
|
28484
|
-
[k: string]: unknown | undefined;
|
|
28485
28499
|
}];
|
|
28486
28500
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
28487
28501
|
type PnpmYamlNoDuplicateCatalogItem = [] | [{
|
|
@@ -31130,7 +31144,16 @@ type UnNoMultipleConsecutiveSpaces = [] | [{
|
|
|
31130
31144
|
}];
|
|
31131
31145
|
// ----- un/no-typeof-like-comparisons -----
|
|
31132
31146
|
type UnNoTypeofLikeComparisons = [] | [{
|
|
31133
|
-
allow?:
|
|
31147
|
+
allow?: {
|
|
31148
|
+
string?: boolean;
|
|
31149
|
+
number?: boolean;
|
|
31150
|
+
boolean?: boolean;
|
|
31151
|
+
bigint?: boolean;
|
|
31152
|
+
symbol?: boolean;
|
|
31153
|
+
object?: boolean;
|
|
31154
|
+
function?: boolean;
|
|
31155
|
+
undefined?: boolean;
|
|
31156
|
+
};
|
|
31134
31157
|
disallow?: string[];
|
|
31135
31158
|
}];
|
|
31136
31159
|
// ----- un/prefer-early-return -----
|
package/dist/eslint.d.mts
CHANGED
|
@@ -41,9 +41,7 @@ type RuleNamesForPlugin<P extends PluginPrefix | null> = P extends null ? keyof
|
|
|
41
41
|
type GetRuleOptions<Prefix extends PluginPrefix, RuleName$1 extends keyof RuleOptionsPerPlugin[Prefix] = keyof RuleOptionsPerPlugin[Prefix], Index extends (keyof RuleOptionsPerPlugin[Prefix][RuleName$1] & number) | 0 | 'all' = 0, _AllOptions = RuleOptionsPerPlugin[Prefix][RuleName$1]> = Exclude<Index extends 'all' ? _AllOptions & unknown[] : _AllOptions extends readonly unknown[] ? Index extends keyof _AllOptions & number ? _AllOptions[Index] : never : _AllOptions, undefined>;
|
|
42
42
|
type PluginAndPrefixToFullRuleName<P extends PluginPrefix, N$1 extends string> = P extends '' ? N$1 : `${P}/${N$1}`;
|
|
43
43
|
type RulesRecordPartial<P extends null | PluginPrefix | RulesRecord = PluginPrefix> = P extends PluginPrefix ? { [N in keyof OmitIndexSignature<RuleOptionsPerPlugin[P]> as PluginAndPrefixToFullRuleName<P, N>]?: RuleOptionsPerPlugin[P][N] extends unknown[] ? EslintRuleEntry<RuleOptionsPerPlugin[P][N]> : never } : P extends RulesRecord ? OmitIndexSignature<FlatConfigEntry<P>['rules'] & {}> : never;
|
|
44
|
-
|
|
45
|
-
severity: EslintSeverity;
|
|
46
|
-
options?: Options$1;
|
|
44
|
+
interface DisabledAutofixOption {
|
|
47
45
|
/**
|
|
48
46
|
* Disables autofix for this rule only for this config with a caveat
|
|
49
47
|
* that the rule name will be prepended with `disable-autofix/`.
|
|
@@ -52,10 +50,14 @@ type UnConfigOptionsOverridesEntry<RuleName$1 extends string = string, Options$1
|
|
|
52
50
|
* it's only currently possible to do so globally (for all configs at once).
|
|
53
51
|
* For that, please use `autofixDisabledGloballyFor` root option.
|
|
54
52
|
*/
|
|
55
|
-
disableAutofix?:
|
|
53
|
+
disableAutofix?: boolean;
|
|
54
|
+
}
|
|
55
|
+
type UnConfigOptionsOverridesEntry<RuleName$1 extends string = string, Options$1 extends readonly unknown[] = readonly unknown[]> = MaybeFn<ReadonlyDeep<EslintRuleEntry<Options$1>> | ({
|
|
56
|
+
severity: EslintSeverity;
|
|
57
|
+
options?: Options$1;
|
|
56
58
|
files?: string[];
|
|
57
59
|
ignores?: string[];
|
|
58
|
-
}, [severity: EslintSeverity & number, options?: Options$1]>;
|
|
60
|
+
} & (RuleName$1 extends FixableRuleNames ? DisabledAutofixOption : string extends RuleName$1 ? DisabledAutofixOption : unknown)), [severity: EslintSeverity & number, options?: Options$1]>;
|
|
59
61
|
type UnConfigOptionsOverrides<T> = { [RuleName in keyof T]?: T[RuleName] & {} extends EslintRuleEntry<infer Options> ? UnConfigOptionsOverridesEntry<RuleName & string, ReadonlyDeep<Options>> : never };
|
|
60
62
|
interface UnConfigOptions<ExtraPlugins extends ExtraPluginsType = never, T extends null | PluginPrefix | RulesRecord = RulesRecord> extends FlatConfigEntryFilesOrIgnores {
|
|
61
63
|
overrides?: UnConfigOptionsOverrides<UnionToIntersection<RulesRecordPartial<T>>>;
|
|
@@ -85,9 +87,13 @@ declare class ConfigEntryBuilder<ExtraPlugins extends ExtraPluginsType = never,
|
|
|
85
87
|
addConfig(nameAndMaybeOptions: string | [name: string, options: {
|
|
86
88
|
includeDefaultFilesAndIgnores?: boolean;
|
|
87
89
|
filesFallback?: string[];
|
|
88
|
-
ignoresFallback?: string[];
|
|
89
90
|
mergeUserFilesWithFallback?: boolean;
|
|
90
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Will be merged with internal `ignores`, and,
|
|
93
|
+
* if `ignoresFallbackMergedWithUserIgnores` set to `true`, with the user provided ones.
|
|
94
|
+
*/
|
|
95
|
+
ignoresFallback?: string[];
|
|
96
|
+
ignoresFallbackMergedWithUserIgnores?: boolean;
|
|
91
97
|
parser?: ParserPrefix;
|
|
92
98
|
/**
|
|
93
99
|
* Some rules (for example, [`no-irregular-whitespace`](https://eslint.org/docs/latest/rules/no-irregular-whitespace))
|
package/dist/eslint.mjs
CHANGED
|
@@ -32,11 +32,12 @@ const STRING_SEVERITY_TO_NUMERIC = {
|
|
|
32
32
|
const eslintToUnRuleSeverity = (maybeEslintSeverity, defaultSeverity = OFF) => typeof maybeEslintSeverity === "string" ? STRING_SEVERITY_TO_NUMERIC[maybeEslintSeverity] : maybeEslintSeverity == null ? defaultSeverity : maybeEslintSeverity;
|
|
33
33
|
const getPluginPrefixByFullRuleName = (context, ruleName) => {
|
|
34
34
|
const ruleNameSplitted = ruleName.split("/");
|
|
35
|
+
if (ruleNameSplitted.length === 1) return "";
|
|
35
36
|
for (let i = 0; i < ruleNameSplitted.length; i++) {
|
|
36
37
|
const possiblePrefix = ruleNameSplitted.slice(0, ruleNameSplitted.length - i - 1).join("/");
|
|
37
38
|
if (possiblePrefix && (PLUGIN_PREFIXES_LIST.includes(possiblePrefix) || context.rootOptions.extraPlugins && possiblePrefix in context.rootOptions.extraPlugins)) return possiblePrefix;
|
|
38
39
|
}
|
|
39
|
-
return
|
|
40
|
+
return "";
|
|
40
41
|
};
|
|
41
42
|
const getRuleNameAndPluginPrefixByFullName = (context, fullRuleName) => {
|
|
42
43
|
const pluginRenames = context.rootOptions.pluginRenames || {};
|
|
@@ -52,42 +53,45 @@ const getRuleNameAndPluginPrefixByFullName = (context, fullRuleName) => {
|
|
|
52
53
|
};
|
|
53
54
|
const resolveOverrides = (context, config, overrides, existingRules) => {
|
|
54
55
|
const extraConfigs = [];
|
|
56
|
+
const removedRules = [];
|
|
55
57
|
return {
|
|
56
58
|
rules: Object.fromEntries(Object.entries(overrides || {}).flatMap(([ruleNameRaw, ruleOptions]) => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
if (ruleOptions == null) return [];
|
|
60
|
+
const { pluginPrefixCanonical, ruleNameUnprefixed, fullRuleNameWithResolvedPrefix: ruleNameInitial } = getRuleNameAndPluginPrefixByFullName(context, ruleNameRaw);
|
|
61
|
+
let ruleName = ruleNameInitial;
|
|
59
62
|
const existingRuleRecord = existingRules?.[ruleName];
|
|
60
63
|
const ruleEntryRaw = maybeCall(ruleOptions, eslintToUnRuleSeverity(Array.isArray(existingRuleRecord) ? existingRuleRecord[0] : existingRuleRecord), Array.isArray(existingRuleRecord) ? existingRuleRecord.slice(1) : void 0);
|
|
64
|
+
const isRuleEntryRawObject = ruleEntryRaw && typeof ruleEntryRaw === "object" && "severity" in ruleEntryRaw;
|
|
61
65
|
const result = [];
|
|
62
|
-
|
|
66
|
+
const ruleEntry = isRuleEntryRawObject ? ruleEntryRaw.options == null ? ruleEntryRaw.severity : [ruleEntryRaw.severity, ...ruleEntryRaw.options] : ruleEntryRaw;
|
|
63
67
|
let disableAutofix = false;
|
|
64
|
-
if (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ruleName = ruleNameWithDisableAutofixPrefix;
|
|
72
|
-
} else result.push([ruleNameWithDisableAutofixPrefix, OFF]);
|
|
73
|
-
}
|
|
74
|
-
if ((ruleEntryRaw.files?.length || ruleEntryRaw.ignores?.length) && config.files?.length !== 0) {
|
|
75
|
-
extraConfigs.push({
|
|
76
|
-
name: `${config.name || ""}/@rule/${ruleName}`,
|
|
77
|
-
...ruleEntryRaw.files && { files: config.files ? [config.files.flat(), ruleEntryRaw.files] : ruleEntryRaw.files },
|
|
78
|
-
...ruleEntryRaw.ignores?.length && { ignores: [...config.ignores || [], ...ruleEntryRaw.ignores] }
|
|
79
|
-
});
|
|
80
|
-
return result;
|
|
81
|
-
}
|
|
68
|
+
if (isRuleEntryRawObject && ruleEntryRaw.disableAutofix != null) {
|
|
69
|
+
disableAutofix = ruleEntryRaw.disableAutofix;
|
|
70
|
+
const ruleNameWithDisableAutofixPrefix = `${DISABLE_AUTOFIX_WITH_SLASH}${ruleName}`;
|
|
71
|
+
if (disableAutofix) {
|
|
72
|
+
result.push([ruleName, OFF]);
|
|
73
|
+
ruleName = ruleNameWithDisableAutofixPrefix;
|
|
74
|
+
} else result.push([ruleNameWithDisableAutofixPrefix, OFF]);
|
|
82
75
|
}
|
|
83
76
|
result.push([ruleName, ruleEntry]);
|
|
84
|
-
if (
|
|
77
|
+
if (ruleEntry !== 0 && ruleEntry !== "off" && !(Array.isArray(ruleEntry) && (ruleEntry[0] === 0 || ruleEntry[0] === "off"))) {
|
|
85
78
|
context.usedPlugins.add(pluginPrefixCanonical);
|
|
86
79
|
if (disableAutofix) context.disabledAutofixes[pluginPrefixCanonical] = [...context.disabledAutofixes[pluginPrefixCanonical] || [], ruleNameUnprefixed];
|
|
87
80
|
}
|
|
81
|
+
if (isRuleEntryRawObject && (ruleEntryRaw.files?.length || ruleEntryRaw.ignores?.length) && config.files?.length !== 0) {
|
|
82
|
+
extraConfigs.push({
|
|
83
|
+
name: `${config.name || ""}/@rule/${ruleNameInitial}`,
|
|
84
|
+
...ruleEntryRaw.files && { files: config.files ? [config.files.flat(), ruleEntryRaw.files] : ruleEntryRaw.files },
|
|
85
|
+
...ruleEntryRaw.ignores?.length && { ignores: [...config.ignores || [], ...ruleEntryRaw.ignores] },
|
|
86
|
+
rules: Object.fromEntries(result)
|
|
87
|
+
});
|
|
88
|
+
removedRules.push(...result.map(([ruleNameToRemove]) => ruleNameToRemove));
|
|
89
|
+
return [];
|
|
90
|
+
}
|
|
88
91
|
return result;
|
|
89
92
|
})),
|
|
90
|
-
extraConfigs
|
|
93
|
+
extraConfigs,
|
|
94
|
+
removedRules
|
|
91
95
|
};
|
|
92
96
|
};
|
|
93
97
|
const getRuleUnSeverityAndOptionsFromEntry = (entry, severityOrOptionsOverride) => {
|
|
@@ -125,16 +129,20 @@ var ConfigEntryBuilder = class {
|
|
|
125
129
|
const userFiles = configOptions.files || [];
|
|
126
130
|
const fallbackFiles = internalOptions.filesFallback || [];
|
|
127
131
|
const files = userFiles.length > 0 && internalOptions.includeDefaultFilesAndIgnores ? internalOptions.mergeUserFilesWithFallback ? [...fallbackFiles, ...userFiles] : userFiles : fallbackFiles;
|
|
128
|
-
const
|
|
129
|
-
const
|
|
130
|
-
const ignores = (internalOptions.includeDefaultFilesAndIgnores ? internalOptions.mergeUserIgnoresWithFallback && fallbackIgnores.length + (userIgnores?.length || 0) > 0 ? [...fallbackIgnores, ...userIgnores || []] : userIgnores : null) || [
|
|
132
|
+
const ignoresUser = configOptions.ignores;
|
|
133
|
+
const ignoresInternal = [
|
|
131
134
|
...internalOptions.doNotIgnoreMarkdown ? [] : [GLOB_MARKDOWN],
|
|
132
135
|
...internalOptions.doNotIgnoreMdx ? [] : [GLOB_MDX],
|
|
133
136
|
...internalOptions.doNotIgnoreHtml ? [] : GLOB_HTML_ALL,
|
|
134
137
|
...internalOptions.doNotIgnoreCss ? [] : [GLOB_CSS],
|
|
135
|
-
...internalOptions.ignoreMarkdownCodeBlocks ? [GLOB_MARKDOWN_ALL_CODE_BLOCKS] : []
|
|
136
|
-
...internalOptions.ignoresFallback || []
|
|
138
|
+
...internalOptions.ignoreMarkdownCodeBlocks ? [GLOB_MARKDOWN_ALL_CODE_BLOCKS] : []
|
|
137
139
|
];
|
|
140
|
+
const ignoresFallback = internalOptions.ignoresFallback || [];
|
|
141
|
+
const ignores = internalOptions.includeDefaultFilesAndIgnores ? [
|
|
142
|
+
...ignoresInternal,
|
|
143
|
+
...internalOptions.ignoresFallbackMergedWithUserIgnores || !ignoresUser ? ignoresFallback : [],
|
|
144
|
+
...ignoresUser || []
|
|
145
|
+
] : [...ignoresInternal, ...ignoresFallback];
|
|
138
146
|
const configFinal = {
|
|
139
147
|
...files.length > 0 && { files },
|
|
140
148
|
...ignores.length > 0 && { ignores },
|
|
@@ -195,18 +203,27 @@ var ConfigEntryBuilder = class {
|
|
|
195
203
|
const overridesAnyResolved = resolveOverrides(this.context, configFinal, this.options.overridesAny, ourRules);
|
|
196
204
|
Object.assign(ourRules, overridesResolved.rules, overridesAnyResolved.rules);
|
|
197
205
|
this.addFlatConfig([...overridesResolved.extraConfigs, ...overridesAnyResolved.extraConfigs]);
|
|
206
|
+
[...overridesResolved.removedRules, ...overridesAnyResolved.removedRules].forEach((ruleName) => {
|
|
207
|
+
Reflect.deleteProperty(ourRules, ruleName);
|
|
208
|
+
});
|
|
198
209
|
return result;
|
|
199
210
|
},
|
|
200
211
|
addBulkRules: (rules) => {
|
|
201
212
|
const overridesResolved = resolveOverrides(this.context, configFinal, rules || {});
|
|
202
213
|
Object.assign(configFinal.rules, overridesResolved.rules);
|
|
203
214
|
this.addFlatConfig(overridesResolved.extraConfigs);
|
|
215
|
+
[...overridesResolved.removedRules].forEach((ruleName) => {
|
|
216
|
+
Reflect.deleteProperty(configFinal.rules, ruleName);
|
|
217
|
+
});
|
|
204
218
|
return result;
|
|
205
219
|
},
|
|
206
220
|
disableBulkRules: (rules) => {
|
|
207
221
|
const overridesResolved = resolveOverrides(this.context, configFinal, Object.fromEntries((rules || []).flatMap((ruleName) => [[ruleName, OFF], [`${DISABLE_AUTOFIX}/${ruleName}`, OFF]])));
|
|
208
222
|
Object.assign(configFinal.rules, overridesResolved.rules);
|
|
209
223
|
this.addFlatConfig(overridesResolved.extraConfigs);
|
|
224
|
+
[...overridesResolved.removedRules].forEach((ruleName) => {
|
|
225
|
+
Reflect.deleteProperty(configFinal.rules, ruleName);
|
|
226
|
+
});
|
|
210
227
|
return result;
|
|
211
228
|
},
|
|
212
229
|
markCategory: (name) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { MaybeArray } from "../utils.mjs";
|
|
2
2
|
import { EslintParser, EslintProcessor, ModuleLoader } from "./shared.mjs";
|
|
3
3
|
import { EslintPlugin } from "../eslint.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _eslint_markdown0 from "@eslint/markdown";
|
|
5
5
|
import * as eslint_import_resolver_typescript0 from "eslint-import-resolver-typescript";
|
|
6
6
|
import * as eslint_merge_processors0 from "eslint-merge-processors";
|
|
7
7
|
import * as eslint_plugin_import_x0 from "eslint-plugin-import-x";
|
|
8
8
|
import * as eslint_plugin_mdx0 from "eslint-plugin-mdx";
|
|
9
9
|
import * as eslint_processor_vue_blocks0 from "eslint-processor-vue-blocks";
|
|
10
10
|
import * as tailwind_csstree0 from "tailwind-csstree";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _eslint_core177 from "@eslint/core";
|
|
12
12
|
import * as eslint_plugin_svelte_lib_processor0 from "eslint-plugin-svelte/lib/processor";
|
|
13
13
|
|
|
14
14
|
//#region src/loaders/packages.d.ts
|
|
15
15
|
declare const packagesLoaders: {
|
|
16
|
-
angularExtractInlineHtmlProcessor: ModuleLoader<EslintProcessor<string |
|
|
17
|
-
astroClientSideTsProcessor: ModuleLoader<EslintProcessor<string |
|
|
16
|
+
angularExtractInlineHtmlProcessor: ModuleLoader<EslintProcessor<string | _eslint_core177.ProcessorFile>, "@angular-eslint/eslint-plugin-template", true>;
|
|
17
|
+
astroClientSideTsProcessor: ModuleLoader<EslintProcessor<string | _eslint_core177.ProcessorFile>, "eslint-plugin-astro", true>;
|
|
18
18
|
checkFileProcessor: ModuleLoader<{
|
|
19
19
|
preprocess(_: any, filename: any): {
|
|
20
20
|
text: string;
|
|
@@ -29,7 +29,7 @@ declare const packagesLoaders: {
|
|
|
29
29
|
parser: EslintParser;
|
|
30
30
|
}, "@graphql-eslint/eslint-plugin", true>;
|
|
31
31
|
eslintPluginImportX: ModuleLoader<Pick<typeof eslint_plugin_import_x0, "createNodeResolver">, "eslint-plugin-import-x", false>;
|
|
32
|
-
eslintPluginMarkdown: ModuleLoader<typeof
|
|
32
|
+
eslintPluginMarkdown: ModuleLoader<typeof _eslint_markdown0.default, "@eslint/markdown", false>;
|
|
33
33
|
eslintPluginMdx: ModuleLoader<typeof eslint_plugin_mdx0, "eslint-plugin-mdx", false>;
|
|
34
34
|
importResolverTypescript: ModuleLoader<typeof eslint_import_resolver_typescript0, "eslint-import-resolver-typescript", false>;
|
|
35
35
|
mergeProcessors: ModuleLoader<typeof eslint_merge_processors0, "eslint-merge-processors", false>;
|
|
@@ -39,7 +39,7 @@ declare const packagesLoaders: {
|
|
|
39
39
|
parseForESLint: (...args: unknown[]) => unknown;
|
|
40
40
|
}, "typescript-eslint", false>;
|
|
41
41
|
vueBlocksProcessor: ModuleLoader<typeof eslint_processor_vue_blocks0.default, "eslint-processor-vue-blocks", true>;
|
|
42
|
-
vueProcessor: ModuleLoader<EslintProcessor<string |
|
|
42
|
+
vueProcessor: ModuleLoader<EslintProcessor<string | _eslint_core177.ProcessorFile>, "eslint-plugin-vue", true>;
|
|
43
43
|
};
|
|
44
44
|
type LoadablePackagePrefix = keyof typeof packagesLoaders;
|
|
45
45
|
interface PackageToLoadInfo<Packages extends LoadablePackagePrefix = LoadablePackagePrefix, ValueTransformFnContext = unknown> {
|
|
@@ -2,16 +2,16 @@ import { EslintParser, EslintProcessor, ModuleLoader } from "./shared.mjs";
|
|
|
2
2
|
import { EslintPlugin } from "../eslint.mjs";
|
|
3
3
|
import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
|
|
4
4
|
import * as _eslint_css0 from "@eslint/css";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _eslint_markdown1 from "@eslint/markdown";
|
|
6
6
|
import * as eslint_plugin_boundaries0 from "eslint-plugin-boundaries";
|
|
7
7
|
import * as eslint_plugin_check_file0 from "eslint-plugin-check-file";
|
|
8
8
|
import * as eslint_plugin_formatjs0 from "eslint-plugin-formatjs";
|
|
9
9
|
import * as eslint_plugin_markdown_preferences0 from "eslint-plugin-markdown-preferences";
|
|
10
|
-
import * as
|
|
10
|
+
import * as eslint_plugin_mdx1 from "eslint-plugin-mdx";
|
|
11
11
|
import * as eslint_plugin_react0 from "eslint-plugin-react";
|
|
12
12
|
import * as eslint_plugin_regexp0 from "eslint-plugin-regexp";
|
|
13
13
|
import * as eslint_plugin_turbo0 from "eslint-plugin-turbo";
|
|
14
|
-
import * as
|
|
14
|
+
import * as _eslint_core183 from "@eslint/core";
|
|
15
15
|
import * as eslint0 from "eslint";
|
|
16
16
|
import * as eslint_plugin_svelte_lib_main0 from "eslint-plugin-svelte/lib/main";
|
|
17
17
|
import * as eslint_plugin_vuejs_accessibility_dist_rules_interactive_supports_focus0 from "eslint-plugin-vuejs-accessibility/dist/rules/interactive-supports-focus";
|
|
@@ -269,13 +269,13 @@ declare const pluginsLoaders: {
|
|
|
269
269
|
"unique-test-case-names": eslint0.Rule.RuleModule;
|
|
270
270
|
};
|
|
271
271
|
configs: {
|
|
272
|
-
all: eslint0.Linter.Config<
|
|
273
|
-
"all-type-checked": eslint0.Linter.Config<
|
|
274
|
-
recommended: eslint0.Linter.Config<
|
|
275
|
-
rules: eslint0.Linter.Config<
|
|
276
|
-
tests: eslint0.Linter.Config<
|
|
277
|
-
"rules-recommended": eslint0.Linter.Config<
|
|
278
|
-
"tests-recommended": eslint0.Linter.Config<
|
|
272
|
+
all: eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
273
|
+
"all-type-checked": eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
274
|
+
recommended: eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
275
|
+
rules: eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
276
|
+
tests: eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
277
|
+
"rules-recommended": eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
278
|
+
"tests-recommended": eslint0.Linter.Config<_eslint_core183.RulesConfig>;
|
|
279
279
|
};
|
|
280
280
|
}, "eslint-plugin-eslint-plugin", true>;
|
|
281
281
|
'expect-type': ModuleLoader<EslintPlugin, "eslint-plugin-expect-type", true>;
|
|
@@ -360,11 +360,11 @@ declare const pluginsLoaders: {
|
|
|
360
360
|
'jsx-a11y': ModuleLoader<any, "eslint-plugin-jsx-a11y-x", false>;
|
|
361
361
|
lit: ModuleLoader<EslintPlugin, "eslint-plugin-lit", true>;
|
|
362
362
|
'lit-a11y': ModuleLoader<any, "eslint-plugin-lit-a11y", true>;
|
|
363
|
-
markdown: ModuleLoader<typeof
|
|
363
|
+
markdown: ModuleLoader<typeof _eslint_markdown1.default, "@eslint/markdown", false>;
|
|
364
364
|
'markdown-links': ModuleLoader<EslintPlugin, "eslint-plugin-markdown-links", false>;
|
|
365
365
|
'markdown-preferences': ModuleLoader<EslintPlugin & Pick<typeof eslint_plugin_markdown_preferences0, "resources">, "eslint-plugin-markdown-preferences", false>;
|
|
366
366
|
math: ModuleLoader<EslintPlugin, "eslint-plugin-math", false>;
|
|
367
|
-
mdx: ModuleLoader<typeof
|
|
367
|
+
mdx: ModuleLoader<typeof eslint_plugin_mdx1, "eslint-plugin-mdx", false>;
|
|
368
368
|
mocha: ModuleLoader<{
|
|
369
369
|
rules: {
|
|
370
370
|
"handle-done-callback": Readonly<eslint0.Rule.RuleModule>;
|
|
@@ -472,6 +472,7 @@ declare const pluginsLoaders: {
|
|
|
472
472
|
rules: {
|
|
473
473
|
"prefer-import-meta": eslint0.Rule.RuleModule;
|
|
474
474
|
"nuxt-config-keys-order": eslint0.Rule.RuleModule;
|
|
475
|
+
"no-nuxt-config-test-key": eslint0.Rule.RuleModule;
|
|
475
476
|
};
|
|
476
477
|
}, "@nuxt/eslint-plugin", true>;
|
|
477
478
|
nx: ModuleLoader<EslintPlugin, "@nx/eslint-plugin", true>;
|
|
@@ -813,7 +814,7 @@ declare const pluginsLoaders: {
|
|
|
813
814
|
version: string;
|
|
814
815
|
};
|
|
815
816
|
rules: {
|
|
816
|
-
one:
|
|
817
|
+
one: _eslint_markdown1.MarkdownRuleDefinition;
|
|
817
818
|
};
|
|
818
819
|
}, "eslint-plugin-sentences-per-line", true>;
|
|
819
820
|
solid: ModuleLoader<EslintPlugin, "eslint-plugin-solid", true>;
|
|
@@ -942,7 +943,7 @@ declare const pluginsLoaders: {
|
|
|
942
943
|
"inconsistent-function-call": eslint0.Rule.RuleModule;
|
|
943
944
|
"no-use-of-empty-return-value": eslint0.Rule.RuleModule;
|
|
944
945
|
"enforce-trailing-comma": {
|
|
945
|
-
meta:
|
|
946
|
+
meta: _eslint_core183.RulesMeta<string, unknown[], unknown>;
|
|
946
947
|
create(context: eslint0.Rule.RuleContext): eslint0.Rule.NodeListener;
|
|
947
948
|
};
|
|
948
949
|
"void-use": eslint0.Rule.RuleModule;
|
package/dist/package.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var peerDependencies = {
|
|
|
10
10
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
11
11
|
"@intlify/eslint-plugin-vue-i18n": "^4.1.0",
|
|
12
12
|
"@next/eslint-plugin-next": "^16.0.7",
|
|
13
|
-
"@nuxt/eslint-plugin": "^1.
|
|
13
|
+
"@nuxt/eslint-plugin": "^1.12.1",
|
|
14
14
|
"@nx/eslint-plugin": "^22.1.3",
|
|
15
15
|
"@smarttools/eslint-plugin-rxjs": "^1.0.22",
|
|
16
16
|
"@tanstack/eslint-plugin-query": "^5.91.2",
|
|
@@ -22,11 +22,11 @@ var peerDependencies = {
|
|
|
22
22
|
"eslint-plugin-antfu": "^3.1.1",
|
|
23
23
|
"eslint-plugin-astro": "^1.5.0",
|
|
24
24
|
"eslint-plugin-ava": "^15.1.0",
|
|
25
|
-
"eslint-plugin-better-tailwindcss": "^3.
|
|
25
|
+
"eslint-plugin-better-tailwindcss": "^3.8.0",
|
|
26
26
|
"eslint-plugin-boundaries": "^5.3.0",
|
|
27
27
|
"eslint-plugin-case-police": "^2.1.1",
|
|
28
28
|
"eslint-plugin-check-file": "^3.3.1",
|
|
29
|
-
"eslint-plugin-command": "^3.
|
|
29
|
+
"eslint-plugin-command": "^3.4.0",
|
|
30
30
|
"eslint-plugin-compat": "^6.0.2",
|
|
31
31
|
"eslint-plugin-cypress": "^5.2.0",
|
|
32
32
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
@@ -70,7 +70,7 @@ var peerDependencies = {
|
|
|
70
70
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
71
71
|
"eslint-plugin-wc": "^3.0.2",
|
|
72
72
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
73
|
-
"eslint-plugin-zod-x": "^1.
|
|
73
|
+
"eslint-plugin-zod-x": "^1.13.0",
|
|
74
74
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
75
75
|
"svelte-eslint-parser": "^1.4.1",
|
|
76
76
|
"toml-eslint-parser": "^0.10.0",
|
|
@@ -24,8 +24,9 @@ const rule = {
|
|
|
24
24
|
type: "object",
|
|
25
25
|
properties: {
|
|
26
26
|
allow: {
|
|
27
|
-
type: "
|
|
28
|
-
|
|
27
|
+
type: "object",
|
|
28
|
+
additionalProperties: false,
|
|
29
|
+
properties: Object.fromEntries([...TYPEOF_POSSIBLE_RETURN_VALUES_SET].map((value) => [value, { type: "boolean" }]))
|
|
29
30
|
},
|
|
30
31
|
disallow: {
|
|
31
32
|
type: "array",
|
|
@@ -41,6 +42,10 @@ const rule = {
|
|
|
41
42
|
},
|
|
42
43
|
create(context) {
|
|
43
44
|
const options = context.options[0];
|
|
45
|
+
const allow = {
|
|
46
|
+
undefined: true,
|
|
47
|
+
...options?.allow
|
|
48
|
+
};
|
|
44
49
|
return { BinaryExpression: (node) => {
|
|
45
50
|
const { left: leftOperand, operator, right: rightOperand } = node;
|
|
46
51
|
if (!COMPARISON_OPERATORS_SET.has(operator)) return;
|
|
@@ -49,7 +54,7 @@ const rule = {
|
|
|
49
54
|
const otherNode = literalNode === rightOperand ? leftOperand : rightOperand;
|
|
50
55
|
if (otherNode.type === "Literal" || otherNode.type === "UnaryExpression" && otherNode.operator === "typeof") return;
|
|
51
56
|
const literalValue = literalNode.value;
|
|
52
|
-
if (typeof literalValue !== "string" ||
|
|
57
|
+
if (typeof literalValue !== "string" || allow[literalValue]) return;
|
|
53
58
|
if (TYPEOF_POSSIBLE_RETURN_VALUES_SET.has(literalValue)) {
|
|
54
59
|
context.report({
|
|
55
60
|
node,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-un",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@eslint/compat": "2.0.0",
|
|
48
48
|
"@eslint/css": "0.14.1",
|
|
49
49
|
"@eslint/markdown": "7.5.1",
|
|
50
|
-
"@html-eslint/eslint-plugin": "0.
|
|
51
|
-
"@html-eslint/parser": "0.
|
|
50
|
+
"@html-eslint/eslint-plugin": "0.51.0",
|
|
51
|
+
"@html-eslint/parser": "0.51.0",
|
|
52
52
|
"@stylistic/eslint-plugin": "5.6.1",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
54
|
-
"@typescript-eslint/parser": "8.
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "8.49.0",
|
|
54
|
+
"@typescript-eslint/parser": "8.49.0",
|
|
55
55
|
"ci-info": "4.3.1",
|
|
56
56
|
"consola": "3.4.2",
|
|
57
57
|
"console-table-printer": "2.15.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"eslint-plugin-file-progress": "3.0.2",
|
|
72
72
|
"eslint-plugin-html": "8.1.3",
|
|
73
73
|
"eslint-plugin-import-x": "4.16.1",
|
|
74
|
-
"eslint-plugin-jsdoc": "61.
|
|
74
|
+
"eslint-plugin-jsdoc": "61.5.0",
|
|
75
75
|
"eslint-plugin-json-schema-validator": "5.5.0",
|
|
76
76
|
"eslint-plugin-jsonc": "2.21.0",
|
|
77
77
|
"eslint-plugin-jsx-a11y-x": "0.1.1",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"eslint-plugin-no-unsanitized": "4.1.4",
|
|
88
88
|
"eslint-plugin-node-dependencies": "1.3.0",
|
|
89
89
|
"eslint-plugin-package-json": "0.85.0",
|
|
90
|
-
"eslint-plugin-pnpm": "1.4.
|
|
90
|
+
"eslint-plugin-pnpm": "1.4.2",
|
|
91
91
|
"eslint-plugin-prettier": "file:./deps/eslint-plugin-prettier-5.5.0.tgz",
|
|
92
92
|
"eslint-plugin-promise": "7.2.1",
|
|
93
93
|
"eslint-plugin-regexp": "2.10.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"tailwind-csstree": "0.1.4",
|
|
113
113
|
"tinyexec": "1.0.2",
|
|
114
114
|
"type-fest": "5.3.0",
|
|
115
|
-
"typescript-eslint": "8.
|
|
115
|
+
"typescript-eslint": "8.49.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@angular-eslint/eslint-plugin": "21.1.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"@jest/environment": "30.2.0",
|
|
135
135
|
"@jest/expect": "30.2.0",
|
|
136
136
|
"@next/eslint-plugin-next": "16.0.7",
|
|
137
|
-
"@nuxt/eslint-plugin": "1.
|
|
137
|
+
"@nuxt/eslint-plugin": "1.12.1",
|
|
138
138
|
"@nx/eslint-plugin": "22.1.3",
|
|
139
139
|
"@smarttools/eslint-plugin-rxjs": "1.0.22",
|
|
140
140
|
"@sveltejs/kit": "2.49.1",
|
|
@@ -160,11 +160,11 @@
|
|
|
160
160
|
"eslint-plugin-antfu": "3.1.1",
|
|
161
161
|
"eslint-plugin-astro": "1.5.0",
|
|
162
162
|
"eslint-plugin-ava": "15.1.0",
|
|
163
|
-
"eslint-plugin-better-tailwindcss": "3.
|
|
163
|
+
"eslint-plugin-better-tailwindcss": "3.8.0",
|
|
164
164
|
"eslint-plugin-boundaries": "5.3.0",
|
|
165
165
|
"eslint-plugin-case-police": "2.1.1",
|
|
166
166
|
"eslint-plugin-check-file": "3.3.1",
|
|
167
|
-
"eslint-plugin-command": "3.
|
|
167
|
+
"eslint-plugin-command": "3.4.0",
|
|
168
168
|
"eslint-plugin-compat": "6.0.2",
|
|
169
169
|
"eslint-plugin-cypress": "5.2.0",
|
|
170
170
|
"eslint-plugin-de-morgan": "2.0.0",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"eslint-plugin-vuejs-accessibility": "2.4.1",
|
|
209
209
|
"eslint-plugin-wc": "3.0.2",
|
|
210
210
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.14.0",
|
|
211
|
-
"eslint-plugin-zod-x": "1.
|
|
211
|
+
"eslint-plugin-zod-x": "1.13.0",
|
|
212
212
|
"eslint-processor-vue-blocks": "2.0.0",
|
|
213
213
|
"eslint-typegen": "2.3.0",
|
|
214
214
|
"import-meta-resolve": "4.2.0",
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
248
248
|
"@intlify/eslint-plugin-vue-i18n": "^4.1.0",
|
|
249
249
|
"@next/eslint-plugin-next": "^16.0.7",
|
|
250
|
-
"@nuxt/eslint-plugin": "^1.
|
|
250
|
+
"@nuxt/eslint-plugin": "^1.12.1",
|
|
251
251
|
"@nx/eslint-plugin": "^22.1.3",
|
|
252
252
|
"@smarttools/eslint-plugin-rxjs": "^1.0.22",
|
|
253
253
|
"@tanstack/eslint-plugin-query": "^5.91.2",
|
|
@@ -259,11 +259,11 @@
|
|
|
259
259
|
"eslint-plugin-antfu": "^3.1.1",
|
|
260
260
|
"eslint-plugin-astro": "^1.5.0",
|
|
261
261
|
"eslint-plugin-ava": "^15.1.0",
|
|
262
|
-
"eslint-plugin-better-tailwindcss": "^3.
|
|
262
|
+
"eslint-plugin-better-tailwindcss": "^3.8.0",
|
|
263
263
|
"eslint-plugin-boundaries": "^5.3.0",
|
|
264
264
|
"eslint-plugin-case-police": "^2.1.1",
|
|
265
265
|
"eslint-plugin-check-file": "^3.3.1",
|
|
266
|
-
"eslint-plugin-command": "^3.
|
|
266
|
+
"eslint-plugin-command": "^3.4.0",
|
|
267
267
|
"eslint-plugin-compat": "^6.0.2",
|
|
268
268
|
"eslint-plugin-cypress": "^5.2.0",
|
|
269
269
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
308
308
|
"eslint-plugin-wc": "^3.0.2",
|
|
309
309
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
310
|
-
"eslint-plugin-zod-x": "^1.
|
|
310
|
+
"eslint-plugin-zod-x": "^1.13.0",
|
|
311
311
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
312
312
|
"svelte-eslint-parser": "^1.4.1",
|
|
313
313
|
"toml-eslint-parser": "^0.10.0",
|