@jsse/eslint-config 0.3.6 → 0.4.0

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +17 -12
  3. package/dist/cli.js +3 -3
  4. package/dist/esm/config-fns.d.ts +109 -34
  5. package/dist/esm/config-fns.js +111 -35
  6. package/dist/esm/configs/{comments.d.ts → de-morgan.d.ts} +1 -1
  7. package/dist/esm/configs/de-morgan.js +9 -0
  8. package/dist/esm/configs/eslint-comments.d.ts +2 -0
  9. package/dist/esm/configs/{comments.js → eslint-comments.js} +1 -1
  10. package/dist/esm/configs/gql.d.ts +2 -2
  11. package/dist/esm/configs/markdown.js +1 -1
  12. package/dist/esm/configs/prettier.d.ts +2 -2
  13. package/dist/esm/configs/react.d.ts +3 -3
  14. package/dist/esm/configs/sort-package-json.js +19 -6
  15. package/dist/esm/configs/stylistic.js +1 -1
  16. package/dist/esm/configs/ts/parser.d.ts +2 -2
  17. package/dist/esm/configs/ts/parser.js +7 -5
  18. package/dist/esm/configs/ts/requires-type-checking.js +1 -0
  19. package/dist/esm/configs/ts/typescript-rules.d.ts +9 -4
  20. package/dist/esm/configs/ts/typescript-rules.js +26 -62
  21. package/dist/esm/configs/ts/typescript.js +56 -43
  22. package/dist/esm/define-config.d.ts +3 -3
  23. package/dist/esm/define-config.js +38 -28
  24. package/dist/esm/fixable.d.ts +2 -1
  25. package/dist/esm/fixable.js +3 -391
  26. package/dist/esm/generated/fixable-rules-map.d.ts +2 -0
  27. package/dist/esm/generated/fixable-rules-map.js +436 -0
  28. package/dist/esm/generated/version.d.ts +1 -1
  29. package/dist/esm/generated/version.js +1 -1
  30. package/dist/esm/index.d.ts +1 -1
  31. package/dist/esm/index.js +0 -1
  32. package/dist/esm/lager.d.ts +1 -1
  33. package/dist/esm/lager.js +1 -1
  34. package/dist/esm/plugins-all.d.ts +11 -8
  35. package/dist/esm/plugins-all.js +99 -10
  36. package/dist/esm/plugins.d.ts +1 -0
  37. package/dist/esm/plugins.js +4 -1
  38. package/dist/esm/presets.d.ts +16 -0
  39. package/dist/esm/presets.js +96 -1
  40. package/dist/esm/types.d.ts +34 -22
  41. package/dist/esm/utils.d.ts +5 -5
  42. package/dist/esm/utils.js +1 -1
  43. package/dist/index.d.ts +7445 -6300
  44. package/dist/index.js +373 -238
  45. package/package.json +23 -30
  46. package/dist/esm/plugindex.d.ts +0 -7
  47. package/dist/esm/plugindex.js +0 -60
@@ -1,5 +1,19 @@
1
- export function typescriptRulesTypeAware() {
1
+ /* eslint-disable perfectionist/sort-objects */
2
+ import tseslint, {} from "typescript-eslint";
3
+ import { dbg } from "../../lager.js";
4
+ const extractRules = (configs) => {
5
+ const rules = configs
6
+ .filter((config) => config.rules !== undefined)
7
+ .map((config) => config.rules ?? {});
8
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
9
+ return Object.assign({}, ...rules);
10
+ };
11
+ export function typescriptRulesTypeAware(props) {
12
+ const tsRecomendedRulesTypeChecked = props?.strict
13
+ ? extractRules(tseslint.configs.strictTypeChecked)
14
+ : extractRules(tseslint.configs.recommendedTypeChecked);
2
15
  return {
16
+ ...tsRecomendedRulesTypeChecked,
3
17
  "@typescript-eslint/await-thenable": "error",
4
18
  "@typescript-eslint/no-for-in-array": "error",
5
19
  "no-implied-eval": "off",
@@ -116,8 +130,12 @@ export function typescriptRulesTypeAware() {
116
130
  ],
117
131
  };
118
132
  }
119
- export function typescriptRulesTypeOblivious() {
133
+ export function typescriptRulesTypeOblivious(props) {
134
+ const tseslintBaseRules = props?.strict
135
+ ? extractRules(tseslint.configs.strict)
136
+ : extractRules(tseslint.configs.recommended);
120
137
  return {
138
+ ...tseslintBaseRules,
121
139
  eqeqeq: "error",
122
140
  camelcase: "off",
123
141
  yoda: "error",
@@ -140,61 +158,6 @@ export function typescriptRulesTypeOblivious() {
140
158
  },
141
159
  ],
142
160
  "@typescript-eslint/adjacent-overload-signatures": "error",
143
- // "@typescript-eslint/ban-types": [
144
- // "warn",
145
- // {
146
- // extendDefaults: false,
147
- // types: {
148
- // String: {
149
- // message: 'Use "string" instead',
150
- // fixWith: "string",
151
- // },
152
- // Boolean: {
153
- // message: 'Use "boolean" instead',
154
- // fixWith: "boolean",
155
- // },
156
- // Number: {
157
- // message: 'Use "number" instead',
158
- // fixWith: "number",
159
- // },
160
- // BigInt: {
161
- // message: "Use `bigint` instead.",
162
- // fixWith: "bigint",
163
- // },
164
- // Object: {
165
- // message:
166
- // "The `Object` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead. See https://github.com/typescript-eslint/typescript-eslint/pull/848",
167
- // fixWith: "Record<string, unknown>",
168
- // },
169
- // object: {
170
- // message:
171
- // "The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",
172
- // fixWith: "Record<string, unknown>",
173
- // },
174
- // Symbol: {
175
- // message: 'Use "symbol" instead',
176
- // fixWith: "symbol",
177
- // },
178
- // Function: {
179
- // message:
180
- // 'The "Function" type accepts any function-like value.\nIt provides no type safety when calling the function, which can be a common source of bugs.\nIt also accepts things like class declarations, which will throw at runtime as they will not be called with "new".\nIf you are expecting the function to accept certain arguments, you should explicitly define the function shape.',
181
- // },
182
- // // eslint-disable-next-line @typescript-eslint/naming-convention
183
- // "{}": {
184
- // message:
185
- // "The `{}` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead.",
186
- // fixWith: "Record<string, unknown>",
187
- // },
188
- // // eslint-disable-next-line @typescript-eslint/naming-convention
189
- // "[]": "Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.",
190
- // // eslint-disable-next-line @typescript-eslint/naming-convention
191
- // "[[]]":
192
- // "Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.",
193
- // // eslint-disable-next-line @typescript-eslint/naming-convention
194
- // "[[[]]]": "Don't use `[[[]]]`. Use `SomeType[][][]` instead.",
195
- // },
196
- // },
197
- // ],
198
161
  "@typescript-eslint/consistent-type-assertions": "error",
199
162
  "@typescript-eslint/consistent-type-definitions": ["error", "type"],
200
163
  "@typescript-eslint/member-ordering": [
@@ -404,12 +367,13 @@ export function typescriptRulesTypeOblivious() {
404
367
  };
405
368
  }
406
369
  export function typescriptRules(props) {
407
- const { typeAware } = props ?? {};
408
- if (typeAware === true) {
370
+ const normalized = { typeAware: false, strict: false, ...props };
371
+ dbg("building typescript rules: %O", normalized);
372
+ if (normalized.typeAware) {
409
373
  return {
410
- ...typescriptRulesTypeOblivious(),
411
- ...typescriptRulesTypeAware(),
374
+ ...typescriptRulesTypeOblivious({ strict: normalized.strict }),
375
+ ...typescriptRulesTypeAware({ strict: normalized.strict }),
412
376
  };
413
377
  }
414
- return typescriptRulesTypeOblivious();
378
+ return typescriptRulesTypeOblivious({ strict: normalized.strict });
415
379
  }
@@ -1,10 +1,12 @@
1
1
  import { GLOB_MARKDOWN, GLOB_TS, GLOB_TSX } from "../../globs.js";
2
+ import { dbg } from "../../lager.js";
2
3
  import { pluginImport, pluginTs } from "../../plugins.js";
3
4
  import { renameRules } from "../../utils.js";
4
5
  import { typescriptParser } from "./parser.js";
5
6
  import { typescriptRules } from "./typescript-rules.js";
6
7
  export const typescript = async (options) => {
7
- const { componentExts = [], filesTypeAware = [GLOB_TS, GLOB_TSX], ignoresTypeAware = [GLOB_MARKDOWN], overrides = {}, parserOptions = {}, prefix, react = false, tsconfig: tsconfigPath, typeAware, } = options ?? {};
8
+ dbg("typescript-options: %O", options);
9
+ const { componentExts = [], filesTypeAware = [GLOB_TS, GLOB_TSX], ignoresTypeAware = [GLOB_MARKDOWN], overrides = {}, parserOptions = {}, prefix, react = false, strict = false, tsconfig: tsconfigPath, typeAware = true, } = options ?? {};
8
10
  const parserConfigs = typeAware
9
11
  ? [
10
12
  typescriptParser({
@@ -43,11 +45,15 @@ export const typescript = async (options) => {
43
45
  ...pluginTs.configs.strict?.rules,
44
46
  "no-invalid-this": "off",
45
47
  ...typescriptRules({
46
- typeAware: false,
48
+ strict,
49
+ typeAware,
47
50
  }),
48
51
  ...overrides,
49
52
  };
50
- return [
53
+ // =========================================================================
54
+ // BUILD THE CONFIG ARRAYS
55
+ // =========================================================================
56
+ const tsEslintConfigs = [
51
57
  {
52
58
  // Install the plugins without globs, so they can be configured separately.
53
59
  name: "jsse/typescript/setup",
@@ -57,53 +63,60 @@ export const typescript = async (options) => {
57
63
  },
58
64
  },
59
65
  ...parserConfigs,
66
+ // ========================================================================
67
+ // RULES - NOT TYPE AWARE
68
+ // ========================================================================
60
69
  {
61
70
  // only apply ts rules to ts files!
62
71
  files: [GLOB_TS, GLOB_TSX, ...componentExts.map((ext) => `**/*.${ext}`)],
63
72
  name: "jsse/typescript/rules",
64
73
  // may not need to rename all rules here........
65
- rules: renameRules(tsRules || {}, tsPrefix, tsPrefixTo),
74
+ rules: renameRules(tsRules, tsPrefix, tsPrefixTo),
66
75
  },
67
- ...(typeAware
68
- ? [
69
- {
70
- files: filesTypeAware,
71
- ignores: ignoresTypeAware,
72
- name: "jsse/typescript/rules-type-aware",
73
- rules: renameRules({
74
- ...typescriptRules({
75
- typeAware: true,
76
- }),
77
- ...overrides,
78
- }, tsPrefix, tsPrefixTo),
79
- },
80
- ]
81
- : []),
82
- {
83
- files: ["**/*.d.ts"],
84
- name: "jsse/typescript:disables/dts",
85
- rules: {
86
- "eslint-comments/no-unlimited-disable": "off",
87
- "import/no-duplicates": "off",
88
- "no-restricted-syntax": ["error", "[declare=true]"],
89
- "unused-imports/no-unused-vars": "off",
90
- },
76
+ ];
77
+ // =========================================================================
78
+ // RULES - TYPE AWARE
79
+ // =========================================================================
80
+ if (typeAware) {
81
+ tsEslintConfigs.push({
82
+ files: filesTypeAware,
83
+ ignores: ignoresTypeAware,
84
+ name: "jsse/typescript/rules-type-aware",
85
+ rules: renameRules({
86
+ ...typescriptRules({
87
+ strict,
88
+ typeAware: true,
89
+ }),
90
+ ...overrides,
91
+ }, tsPrefix, tsPrefixTo),
92
+ });
93
+ }
94
+ // =========================================================================
95
+ // OVERRIDES
96
+ // =========================================================================
97
+ tsEslintConfigs.push({
98
+ files: ["**/*.d.ts"],
99
+ name: "jsse/typescript:disables/dts",
100
+ rules: {
101
+ "eslint-comments/no-unlimited-disable": "off",
102
+ "import/no-duplicates": "off",
103
+ "no-restricted-syntax": ["error", "[declare=true]"],
104
+ "unused-imports/no-unused-vars": "off",
91
105
  },
92
- {
93
- files: ["**/*.{test,spec}.ts?(x)"],
94
- name: "jsse/typescript:disable/test",
95
- rules: {
96
- "@typescript-eslint/no-unused-expressions": "off",
97
- "no-unused-expressions": "off",
98
- },
106
+ }, {
107
+ files: ["**/*.{test,spec}.ts?(x)"],
108
+ name: "jsse/typescript:disable/test",
109
+ rules: {
110
+ "@typescript-eslint/no-unused-expressions": "off",
111
+ "no-unused-expressions": "off",
99
112
  },
100
- {
101
- files: ["**/*.js", "**/*.cjs"],
102
- name: "jsse/typescript/javascript-overrides",
103
- rules: {
104
- "@typescript-eslint/no-require-imports": "off",
105
- "@typescript-eslint/no-var-requires": "off",
106
- },
113
+ }, {
114
+ files: ["**/*.js", "**/*.cjs"],
115
+ name: "jsse/typescript/javascript-overrides",
116
+ rules: {
117
+ "@typescript-eslint/no-require-imports": "off",
118
+ "@typescript-eslint/no-var-requires": "off",
107
119
  },
108
- ];
120
+ });
121
+ return tsEslintConfigs;
109
122
  };
@@ -1,7 +1,7 @@
1
- import type { OptionsConfig, TypedFlatConfigItem } from "./types.js";
1
+ import type { Config, OptionsConfig } from "./types.js";
2
2
  /**
3
3
  * Construct an array of ESLint flat config items.
4
4
  */
5
- export declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
6
- export declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
5
+ export declare function jsse(options?: OptionsConfig & Config, ...userConfigs: (Config | Config[])[]): Promise<Config[]>;
6
+ export declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs: (Config | Config[])[]): Promise<Config[]>;
7
7
  export type DefineConfig = typeof defineConfig;
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import process from "node:process";
3
3
  import { isPackageExists } from "local-pkg";
4
- import { antfu, command, comments, ignores, imports, javascript, jsdoc, jsonc, markdown, n, noOnlyTests, perfectionist, prettier, react, sortPackageJson, sortTsconfig, stylistic, tailwind, tsdoc, typescript, unicorn, vitest, yml, } from "./config-fns.js";
4
+ import { antfu, command, deMorgan, eslintComments, ignores, imports, javascript, jsdoc, jsonc, markdown, n, noOnlyTests, perfectionist, prettier, react, sortPackageJson, sortTsconfig, stylistic, tsdoc, typescript, unicorn, vitest, yml, } from "./config-fns.js";
5
5
  import { SLOW_RULES } from "./const.js";
6
6
  import { log } from "./log.js";
7
7
  import { combineAsync, interopDefault, isInEditor, turnOffRules, } from "./utils.js";
@@ -17,6 +17,7 @@ const flatConfigProps = [
17
17
  ];
18
18
  const DEBUG = ["1", "true", "t", "on", "yes", "y"].includes(process.env.DEBUG ?? "");
19
19
  function defaultOptions() {
20
+ const typescriptExists = isPackageExists("typescript");
20
21
  return {
21
22
  command: true,
22
23
  componentExts: [],
@@ -35,7 +36,8 @@ function defaultOptions() {
35
36
  stylistic: true,
36
37
  test: true,
37
38
  tsPrefix: "@typescript-eslint",
38
- typescript: isPackageExists("typescript"),
39
+ typeAware: false,
40
+ typescript: typescriptExists,
39
41
  };
40
42
  }
41
43
  function normalizeOptions(options = {}) {
@@ -44,7 +46,9 @@ function normalizeOptions(options = {}) {
44
46
  ...(options.off ?? []),
45
47
  ...(options.fast ? [...SLOW_RULES] : []),
46
48
  ]),
47
- ].sort((a, b) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }));
49
+ ].sort((a, b) =>
50
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
51
+ a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }));
48
52
  const stylisticOptions = options.stylistic === false
49
53
  ? false
50
54
  : typeof options.stylistic === "object"
@@ -53,8 +57,10 @@ function normalizeOptions(options = {}) {
53
57
  if (stylisticOptions && !("jsx" in stylisticOptions)) {
54
58
  stylisticOptions.jsx = options.jsx ?? true;
55
59
  }
60
+ const defaults = defaultOptions();
56
61
  return {
57
- ...defaultOptions(),
62
+ ...defaults,
63
+ typeAware: options.typeAware ?? defaults.typeAware,
58
64
  ...options,
59
65
  off,
60
66
  reportUnusedDisableDirectives: options.reportUnusedDisableDirectives ?? !options.fast,
@@ -66,17 +72,15 @@ function normalizeOptions(options = {}) {
66
72
  */
67
73
  export async function jsse(options = {}, ...userConfigs) {
68
74
  const normalizedOptions = normalizeOptions(options);
69
- const { componentExts, debug, gitignore: enableGitignore, isInEditor, off, overrides = {}, prettier: enablePrettier, react: enableReact, reportUnusedDisableDirectives, stylistic: stylisticOptions, tsPrefix, typeAware, typescript: enableTypeScript, } = normalizedOptions;
75
+ const { command: enableCommand, componentExts, debug, gitignore: enableGitignore, isInEditor, jsonc: enableJsonc, markdown: enableMarkdown, off, overrides = {}, prettier: enablePrettier, react: enableReact, reportUnusedDisableDirectives, rootId, // default to "jsse"
76
+ stylistic: stylisticOptions, tailwind: tailwindOptions, test: enableTest, tsPrefix, typeAware, typescript: typescriptOptions, yaml: enableYaml, } = normalizedOptions;
70
77
  if (debug || process.argv.includes("--debug")) {
71
78
  log.level = "debug";
72
79
  }
73
80
  log.debug("@jsse/eslint-config debug=true");
74
81
  log.debug("@jsse/eslint-config isInEditor", isInEditor);
75
- log.debug("@jsse/eslint-config enableTypeScript", enableTypeScript);
82
+ log.debug("@jsse/eslint-config enableTypeScript", typescriptOptions);
76
83
  log.debug("@jsse/eslint-config normalizedOptions", normalizedOptions);
77
- // const stylisticOptions =
78
- // options.stylistic === false ? false : typeof options.stylistic === "object" ? options.stylistic : {};
79
- // if (stylisticOptions && !("jsx" in stylisticOptions)) stylisticOptions.jsx = options.jsx ?? true;
80
84
  const configs = [];
81
85
  if (enableGitignore) {
82
86
  if (typeof enableGitignore === "boolean") {
@@ -102,15 +106,25 @@ export async function jsse(options = {}, ...userConfigs) {
102
106
  isInEditor,
103
107
  overrides: overrides.javascript,
104
108
  reportUnusedDisableDirectives,
105
- }), comments(), n(), jsdoc(), imports({
109
+ }), eslintComments(), n(), jsdoc(), imports({
106
110
  stylistic: stylisticOptions,
107
- }), unicorn(), antfu(), perfectionist());
108
- if (normalizedOptions.command) {
111
+ }), unicorn(), antfu(), perfectionist(), deMorgan());
112
+ /**
113
+ * =========================================================================
114
+ * COMMAND
115
+ * ========================================================================
116
+ */
117
+ if (enableCommand) {
109
118
  configs.push(command());
110
119
  }
111
- if (enableTypeScript) {
120
+ /**
121
+ * =========================================================================
122
+ * TYPESCRIPT
123
+ * ========================================================================
124
+ */
125
+ if (typescriptOptions) {
112
126
  const tscfg = typescript({
113
- ...(typeof enableTypeScript === "boolean" ? {} : enableTypeScript),
127
+ ...(typeof typescriptOptions === "boolean" ? {} : typescriptOptions),
114
128
  componentExts,
115
129
  overrides: overrides.typescript,
116
130
  prefix: {
@@ -122,14 +136,14 @@ export async function jsse(options = {}, ...userConfigs) {
122
136
  });
123
137
  configs.push(tscfg, tsdoc());
124
138
  }
125
- if (normalizedOptions.markdown) {
139
+ if (enableMarkdown) {
126
140
  configs.push(markdown());
127
141
  }
128
- if (normalizedOptions.yaml) {
142
+ if (enableYaml) {
129
143
  const ymlConfig = yml();
130
144
  configs.push(ymlConfig);
131
145
  }
132
- if (normalizedOptions.react) {
146
+ if (enableReact) {
133
147
  configs.push(react({
134
148
  // use react refresh if not explicitly disabled w/ 'false'
135
149
  reactRefresh: normalizedOptions.reactRefresh !== false,
@@ -141,7 +155,7 @@ export async function jsse(options = {}, ...userConfigs) {
141
155
  if (stylisticOptions) {
142
156
  configs.push(stylistic(stylisticOptions === true ? {} : stylisticOptions));
143
157
  }
144
- if (normalizedOptions.test) {
158
+ if (enableTest) {
145
159
  configs.push(vitest({
146
160
  isInEditor,
147
161
  overrides: overrides.test,
@@ -150,7 +164,7 @@ export async function jsse(options = {}, ...userConfigs) {
150
164
  overrides: overrides.test,
151
165
  }));
152
166
  }
153
- if (normalizedOptions.jsonc ?? true) {
167
+ if (enableJsonc ?? true) {
154
168
  configs.push(jsonc({
155
169
  overrides: overrides.jsonc,
156
170
  stylistic: stylisticOptions,
@@ -158,13 +172,8 @@ export async function jsse(options = {}, ...userConfigs) {
158
172
  extendTsconfigGlobs: normalizedOptions.extendTsconfigLintGlobs,
159
173
  }));
160
174
  }
161
- if (normalizedOptions.tailwind) {
162
- try {
163
- configs.push(tailwind(normalizedOptions.tailwind === true ? {} : normalizedOptions.tailwind));
164
- }
165
- catch (e) {
166
- log.error("Tailwind config failed", e);
167
- }
175
+ if (tailwindOptions) {
176
+ console.error("Tailwind configuration is deprecate4d...");
168
177
  }
169
178
  if (normalizedOptions.prettier) {
170
179
  configs.push(prettier());
@@ -185,11 +194,11 @@ export async function jsse(options = {}, ...userConfigs) {
185
194
  if (off && off.length > 0) {
186
195
  turnOffRules(combinedConfigs, off);
187
196
  }
188
- if (normalizedOptions.rootId !== "jsse") {
197
+ if (rootId !== "jsse") {
189
198
  for (const config of combinedConfigs) {
190
199
  // replace 'jsse' with the custom rootId
191
200
  if (config.name && config.name.startsWith("jsse/")) {
192
- config.name = config.name.replace("jsse/", `${normalizedOptions.rootId}/`);
201
+ config.name = config.name.replace("jsse/", `${rootId}/`);
193
202
  }
194
203
  }
195
204
  }
@@ -200,6 +209,7 @@ export async function jsse(options = {}, ...userConfigs) {
200
209
  if (key.startsWith("@typescript-eslint/")) {
201
210
  // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
202
211
  delete config.plugins[key];
212
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
203
213
  config.plugins[`${tsPrefix}/${key.slice("@typescript-eslint/".length)}`] = value;
204
214
  }
205
215
  }
@@ -1 +1,2 @@
1
- export declare const fixableRules: Record<string, string[]>;
1
+ export declare const FIXABLE_RULES: ("accessor-pairs" | "array-bracket-newline" | "array-bracket-spacing" | "array-callback-return" | "array-element-newline" | "arrow-body-style" | "arrow-parens" | "arrow-spacing" | "block-scoped-var" | "block-spacing" | "brace-style" | "callback-return" | "camelcase" | "capitalized-comments" | "class-methods-use-this" | "comma-dangle" | "comma-spacing" | "comma-style" | "complexity" | "computed-property-spacing" | "consistent-return" | "consistent-this" | "constructor-super" | "curly" | "default-case" | "default-case-last" | "default-param-last" | "dot-location" | "dot-notation" | "eol-last" | "eqeqeq" | "for-direction" | "func-call-spacing" | "func-name-matching" | "func-names" | "func-style" | "function-call-argument-newline" | "function-paren-newline" | "generator-star-spacing" | "getter-return" | "global-require" | "grouped-accessor-pairs" | "guard-for-in" | "handle-callback-err" | "id-blacklist" | "id-denylist" | "id-length" | "id-match" | "implicit-arrow-linebreak" | "indent" | "indent-legacy" | "init-declarations" | "jsx-quotes" | "key-spacing" | "keyword-spacing" | "line-comment-position" | "linebreak-style" | "lines-around-comment" | "lines-around-directive" | "lines-between-class-members" | "logical-assignment-operators" | "max-classes-per-file" | "max-depth" | "max-len" | "max-lines" | "max-lines-per-function" | "max-nested-callbacks" | "max-params" | "max-statements" | "max-statements-per-line" | "multiline-comment-style" | "multiline-ternary" | "new-cap" | "new-parens" | "newline-after-var" | "newline-before-return" | "newline-per-chained-call" | "no-alert" | "no-array-constructor" | "no-async-promise-executor" | "no-await-in-loop" | "no-bitwise" | "no-buffer-constructor" | "no-caller" | "no-case-declarations" | "no-catch-shadow" | "no-class-assign" | "no-compare-neg-zero" | "no-cond-assign" | "no-confusing-arrow" | "no-console" | "no-const-assign" | "no-constant-binary-expression" | "no-constant-condition" | "no-constructor-return" | "no-continue" | "no-control-regex" | "no-debugger" | "no-delete-var" | "no-div-regex" | "no-dupe-args" | "no-dupe-class-members" | "no-dupe-else-if" | "no-dupe-keys" | "no-duplicate-case" | "no-duplicate-imports" | "no-else-return" | "no-empty" | "no-empty-character-class" | "no-empty-function" | "no-empty-pattern" | "no-empty-static-block" | "no-eq-null" | "no-eval" | "no-ex-assign" | "no-extend-native" | "no-extra-bind" | "no-extra-boolean-cast" | "no-extra-label" | "no-extra-parens" | "no-extra-semi" | "no-fallthrough" | "no-floating-decimal" | "no-func-assign" | "no-global-assign" | "no-implicit-coercion" | "no-implicit-globals" | "no-implied-eval" | "no-import-assign" | "no-inline-comments" | "no-inner-declarations" | "no-invalid-regexp" | "no-invalid-this" | "no-irregular-whitespace" | "no-iterator" | "no-label-var" | "no-labels" | "no-lone-blocks" | "no-lonely-if" | "no-loop-func" | "no-loss-of-precision" | "no-magic-numbers" | "no-misleading-character-class" | "no-mixed-operators" | "no-mixed-requires" | "no-mixed-spaces-and-tabs" | "no-multi-assign" | "no-multi-spaces" | "no-multi-str" | "no-multiple-empty-lines" | "no-native-reassign" | "no-negated-condition" | "no-negated-in-lhs" | "no-nested-ternary" | "no-new" | "no-new-func" | "no-new-native-nonconstructor" | "no-new-object" | "no-new-require" | "no-new-symbol" | "no-new-wrappers" | "no-nonoctal-decimal-escape" | "no-obj-calls" | "no-object-constructor" | "no-octal" | "no-octal-escape" | "no-param-reassign" | "no-path-concat" | "no-plusplus" | "no-process-env" | "no-process-exit" | "no-promise-executor-return" | "no-proto" | "no-prototype-builtins" | "no-redeclare" | "no-regex-spaces" | "no-restricted-exports" | "no-restricted-globals" | "no-restricted-imports" | "no-restricted-modules" | "no-restricted-properties" | "no-restricted-syntax" | "no-return-assign" | "no-return-await" | "no-script-url" | "no-self-assign" | "no-self-compare" | "no-sequences" | "no-setter-return" | "no-shadow" | "no-shadow-restricted-names" | "no-spaced-func" | "no-sparse-arrays" | "no-sync" | "no-tabs" | "no-template-curly-in-string" | "no-ternary" | "no-this-before-super" | "no-throw-literal" | "no-trailing-spaces" | "no-unassigned-vars" | "no-undef" | "no-undef-init" | "no-undefined" | "no-underscore-dangle" | "no-unexpected-multiline" | "no-unmodified-loop-condition" | "no-unneeded-ternary" | "no-unreachable" | "no-unreachable-loop" | "no-unsafe-finally" | "no-unsafe-negation" | "no-unsafe-optional-chaining" | "no-unused-expressions" | "no-unused-labels" | "no-unused-private-class-members" | "no-unused-vars" | "no-use-before-define" | "no-useless-assignment" | "no-useless-backreference" | "no-useless-call" | "no-useless-catch" | "no-useless-computed-key" | "no-useless-concat" | "no-useless-constructor" | "no-useless-escape" | "no-useless-rename" | "no-useless-return" | "no-var" | "no-void" | "no-warning-comments" | "no-whitespace-before-property" | "no-with" | "nonblock-statement-body-position" | "object-curly-newline" | "object-curly-spacing" | "object-property-newline" | "object-shorthand" | "one-var" | "one-var-declaration-per-line" | "operator-assignment" | "operator-linebreak" | "padded-blocks" | "padding-line-between-statements" | "prefer-arrow-callback" | "prefer-const" | "prefer-destructuring" | "prefer-exponentiation-operator" | "prefer-named-capture-group" | "prefer-numeric-literals" | "prefer-object-has-own" | "prefer-object-spread" | "prefer-promise-reject-errors" | "prefer-reflect" | "prefer-regex-literals" | "prefer-rest-params" | "prefer-spread" | "prefer-template" | "quote-props" | "quotes" | "radix" | "require-atomic-updates" | "require-await" | "require-unicode-regexp" | "require-yield" | "rest-spread-spacing" | "semi" | "semi-spacing" | "semi-style" | "sort-imports" | "sort-keys" | "sort-vars" | "space-before-blocks" | "space-before-function-paren" | "space-in-parens" | "space-infix-ops" | "space-unary-ops" | "spaced-comment" | "strict" | "switch-colon-spacing" | "symbol-description" | "template-curly-spacing" | "template-tag-spacing" | "unicode-bom" | "use-isnan" | "valid-typeof" | "vars-on-top" | "wrap-iife" | "wrap-regex" | "yield-star-spacing" | "yoda" | "antfu/consistent-chaining" | "antfu/consistent-list-newline" | "antfu/curly" | "antfu/if-newline" | "antfu/import-dedupe" | "antfu/indent-unindent" | "antfu/no-import-dist" | "antfu/no-import-node-modules-by-path" | "antfu/no-top-level-await" | "antfu/no-ts-export-equal" | "antfu/top-level-function" | "command/command" | "de-morgan/no-negated-conjunction" | "de-morgan/no-negated-disjunction" | "eslint-comments/disable-enable-pair" | "eslint-comments/no-aggregating-enable" | "eslint-comments/no-duplicate-disable" | "eslint-comments/no-restricted-disable" | "eslint-comments/no-unlimited-disable" | "eslint-comments/no-unused-disable" | "eslint-comments/no-unused-enable" | "eslint-comments/no-use" | "eslint-comments/require-description" | "import/consistent-type-specifier-style" | "import/default" | "import/dynamic-import-chunkname" | "import/export" | "import/exports-last" | "import/extensions" | "import/first" | "import/group-exports" | "import/imports-first" | "import/max-dependencies" | "import/named" | "import/namespace" | "import/newline-after-import" | "import/no-absolute-path" | "import/no-amd" | "import/no-anonymous-default-export" | "import/no-commonjs" | "import/no-cycle" | "import/no-default-export" | "import/no-deprecated" | "import/no-duplicates" | "import/no-dynamic-require" | "import/no-empty-named-blocks" | "import/no-extraneous-dependencies" | "import/no-import-module-exports" | "import/no-internal-modules" | "import/no-mutable-exports" | "import/no-named-as-default" | "import/no-named-as-default-member" | "import/no-named-default" | "import/no-named-export" | "import/no-namespace" | "import/no-nodejs-modules" | "import/no-relative-packages" | "import/no-relative-parent-imports" | "import/no-rename-default" | "import/no-restricted-paths" | "import/no-self-import" | "import/no-unassigned-import" | "import/no-unresolved" | "import/no-unused-modules" | "import/no-useless-path-segments" | "import/no-webpack-loader-syntax" | "import/order" | "import/prefer-default-export" | "import/unambiguous" | "unused-imports/no-unused-imports" | "unused-imports/no-unused-vars" | "jsdoc/check-access" | "jsdoc/check-alignment" | "jsdoc/check-examples" | "jsdoc/check-indentation" | "jsdoc/check-line-alignment" | "jsdoc/check-param-names" | "jsdoc/check-property-names" | "jsdoc/check-syntax" | "jsdoc/check-tag-names" | "jsdoc/check-template-names" | "jsdoc/check-types" | "jsdoc/check-values" | "jsdoc/convert-to-jsdoc-comments" | "jsdoc/empty-tags" | "jsdoc/implements-on-classes" | "jsdoc/imports-as-dependencies" | "jsdoc/informative-docs" | "jsdoc/lines-before-block" | "jsdoc/match-description" | "jsdoc/match-name" | "jsdoc/multiline-blocks" | "jsdoc/no-bad-blocks" | "jsdoc/no-blank-block-descriptions" | "jsdoc/no-blank-blocks" | "jsdoc/no-defaults" | "jsdoc/no-missing-syntax" | "jsdoc/no-multi-asterisks" | "jsdoc/no-restricted-syntax" | "jsdoc/no-types" | "jsdoc/no-undefined-types" | "jsdoc/require-asterisk-prefix" | "jsdoc/require-description" | "jsdoc/require-description-complete-sentence" | "jsdoc/require-example" | "jsdoc/require-file-overview" | "jsdoc/require-hyphen-before-param-description" | "jsdoc/require-jsdoc" | "jsdoc/require-param" | "jsdoc/require-param-description" | "jsdoc/require-param-name" | "jsdoc/require-param-type" | "jsdoc/require-property" | "jsdoc/require-property-description" | "jsdoc/require-property-name" | "jsdoc/require-property-type" | "jsdoc/require-returns" | "jsdoc/require-returns-check" | "jsdoc/require-returns-description" | "jsdoc/require-returns-type" | "jsdoc/require-template" | "jsdoc/require-throws" | "jsdoc/require-yields" | "jsdoc/require-yields-check" | "jsdoc/sort-tags" | "jsdoc/tag-lines" | "jsdoc/text-escaping" | "jsdoc/valid-types" | "jsonc/array-bracket-newline" | "jsonc/array-bracket-spacing" | "jsonc/array-element-newline" | "jsonc/auto" | "jsonc/comma-dangle" | "jsonc/comma-style" | "jsonc/indent" | "jsonc/key-name-casing" | "jsonc/key-spacing" | "jsonc/no-bigint-literals" | "jsonc/no-binary-expression" | "jsonc/no-binary-numeric-literals" | "jsonc/no-comments" | "jsonc/no-dupe-keys" | "jsonc/no-escape-sequence-in-identifier" | "jsonc/no-floating-decimal" | "jsonc/no-hexadecimal-numeric-literals" | "jsonc/no-infinity" | "jsonc/no-irregular-whitespace" | "jsonc/no-multi-str" | "jsonc/no-nan" | "jsonc/no-number-props" | "jsonc/no-numeric-separators" | "jsonc/no-octal" | "jsonc/no-octal-escape" | "jsonc/no-octal-numeric-literals" | "jsonc/no-parenthesized" | "jsonc/no-plus-sign" | "jsonc/no-regexp-literals" | "jsonc/no-sparse-arrays" | "jsonc/no-template-literals" | "jsonc/no-undefined-value" | "jsonc/no-unicode-codepoint-escapes" | "jsonc/no-useless-escape" | "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" | "jsonc/vue-custom-block/no-parsing-error" | "markdown/fenced-code-language" | "markdown/heading-increment" | "markdown/no-duplicate-headings" | "markdown/no-empty-links" | "markdown/no-html" | "markdown/no-invalid-label-refs" | "markdown/no-missing-label-refs" | "n/callback-return" | "n/exports-style" | "n/file-extension-in-import" | "n/global-require" | "n/handle-callback-err" | "n/hashbang" | "n/no-callback-literal" | "n/no-deprecated-api" | "n/no-exports-assign" | "n/no-extraneous-import" | "n/no-extraneous-require" | "n/no-hide-core-modules" | "n/no-missing-import" | "n/no-missing-require" | "n/no-mixed-requires" | "n/no-new-require" | "n/no-path-concat" | "n/no-process-env" | "n/no-process-exit" | "n/no-restricted-import" | "n/no-restricted-require" | "n/no-sync" | "n/no-unpublished-bin" | "n/no-unpublished-import" | "n/no-unpublished-require" | "n/no-unsupported-features/es-builtins" | "n/no-unsupported-features/es-syntax" | "n/no-unsupported-features/node-builtins" | "n/prefer-global/buffer" | "n/prefer-global/console" | "n/prefer-global/process" | "n/prefer-global/text-decoder" | "n/prefer-global/text-encoder" | "n/prefer-global/url" | "n/prefer-global/url-search-params" | "n/prefer-node-protocol" | "n/prefer-promises/dns" | "n/prefer-promises/fs" | "n/process-exit-as-throw" | "n/shebang" | "no-only-tests/no-only-tests" | "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" | "react-hooks/exhaustive-deps" | "react-hooks/rules-of-hooks" | "react-refresh/only-export-components" | "react/boolean-prop-naming" | "react/button-has-type" | "react/checked-requires-onchange-or-readonly" | "react/default-props-match-prop-types" | "react/destructuring-assignment" | "react/display-name" | "react/forbid-component-props" | "react/forbid-dom-props" | "react/forbid-elements" | "react/forbid-foreign-prop-types" | "react/forbid-prop-types" | "react/forward-ref-uses-ref" | "react/function-component-definition" | "react/hook-use-state" | "react/iframe-missing-sandbox" | "react/jsx-boolean-value" | "react/jsx-child-element-spacing" | "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-filename-extension" | "react/jsx-first-prop-new-line" | "react/jsx-fragments" | "react/jsx-handler-names" | "react/jsx-indent" | "react/jsx-indent-props" | "react/jsx-key" | "react/jsx-max-depth" | "react/jsx-max-props-per-line" | "react/jsx-newline" | "react/jsx-no-bind" | "react/jsx-no-comment-textnodes" | "react/jsx-no-constructed-context-values" | "react/jsx-no-duplicate-props" | "react/jsx-no-leaked-render" | "react/jsx-no-literals" | "react/jsx-no-script-url" | "react/jsx-no-target-blank" | "react/jsx-no-undef" | "react/jsx-no-useless-fragment" | "react/jsx-one-expression-per-line" | "react/jsx-pascal-case" | "react/jsx-props-no-multi-spaces" | "react/jsx-props-no-spread-multi" | "react/jsx-props-no-spreading" | "react/jsx-sort-default-props" | "react/jsx-sort-props" | "react/jsx-space-before-closing" | "react/jsx-tag-spacing" | "react/jsx-uses-react" | "react/jsx-uses-vars" | "react/jsx-wrap-multilines" | "react/no-access-state-in-setstate" | "react/no-adjacent-inline-elements" | "react/no-array-index-key" | "react/no-arrow-function-lifecycle" | "react/no-children-prop" | "react/no-danger" | "react/no-danger-with-children" | "react/no-deprecated" | "react/no-did-mount-set-state" | "react/no-did-update-set-state" | "react/no-direct-mutation-state" | "react/no-find-dom-node" | "react/no-invalid-html-attribute" | "react/no-is-mounted" | "react/no-multi-comp" | "react/no-namespace" | "react/no-object-type-as-default-prop" | "react/no-redundant-should-component-update" | "react/no-render-return-value" | "react/no-set-state" | "react/no-string-refs" | "react/no-this-in-sfc" | "react/no-typos" | "react/no-unescaped-entities" | "react/no-unknown-property" | "react/no-unsafe" | "react/no-unstable-nested-components" | "react/no-unused-class-component-methods" | "react/no-unused-prop-types" | "react/no-unused-state" | "react/no-will-update-set-state" | "react/prefer-es6-class" | "react/prefer-exact-props" | "react/prefer-read-only-props" | "react/prefer-stateless-function" | "react/prop-types" | "react/react-in-jsx-scope" | "react/require-default-props" | "react/require-optimization" | "react/require-render-return" | "react/self-closing-comp" | "react/sort-comp" | "react/sort-default-props" | "react/sort-prop-types" | "react/state-in-constructor" | "react/static-property-placement" | "react/style-prop-object" | "react/void-dom-elements-no-children" | "@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/func-call-spacing" | "@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-child-element-spacing" | "@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-pascal-case" | "@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/line-comment-position" | "@stylistic/linebreak-style" | "@stylistic/lines-around-comment" | "@stylistic/lines-between-class-members" | "@stylistic/max-len" | "@stylistic/max-statements-per-line" | "@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-mixed-operators" | "@stylistic/no-mixed-spaces-and-tabs" | "@stylistic/no-multi-spaces" | "@stylistic/no-multiple-empty-lines" | "@stylistic/no-tabs" | "@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" | "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-mixed-type-in-array" | "toml/no-non-decimal-integer" | "toml/no-space-dots" | "toml/no-unreadable-number-separator" | "toml/padding-line-between-pairs" | "toml/padding-line-between-tables" | "toml/precision-of-fractional-seconds" | "toml/precision-of-integer" | "toml/quoted-keys" | "toml/space-eq-sign" | "toml/spaced-comment" | "toml/table-bracket-spacing" | "toml/tables-order" | "toml/vue-custom-block/no-parsing-error" | "tsdoc/syntax" | "@typescript-eslint/adjacent-overload-signatures" | "@typescript-eslint/array-type" | "@typescript-eslint/await-thenable" | "@typescript-eslint/ban-ts-comment" | "@typescript-eslint/ban-tslint-comment" | "@typescript-eslint/class-literal-property-style" | "@typescript-eslint/class-methods-use-this" | "@typescript-eslint/consistent-generic-constructors" | "@typescript-eslint/consistent-indexed-object-style" | "@typescript-eslint/consistent-return" | "@typescript-eslint/consistent-type-assertions" | "@typescript-eslint/consistent-type-definitions" | "@typescript-eslint/consistent-type-exports" | "@typescript-eslint/consistent-type-imports" | "@typescript-eslint/default-param-last" | "@typescript-eslint/dot-notation" | "@typescript-eslint/explicit-function-return-type" | "@typescript-eslint/explicit-member-accessibility" | "@typescript-eslint/explicit-module-boundary-types" | "@typescript-eslint/init-declarations" | "@typescript-eslint/max-params" | "@typescript-eslint/member-ordering" | "@typescript-eslint/method-signature-style" | "@typescript-eslint/naming-convention" | "@typescript-eslint/no-array-constructor" | "@typescript-eslint/no-array-delete" | "@typescript-eslint/no-base-to-string" | "@typescript-eslint/no-confusing-non-null-assertion" | "@typescript-eslint/no-confusing-void-expression" | "@typescript-eslint/no-deprecated" | "@typescript-eslint/no-dupe-class-members" | "@typescript-eslint/no-duplicate-enum-values" | "@typescript-eslint/no-duplicate-type-constituents" | "@typescript-eslint/no-dynamic-delete" | "@typescript-eslint/no-empty-function" | "@typescript-eslint/no-empty-interface" | "@typescript-eslint/no-empty-object-type" | "@typescript-eslint/no-explicit-any" | "@typescript-eslint/no-extra-non-null-assertion" | "@typescript-eslint/no-extraneous-class" | "@typescript-eslint/no-floating-promises" | "@typescript-eslint/no-for-in-array" | "@typescript-eslint/no-implied-eval" | "@typescript-eslint/no-import-type-side-effects" | "@typescript-eslint/no-inferrable-types" | "@typescript-eslint/no-invalid-this" | "@typescript-eslint/no-invalid-void-type" | "@typescript-eslint/no-loop-func" | "@typescript-eslint/no-loss-of-precision" | "@typescript-eslint/no-magic-numbers" | "@typescript-eslint/no-meaningless-void-operator" | "@typescript-eslint/no-misused-new" | "@typescript-eslint/no-misused-promises" | "@typescript-eslint/no-misused-spread" | "@typescript-eslint/no-mixed-enums" | "@typescript-eslint/no-namespace" | "@typescript-eslint/no-non-null-asserted-nullish-coalescing" | "@typescript-eslint/no-non-null-asserted-optional-chain" | "@typescript-eslint/no-non-null-assertion" | "@typescript-eslint/no-redeclare" | "@typescript-eslint/no-redundant-type-constituents" | "@typescript-eslint/no-require-imports" | "@typescript-eslint/no-restricted-imports" | "@typescript-eslint/no-restricted-types" | "@typescript-eslint/no-shadow" | "@typescript-eslint/no-this-alias" | "@typescript-eslint/no-type-alias" | "@typescript-eslint/no-unnecessary-boolean-literal-compare" | "@typescript-eslint/no-unnecessary-condition" | "@typescript-eslint/no-unnecessary-parameter-property-assignment" | "@typescript-eslint/no-unnecessary-qualifier" | "@typescript-eslint/no-unnecessary-template-expression" | "@typescript-eslint/no-unnecessary-type-arguments" | "@typescript-eslint/no-unnecessary-type-assertion" | "@typescript-eslint/no-unnecessary-type-constraint" | "@typescript-eslint/no-unnecessary-type-conversion" | "@typescript-eslint/no-unnecessary-type-parameters" | "@typescript-eslint/no-unsafe-argument" | "@typescript-eslint/no-unsafe-assignment" | "@typescript-eslint/no-unsafe-call" | "@typescript-eslint/no-unsafe-declaration-merging" | "@typescript-eslint/no-unsafe-enum-comparison" | "@typescript-eslint/no-unsafe-function-type" | "@typescript-eslint/no-unsafe-member-access" | "@typescript-eslint/no-unsafe-return" | "@typescript-eslint/no-unsafe-type-assertion" | "@typescript-eslint/no-unsafe-unary-minus" | "@typescript-eslint/no-unused-expressions" | "@typescript-eslint/no-unused-vars" | "@typescript-eslint/no-use-before-define" | "@typescript-eslint/no-useless-constructor" | "@typescript-eslint/no-useless-empty-export" | "@typescript-eslint/no-var-requires" | "@typescript-eslint/no-wrapper-object-types" | "@typescript-eslint/non-nullable-type-assertion-style" | "@typescript-eslint/only-throw-error" | "@typescript-eslint/parameter-properties" | "@typescript-eslint/prefer-as-const" | "@typescript-eslint/prefer-destructuring" | "@typescript-eslint/prefer-enum-initializers" | "@typescript-eslint/prefer-find" | "@typescript-eslint/prefer-for-of" | "@typescript-eslint/prefer-function-type" | "@typescript-eslint/prefer-includes" | "@typescript-eslint/prefer-literal-enum-member" | "@typescript-eslint/prefer-namespace-keyword" | "@typescript-eslint/prefer-nullish-coalescing" | "@typescript-eslint/prefer-optional-chain" | "@typescript-eslint/prefer-promise-reject-errors" | "@typescript-eslint/prefer-readonly" | "@typescript-eslint/prefer-readonly-parameter-types" | "@typescript-eslint/prefer-reduce-type-parameter" | "@typescript-eslint/prefer-regexp-exec" | "@typescript-eslint/prefer-return-this-type" | "@typescript-eslint/prefer-string-starts-ends-with" | "@typescript-eslint/prefer-ts-expect-error" | "@typescript-eslint/promise-function-async" | "@typescript-eslint/related-getter-setter-pairs" | "@typescript-eslint/require-array-sort-compare" | "@typescript-eslint/require-await" | "@typescript-eslint/restrict-plus-operands" | "@typescript-eslint/restrict-template-expressions" | "@typescript-eslint/return-await" | "@typescript-eslint/sort-type-constituents" | "@typescript-eslint/strict-boolean-expressions" | "@typescript-eslint/switch-exhaustiveness-check" | "@typescript-eslint/triple-slash-reference" | "@typescript-eslint/typedef" | "@typescript-eslint/unbound-method" | "@typescript-eslint/unified-signatures" | "@typescript-eslint/use-unknown-in-catch-callback-variable" | "unicorn/better-regex" | "unicorn/catch-error-name" | "unicorn/consistent-assert" | "unicorn/consistent-date-clone" | "unicorn/consistent-destructuring" | "unicorn/consistent-empty-array-spread" | "unicorn/consistent-existence-index-check" | "unicorn/consistent-function-scoping" | "unicorn/custom-error-definition" | "unicorn/empty-brace-spaces" | "unicorn/error-message" | "unicorn/escape-case" | "unicorn/expiring-todo-comments" | "unicorn/explicit-length-check" | "unicorn/filename-case" | "unicorn/import-style" | "unicorn/new-for-builtins" | "unicorn/no-abusive-eslint-disable" | "unicorn/no-accessor-recursion" | "unicorn/no-anonymous-default-export" | "unicorn/no-array-callback-reference" | "unicorn/no-array-for-each" | "unicorn/no-array-method-this-argument" | "unicorn/no-array-push-push" | "unicorn/no-array-reduce" | "unicorn/no-await-expression-member" | "unicorn/no-await-in-promise-methods" | "unicorn/no-console-spaces" | "unicorn/no-document-cookie" | "unicorn/no-empty-file" | "unicorn/no-for-loop" | "unicorn/no-hex-escape" | "unicorn/no-instanceof-array" | "unicorn/no-instanceof-builtins" | "unicorn/no-invalid-fetch-options" | "unicorn/no-invalid-remove-event-listener" | "unicorn/no-keyword-prefix" | "unicorn/no-length-as-slice-end" | "unicorn/no-lonely-if" | "unicorn/no-magic-array-flat-depth" | "unicorn/no-named-default" | "unicorn/no-negated-condition" | "unicorn/no-negation-in-equality-check" | "unicorn/no-nested-ternary" | "unicorn/no-new-array" | "unicorn/no-new-buffer" | "unicorn/no-null" | "unicorn/no-object-as-default-parameter" | "unicorn/no-process-exit" | "unicorn/no-single-promise-in-promise-methods" | "unicorn/no-static-only-class" | "unicorn/no-thenable" | "unicorn/no-this-assignment" | "unicorn/no-typeof-undefined" | "unicorn/no-unnecessary-array-flat-depth" | "unicorn/no-unnecessary-array-splice-count" | "unicorn/no-unnecessary-await" | "unicorn/no-unnecessary-polyfills" | "unicorn/no-unnecessary-slice-end" | "unicorn/no-unreadable-array-destructuring" | "unicorn/no-unreadable-iife" | "unicorn/no-unused-properties" | "unicorn/no-useless-fallback-in-spread" | "unicorn/no-useless-length-check" | "unicorn/no-useless-promise-resolve-reject" | "unicorn/no-useless-spread" | "unicorn/no-useless-switch-case" | "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-blob-reading-methods" | "unicorn/prefer-code-point" | "unicorn/prefer-date-now" | "unicorn/prefer-default-parameters" | "unicorn/prefer-dom-node-append" | "unicorn/prefer-dom-node-dataset" | "unicorn/prefer-dom-node-remove" | "unicorn/prefer-dom-node-text-content" | "unicorn/prefer-event-target" | "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-logical-operator-over-ternary" | "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-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-structured-clone" | "unicorn/prefer-switch" | "unicorn/prefer-ternary" | "unicorn/prefer-top-level-await" | "unicorn/prefer-type-error" | "unicorn/prevent-abbreviations" | "unicorn/relative-url-style" | "unicorn/require-array-join-separator" | "unicorn/require-number-to-fixed-digits-argument" | "unicorn/require-post-message-target-origin" | "unicorn/string-content" | "unicorn/switch-case-braces" | "unicorn/template-indent" | "unicorn/text-encoding-identifier-case" | "unicorn/throw-new-error" | "vitest/consistent-test-filename" | "vitest/consistent-test-it" | "vitest/expect-expect" | "vitest/max-expects" | "vitest/max-nested-describe" | "vitest/no-alias-methods" | "vitest/no-commented-out-tests" | "vitest/no-conditional-expect" | "vitest/no-conditional-in-test" | "vitest/no-conditional-tests" | "vitest/no-disabled-tests" | "vitest/no-done-callback" | "vitest/no-duplicate-hooks" | "vitest/no-focused-tests" | "vitest/no-hooks" | "vitest/no-identical-title" | "vitest/no-import-node-test" | "vitest/no-interpolation-in-snapshots" | "vitest/no-large-snapshots" | "vitest/no-mocks-import" | "vitest/no-restricted-matchers" | "vitest/no-restricted-vi-methods" | "vitest/no-standalone-expect" | "vitest/no-test-prefixes" | "vitest/no-test-return-statement" | "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-with" | "vitest/prefer-comparison-matcher" | "vitest/prefer-describe-function-title" | "vitest/prefer-each" | "vitest/prefer-equality-matcher" | "vitest/prefer-expect-assertions" | "vitest/prefer-expect-resolves" | "vitest/prefer-hooks-in-order" | "vitest/prefer-hooks-on-top" | "vitest/prefer-lowercase-title" | "vitest/prefer-mock-promise-shorthand" | "vitest/prefer-snapshot-hint" | "vitest/prefer-spy-on" | "vitest/prefer-strict-boolean-matchers" | "vitest/prefer-strict-equal" | "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-hook" | "vitest/require-local-test-context-for-concurrent-snapshots" | "vitest/require-mock-type-parameters" | "vitest/require-to-throw-message" | "vitest/require-top-level-describe" | "vitest/valid-describe-callback" | "vitest/valid-expect" | "vitest/valid-expect-in-promise" | "vitest/valid-title" | "yaml/block-mapping" | "yaml/block-mapping-colon-indicator-newline" | "yaml/block-mapping-question-indicator-newline" | "yaml/block-sequence" | "yaml/block-sequence-hyphen-indicator-newline" | "yaml/file-extension" | "yaml/flow-mapping-curly-newline" | "yaml/flow-mapping-curly-spacing" | "yaml/flow-sequence-bracket-newline" | "yaml/flow-sequence-bracket-spacing" | "yaml/indent" | "yaml/key-name-casing" | "yaml/key-spacing" | "yaml/no-empty-document" | "yaml/no-empty-key" | "yaml/no-empty-mapping-value" | "yaml/no-empty-sequence-entry" | "yaml/no-irregular-whitespace" | "yaml/no-multiple-empty-lines" | "yaml/no-tab-indent" | "yaml/no-trailing-zeros" | "yaml/plain-scalar" | "yaml/quotes" | "yaml/require-string-key" | "yaml/sort-keys" | "yaml/sort-sequence-values" | "yaml/spaced-comment" | "yaml/vue-custom-block/no-parsing-error")[];
2
+ export { FIXABLE_RULES_MAP } from "./generated/fixable-rules-map.js";