@2digits/oxlint-config 0.6.16 → 0.7.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.
package/dist/index.d.mts CHANGED
@@ -1,129 +1,81 @@
1
- import { OxlintConfig, OxlintConfig as OxlintConfig$1, OxlintOverride, RuleMap, RuleName } from "@oxlint-types/define-config";
1
+ import { AllowWarnDeny, DummyRuleMap, DummyRuleMap as DummyRuleMap$1, DummyRuleMap as RuleMap, OxlintConfig, OxlintConfig as OxlintConfig$1, OxlintOverride } from "oxlint";
2
2
  //#region src/rule-options.d.ts
3
- type RestrictedGlobal = string | {
4
- readonly message?: string;
5
- readonly name: string;
6
- };
7
- interface NoUnusedVariablesOptions {
8
- readonly args?: 'after-used' | 'all' | 'none';
9
- readonly argsIgnorePattern?: string;
10
- readonly caughtErrors?: 'all' | 'none';
11
- readonly caughtErrorsIgnorePattern?: string;
12
- readonly ignoreRestSiblings?: boolean;
13
- readonly vars?: 'all' | 'local';
14
- readonly varsIgnorePattern?: string;
15
- }
3
+ type RuleWithOptions<T> = AllowWarnDeny | [AllowWarnDeny, T];
16
4
  interface NoConflictingChecksOptions {
17
5
  readonly checkConfusingCases?: boolean;
18
6
  readonly checkImpossibleCases?: boolean;
19
7
  readonly checkInapplicableChecks?: boolean;
20
8
  }
21
9
  /**
22
- * Correct generated option shapes that differ from Oxlint's ESLint-compatible tuples and register external JS rules.
10
+ * Register rules provided by external JavaScript plugins.
23
11
  *
24
- * Keep these patches synchronized with the installed Oxlint and external plugin versions.
12
+ * Keep these declarations synchronized with the configured plugin versions.
25
13
  */
26
- declare module '@oxlint-types/define-config' {
27
- interface RuleOptionsPatch {
28
- 'eslint/arrow-body-style': 'always' | 'as-needed' | 'never';
29
- 'eslint/eqeqeq': 'always' | 'smart';
30
- 'eslint/func-names': 'always' | 'as-needed' | 'never';
31
- 'eslint/func-style': 'declaration' | 'expression';
32
- 'eslint/logical-assignment-operators': 'always' | 'never';
33
- 'eslint/no-restricted-globals': RestrictedGlobal;
34
- 'eslint/no-unused-vars': NoUnusedVariablesOptions;
35
- 'eslint/prefer-destructuring': {
36
- readonly array?: boolean;
37
- readonly object?: boolean;
38
- };
39
- 'eslint/yoda': 'always' | 'never';
40
- 'react-compiler/react-compiler': never;
41
- 'react_perf/jsx-no-jsx-as-prop': never;
42
- 'react_perf/jsx-no-new-array-as-prop': never;
43
- 'react_perf/jsx-no-new-function-as-prop': never;
44
- 'react_perf/jsx-no-new-object-as-prop': never;
45
- 'stylistic/jsx-curly-newline': never;
46
- 'stylistic/jsx-newline': {
14
+ declare module 'oxlint' {
15
+ interface DummyRuleMap {
16
+ 'react-compiler/react-compiler'?: AllowWarnDeny;
17
+ 'stylistic/jsx-curly-newline'?: AllowWarnDeny;
18
+ 'stylistic/jsx-newline'?: RuleWithOptions<{
47
19
  readonly allowMultilines?: boolean;
48
20
  readonly prevent?: boolean;
49
- };
50
- 'typescript/ban-ts-comment': {
51
- readonly 'ts-check'?: 'allow-with-description' | boolean;
52
- readonly 'ts-expect-error'?: 'allow-with-description' | boolean;
53
- readonly 'ts-ignore'?: 'allow-with-description' | boolean;
54
- readonly 'ts-nocheck'?: 'allow-with-description' | boolean;
55
- readonly minimumDescriptionLength?: number;
56
- };
57
- 'typescript/consistent-generic-constructors': 'constructor' | 'type-annotation';
58
- 'typescript/no-empty-interface': {
59
- readonly allowSingleExtends?: boolean;
60
- };
61
- 'vitest/consistent-each-for': {
62
- readonly describe?: 'each' | 'for';
63
- readonly it?: 'each' | 'for';
64
- readonly suite?: 'each' | 'for';
65
- readonly test?: 'each' | 'for';
66
- };
67
- 'vitest/consistent-vitest-vi': {
68
- readonly fn?: 'vi' | 'vitest';
69
- };
70
- 'zod/array-style': {
21
+ }>;
22
+ 'zod/array-style'?: RuleWithOptions<{
71
23
  readonly style: 'function' | 'method';
72
- };
73
- 'zod/consistent-import': {
24
+ }>;
25
+ 'zod/consistent-import'?: RuleWithOptions<{
74
26
  readonly syntax: 'named' | 'namespace';
75
- };
76
- 'zod/consistent-import-source': {
27
+ }>;
28
+ 'zod/consistent-import-source'?: RuleWithOptions<{
77
29
  readonly sources: Array<string>;
78
- };
79
- 'zod/consistent-object-schema-type': {
30
+ }>;
31
+ 'zod/consistent-object-schema-type'?: RuleWithOptions<{
80
32
  readonly allow: Array<'looseObject' | 'object' | 'strictObject'>;
81
- };
82
- 'zod/consistent-schema-output-type-style': {
33
+ }>;
34
+ 'zod/consistent-schema-output-type-style'?: RuleWithOptions<{
83
35
  readonly style: 'infer' | 'output';
84
- };
85
- 'zod/consistent-schema-var-name': {
36
+ }>;
37
+ 'zod/consistent-schema-var-name'?: RuleWithOptions<{
86
38
  readonly after?: string;
87
39
  readonly before?: string;
88
- };
89
- 'zod/no-any-schema': never;
90
- 'zod/no-coerce-boolean': never;
91
- 'zod/no-conflicting-checks': NoConflictingChecksOptions;
92
- 'zod/no-duplicate-schema-methods': never;
93
- 'zod/no-empty-custom-schema': never;
94
- 'zod/no-native-enum': never;
95
- 'zod/no-number-schema-with-finite': never;
96
- 'zod/no-number-schema-with-int': never;
97
- 'zod/no-number-schema-with-is-finite': never;
98
- 'zod/no-number-schema-with-is-int': never;
99
- 'zod/no-number-schema-with-safe': never;
100
- 'zod/no-number-schema-with-step': never;
101
- 'zod/no-optional-and-default-together': {
40
+ }>;
41
+ 'zod/no-any-schema'?: AllowWarnDeny;
42
+ 'zod/no-coerce-boolean'?: AllowWarnDeny;
43
+ 'zod/no-conflicting-checks'?: RuleWithOptions<NoConflictingChecksOptions>;
44
+ 'zod/no-duplicate-schema-methods'?: AllowWarnDeny;
45
+ 'zod/no-empty-custom-schema'?: AllowWarnDeny;
46
+ 'zod/no-native-enum'?: AllowWarnDeny;
47
+ 'zod/no-number-schema-with-finite'?: AllowWarnDeny;
48
+ 'zod/no-number-schema-with-int'?: AllowWarnDeny;
49
+ 'zod/no-number-schema-with-is-finite'?: AllowWarnDeny;
50
+ 'zod/no-number-schema-with-is-int'?: AllowWarnDeny;
51
+ 'zod/no-number-schema-with-safe'?: AllowWarnDeny;
52
+ 'zod/no-number-schema-with-step'?: AllowWarnDeny;
53
+ 'zod/no-optional-and-default-together'?: RuleWithOptions<{
102
54
  readonly preferredMethod: 'default' | 'none' | 'optional';
103
- };
104
- 'zod/no-promise-schema': never;
105
- 'zod/no-schema-with-is-nullable': never;
106
- 'zod/no-schema-with-is-optional': never;
107
- 'zod/no-string-schema-with-uuid': never;
108
- 'zod/no-throw-in-refine': never;
109
- 'zod/no-transform-in-record-key': never;
110
- 'zod/no-unknown-schema': never;
111
- 'zod/no-unnecessary-readonly': never;
112
- 'zod/prefer-enum-over-literal-union': never;
113
- 'zod/prefer-loose-object': never;
114
- 'zod/prefer-meta': never;
115
- 'zod/prefer-meta-last': never;
116
- 'zod/prefer-strict-object': never;
117
- 'zod/prefer-string-schema-with-trim': never;
118
- 'zod/prefer-top-level-string-formats': never;
119
- 'zod/prefer-trim-before-string-length-checks': never;
120
- 'zod/prefer-tuple-over-array-length': never;
121
- 'zod/require-brand-type-parameter': never;
122
- 'zod/require-error-message': never;
123
- 'zod/schema-error-property-style': {
55
+ }>;
56
+ 'zod/no-promise-schema'?: AllowWarnDeny;
57
+ 'zod/no-schema-with-is-nullable'?: AllowWarnDeny;
58
+ 'zod/no-schema-with-is-optional'?: AllowWarnDeny;
59
+ 'zod/no-string-schema-with-uuid'?: AllowWarnDeny;
60
+ 'zod/no-throw-in-refine'?: AllowWarnDeny;
61
+ 'zod/no-transform-in-record-key'?: AllowWarnDeny;
62
+ 'zod/no-unknown-schema'?: AllowWarnDeny;
63
+ 'zod/no-unnecessary-readonly'?: AllowWarnDeny;
64
+ 'zod/prefer-enum-over-literal-union'?: AllowWarnDeny;
65
+ 'zod/prefer-loose-object'?: AllowWarnDeny;
66
+ 'zod/prefer-meta'?: AllowWarnDeny;
67
+ 'zod/prefer-meta-last'?: AllowWarnDeny;
68
+ 'zod/prefer-strict-object'?: AllowWarnDeny;
69
+ 'zod/prefer-string-schema-with-trim'?: AllowWarnDeny;
70
+ 'zod/prefer-top-level-string-formats'?: AllowWarnDeny;
71
+ 'zod/prefer-trim-before-string-length-checks'?: AllowWarnDeny;
72
+ 'zod/prefer-tuple-over-array-length'?: AllowWarnDeny;
73
+ 'zod/require-brand-type-parameter'?: AllowWarnDeny;
74
+ 'zod/require-error-message'?: AllowWarnDeny;
75
+ 'zod/schema-error-property-style'?: RuleWithOptions<{
124
76
  readonly example: string;
125
77
  readonly selector: string;
126
- };
78
+ }>;
127
79
  }
128
80
  }
129
81
  //#endregion
@@ -132,209 +84,256 @@ declare module '@oxlint-types/define-config' {
132
84
  * Complete 2digits Oxlint configuration.
133
85
  */
134
86
  declare const twoDigits: Omit<{
135
- readonly env: {
136
- readonly browser: true;
137
- readonly node: true;
87
+ env: {
88
+ browser: true;
89
+ node: true;
138
90
  };
139
- readonly options: {
140
- readonly denyWarnings: true;
141
- readonly reportUnusedDisableDirectives: "deny";
91
+ options: {
92
+ denyWarnings: true;
93
+ reportUnusedDisableDirectives: "deny";
142
94
  };
143
- readonly categories: {
144
- readonly nursery: "off";
145
- readonly pedantic: "off";
146
- readonly correctness: "off";
147
- readonly perf: "off";
148
- readonly style: "off";
149
- readonly restriction: "off";
150
- readonly suspicious: "off";
95
+ categories: {
96
+ nursery: "off";
97
+ pedantic: "off";
98
+ correctness: "off";
99
+ perf: "off";
100
+ style: "off";
101
+ restriction: "off";
102
+ suspicious: "off";
151
103
  };
152
- readonly extends: [{
153
- readonly plugins: ["eslint"];
154
- readonly rules: {
155
- 'eslint/accessor-pairs': ["error", {
104
+ extends: ({
105
+ plugins: "import"[];
106
+ rules: {
107
+ 'import/consistent-type-specifier-style': undefined;
108
+ 'import/default': "error";
109
+ 'import/export': "error";
110
+ 'import/exports-last': undefined;
111
+ 'import/extensions': undefined;
112
+ 'import/first': ["error", "disable-absolute-first"];
113
+ 'import/group-exports': undefined;
114
+ 'import/max-dependencies': undefined;
115
+ 'import/named': undefined;
116
+ 'import/namespace': "error";
117
+ 'import/no-absolute-path': "error";
118
+ 'import/no-amd': "error";
119
+ 'import/no-anonymous-default-export': "error";
120
+ 'import/no-commonjs': undefined;
121
+ 'import/no-cycle': "error";
122
+ 'import/no-default-export': undefined;
123
+ 'import/no-duplicates': "error";
124
+ 'import/no-dynamic-require': "error";
125
+ 'import/no-empty-named-blocks': "error";
126
+ 'import/no-mutable-exports': undefined;
127
+ 'import/no-named-as-default': "error";
128
+ 'import/no-named-as-default-member': "error";
129
+ 'import/no-named-default': "error";
130
+ 'import/no-named-export': undefined;
131
+ 'import/no-namespace': undefined;
132
+ 'import/no-nodejs-modules': undefined;
133
+ 'import/no-relative-parent-imports': undefined;
134
+ 'import/no-self-import': "error";
135
+ 'import/no-unassigned-import': undefined;
136
+ 'import/no-webpack-loader-syntax': "error";
137
+ 'import/prefer-default-export': undefined;
138
+ 'import/unambiguous': undefined;
139
+ 'import/newline-after-import': undefined;
140
+ };
141
+ } | {
142
+ plugins: "eslint"[];
143
+ rules: {
144
+ 'accessor-pairs': ["error", {
156
145
  enforceForClassMembers: true;
157
146
  setWithoutGet: true;
158
147
  }];
159
- 'eslint/array-callback-return': "error";
160
- 'eslint/arrow-body-style': ["error", "as-needed", {
161
- requireReturnForObjectLiteral: boolean;
162
- }];
163
- 'eslint/block-scoped-var': "error";
164
- 'eslint/capitalized-comments': "error";
165
- 'eslint/class-methods-use-this': undefined;
166
- 'eslint/complexity': ["error", {
167
- variant: "modified";
168
- max: number;
169
- }];
170
- 'eslint/constructor-super': "error";
171
- 'eslint/curly': "error";
172
- 'eslint/default-case': undefined;
173
- 'eslint/default-case-last': "error";
174
- 'eslint/default-param-last': "error";
175
- 'eslint/eqeqeq': ["error", "smart"];
176
- 'eslint/for-direction': "error";
177
- 'eslint/func-name-matching': undefined;
178
- 'eslint/func-names': ["error", "always", {
179
- generators: string;
180
- }];
181
- 'eslint/func-style': ["error", "declaration", {
182
- allowTypeAnnotation: boolean;
183
- }];
184
- 'eslint/getter-return': "error";
185
- 'eslint/grouped-accessor-pairs': "error";
186
- 'eslint/guard-for-in': "error";
187
- 'eslint/id-length': undefined;
188
- 'eslint/init-declarations': undefined;
189
- 'eslint/logical-assignment-operators': ["error", "always"];
190
- 'eslint/max-classes-per-file': undefined;
191
- 'eslint/max-depth': undefined;
192
- 'eslint/max-lines': undefined;
193
- 'eslint/max-lines-per-function': undefined;
194
- 'eslint/max-nested-callbacks': undefined;
195
- 'eslint/max-params': undefined;
196
- 'eslint/max-statements': undefined;
197
- 'eslint/new-cap': ["error", {
148
+ 'array-callback-return': "error";
149
+ 'arrow-body-style': ["error", "as-needed", {
150
+ requireReturnForObjectLiteral: false;
151
+ }];
152
+ 'block-scoped-var': "error";
153
+ 'capitalized-comments': "error";
154
+ 'class-methods-use-this': undefined;
155
+ 'constructor-super': "error";
156
+ 'default-case': undefined;
157
+ 'default-case-last': "error";
158
+ 'default-param-last': "error";
159
+ 'for-direction': "error";
160
+ 'func-name-matching': undefined;
161
+ 'func-names': ["error", "always", {
162
+ generators: "never";
163
+ }];
164
+ 'func-style': ["error", "declaration", {
165
+ allowTypeAnnotation: true;
166
+ }];
167
+ 'getter-return': "error";
168
+ 'grouped-accessor-pairs': "error";
169
+ 'guard-for-in': "error";
170
+ 'id-length': undefined;
171
+ 'init-declarations': undefined;
172
+ 'logical-assignment-operators': ["error", "always"];
173
+ 'max-classes-per-file': undefined;
174
+ 'max-depth': undefined;
175
+ 'max-lines': undefined;
176
+ 'max-lines-per-function': undefined;
177
+ 'max-nested-callbacks': undefined;
178
+ 'max-params': undefined;
179
+ 'max-statements': undefined;
180
+ 'new-cap': ["error", {
198
181
  capIsNew: false;
199
182
  newIsCap: true;
200
183
  properties: true;
201
184
  }];
202
- 'eslint/no-alert': "error";
203
- 'eslint/no-array-constructor': "error";
204
- 'eslint/no-async-promise-executor': "error";
205
- 'eslint/no-await-in-loop': "error";
206
- 'eslint/no-bitwise': undefined;
207
- 'eslint/no-caller': "error";
208
- 'eslint/no-case-declarations': "error";
209
- 'eslint/no-class-assign': "error";
210
- 'eslint/no-compare-neg-zero': "error";
211
- 'eslint/no-cond-assign': ["error", "always"];
212
- 'eslint/no-console': undefined;
213
- 'eslint/no-const-assign': "error";
214
- 'eslint/no-constant-binary-expression': "error";
215
- 'eslint/no-constant-condition': ["error", {
216
- checkLoops: "allExceptWhileTrue";
217
- }];
218
- 'eslint/no-constructor-return': "error";
219
- 'eslint/no-continue': undefined;
220
- 'eslint/no-control-regex': "error";
221
- 'eslint/no-debugger': "error";
222
- 'eslint/no-delete-var': "error";
223
- 'eslint/no-div-regex': "error";
224
- 'eslint/no-dupe-class-members': "error";
225
- 'eslint/no-dupe-else-if': "error";
226
- 'eslint/no-dupe-keys': "error";
227
- 'eslint/no-duplicate-case': "error";
228
- 'eslint/no-duplicate-imports': ["error", {
185
+ 'no-alert': "error";
186
+ 'no-array-constructor': "error";
187
+ 'no-async-promise-executor': "error";
188
+ 'no-await-in-loop': "error";
189
+ 'no-bitwise': undefined;
190
+ 'no-caller': "error";
191
+ 'no-case-declarations': "error";
192
+ 'no-class-assign': "error";
193
+ 'no-compare-neg-zero': "error";
194
+ 'no-cond-assign': ["error", "always"];
195
+ 'no-console': undefined;
196
+ 'no-const-assign': "error";
197
+ 'no-constant-binary-expression': "error";
198
+ 'no-constant-condition': "error";
199
+ 'no-constructor-return': "error";
200
+ 'no-continue': undefined;
201
+ 'no-control-regex': "error";
202
+ 'no-debugger': "error";
203
+ 'no-delete-var': "error";
204
+ 'no-div-regex': "error";
205
+ 'no-dupe-class-members': "error";
206
+ 'no-dupe-else-if': "error";
207
+ 'no-dupe-keys': "error";
208
+ 'no-duplicate-case': "error";
209
+ 'no-duplicate-imports': ["error", {
229
210
  allowSeparateTypeImports: false;
230
211
  includeExports: false;
231
212
  }];
232
- 'eslint/no-else-return': ["error", {
213
+ 'no-else-return': ["error", {
233
214
  allowElseIf: false;
234
215
  }];
235
- 'eslint/no-empty': ["error", {
216
+ 'no-empty': ["error", {
236
217
  allowEmptyCatch: true;
237
218
  }];
238
- 'eslint/no-empty-character-class': "error";
239
- 'eslint/no-empty-function': undefined;
240
- 'eslint/no-empty-pattern': "error";
241
- 'eslint/no-empty-static-block': "error";
242
- 'eslint/no-eq-null': undefined;
243
- 'eslint/no-eval': "error";
244
- 'eslint/no-ex-assign': "error";
245
- 'eslint/no-extend-native': "error";
246
- 'eslint/no-extra-bind': "error";
247
- 'eslint/no-extra-boolean-cast': ["error", {
248
- enforceForInnerExpressions: true;
249
- }];
250
- 'eslint/no-extra-label': "error";
251
- 'eslint/no-fallthrough': "error";
252
- 'eslint/no-func-assign': "error";
253
- 'eslint/no-global-assign': "error";
254
- 'eslint/no-implicit-coercion': undefined;
255
- 'eslint/no-import-assign': "error";
256
- 'eslint/no-inline-comments': undefined;
257
- 'eslint/no-inner-declarations': undefined;
258
- 'eslint/no-invalid-regexp': "error";
259
- 'eslint/no-irregular-whitespace': "error";
260
- 'eslint/no-iterator': "error";
261
- 'eslint/no-label-var': "error";
262
- 'eslint/no-labels': ["error", {
219
+ 'no-empty-character-class': "error";
220
+ 'no-empty-function': undefined;
221
+ 'no-empty-pattern': "error";
222
+ 'no-empty-static-block': "error";
223
+ 'no-eq-null': undefined;
224
+ 'no-eval': "error";
225
+ 'no-ex-assign': "error";
226
+ 'no-extend-native': "error";
227
+ 'no-extra-bind': "error";
228
+ 'no-extra-boolean-cast': "error";
229
+ 'no-extra-label': "error";
230
+ 'no-fallthrough': "error";
231
+ 'no-func-assign': "error";
232
+ 'no-global-assign': "error";
233
+ 'no-implicit-coercion': undefined;
234
+ 'no-implicit-globals': ["error", {
235
+ lexicalBindings: true;
236
+ }];
237
+ 'no-implied-eval': "error";
238
+ 'no-import-assign': "error";
239
+ 'no-inline-comments': undefined;
240
+ 'no-inner-declarations': undefined;
241
+ 'no-invalid-regexp': "error";
242
+ 'no-irregular-whitespace': "error";
243
+ 'no-iterator': "error";
244
+ 'no-label-var': "error";
245
+ 'no-labels': ["error", {
263
246
  allowLoop: false;
264
247
  allowSwitch: false;
265
248
  }];
266
- 'eslint/no-lone-blocks': "error";
267
- 'eslint/no-lonely-if': "error";
268
- 'eslint/no-loop-func': "error";
269
- 'eslint/no-loss-of-precision': "error";
270
- 'eslint/no-magic-numbers': undefined;
271
- 'eslint/no-misleading-character-class': "error";
272
- 'eslint/no-multi-assign': "error";
273
- 'eslint/no-multi-str': "error";
274
- 'eslint/no-negated-condition': "error";
275
- 'eslint/no-nested-ternary': undefined;
276
- 'eslint/no-new': "error";
277
- 'eslint/no-new-func': "error";
278
- 'eslint/no-new-native-nonconstructor': "error";
279
- 'eslint/no-new-wrappers': "error";
280
- 'eslint/no-nonoctal-decimal-escape': "error";
281
- 'eslint/no-obj-calls': "error";
282
- 'eslint/no-object-constructor': "error";
283
- 'eslint/no-param-reassign': undefined;
284
- 'eslint/no-plusplus': undefined;
285
- 'eslint/no-promise-executor-return': undefined;
286
- 'eslint/no-proto': "error";
287
- 'eslint/no-prototype-builtins': "error";
288
- 'eslint/no-redeclare': "error";
289
- 'eslint/no-regex-spaces': "error";
290
- 'eslint/no-restricted-exports': undefined;
291
- 'eslint/no-restricted-globals': ["error", {
249
+ 'no-lone-blocks': "error";
250
+ 'no-lonely-if': "error";
251
+ 'no-loop-func': "error";
252
+ 'no-loss-of-precision': "error";
253
+ 'no-magic-numbers': undefined;
254
+ 'no-misleading-character-class': "error";
255
+ 'no-multi-assign': "error";
256
+ 'no-multi-str': "error";
257
+ 'no-negated-condition': "error";
258
+ 'no-nested-ternary': undefined;
259
+ 'no-new': "error";
260
+ 'no-new-func': "error";
261
+ 'no-new-native-nonconstructor': "error";
262
+ 'no-new-wrappers': "error";
263
+ 'no-nonoctal-decimal-escape': "error";
264
+ 'no-obj-calls': "error";
265
+ 'no-object-constructor': "error";
266
+ 'no-param-reassign': undefined;
267
+ 'no-plusplus': undefined;
268
+ 'no-promise-executor-return': "error";
269
+ 'no-proto': "error";
270
+ 'no-prototype-builtins': "error";
271
+ 'no-redeclare': ["error", {
272
+ builtinGlobals: false;
273
+ }];
274
+ 'no-regex-spaces': "error";
275
+ 'no-restricted-exports': undefined;
276
+ 'no-restricted-globals': ["error", {
292
277
  message: string;
293
278
  name: string;
294
279
  }, {
295
280
  message: string;
296
281
  name: string;
297
282
  }];
298
- 'eslint/no-restricted-imports': undefined;
299
- 'eslint/no-restricted-properties': undefined;
300
- 'eslint/no-return-assign': "error";
301
- 'eslint/no-script-url': "error";
302
- 'eslint/no-self-assign': ["error", {
283
+ 'no-restricted-imports': undefined;
284
+ 'no-restricted-properties': ["error", {
285
+ message: string;
286
+ property: string;
287
+ }, {
288
+ message: string;
289
+ property: string;
290
+ }, {
291
+ message: string;
292
+ property: string;
293
+ }, {
294
+ message: string;
295
+ property: string;
296
+ }, {
297
+ message: string;
298
+ property: string;
299
+ }];
300
+ 'no-return-assign': "error";
301
+ 'no-script-url': "error";
302
+ 'no-self-assign': ["error", {
303
303
  props: true;
304
304
  }];
305
- 'eslint/no-self-compare': "error";
306
- 'eslint/no-sequences': "error";
307
- 'eslint/no-setter-return': "error";
308
- 'eslint/no-shadow': undefined;
309
- 'eslint/no-shadow-restricted-names': "error";
310
- 'eslint/no-sparse-arrays': "error";
311
- 'eslint/no-template-curly-in-string': "error";
312
- 'eslint/no-ternary': undefined;
313
- 'eslint/no-this-before-super': "error";
314
- 'eslint/no-throw-literal': "off";
315
- 'eslint/no-unassigned-vars': "error";
316
- 'eslint/no-undef': undefined;
317
- 'eslint/no-undefined': undefined;
318
- 'eslint/no-underscore-dangle': undefined;
319
- 'eslint/no-unexpected-multiline': "error";
320
- 'eslint/no-unmodified-loop-condition': "error";
321
- 'eslint/no-unneeded-ternary': ["error", {
305
+ 'no-self-compare': "error";
306
+ 'no-sequences': "error";
307
+ 'no-setter-return': "error";
308
+ 'no-shadow': "off";
309
+ 'no-shadow-restricted-names': "error";
310
+ 'no-sparse-arrays': "error";
311
+ 'no-template-curly-in-string': "error";
312
+ 'no-ternary': undefined;
313
+ 'no-this-before-super': "error";
314
+ 'no-throw-literal': "error";
315
+ 'no-unassigned-vars': "error";
316
+ 'no-undef': "error";
317
+ 'no-undefined': undefined;
318
+ 'no-underscore-dangle': undefined;
319
+ 'no-unexpected-multiline': "error";
320
+ 'no-unmodified-loop-condition': "error";
321
+ 'no-unneeded-ternary': ["error", {
322
322
  defaultAssignment: false;
323
323
  }];
324
- 'eslint/no-unreachable': "error";
325
- 'eslint/no-unsafe-finally': "error";
326
- 'eslint/no-unsafe-negation': "error";
327
- 'eslint/no-unsafe-optional-chaining': ["error", {
328
- disallowArithmeticOperators: true;
329
- }];
330
- 'eslint/no-unused-expressions': ["error", {
324
+ 'no-unreachable': "error";
325
+ 'no-unreachable-loop': "error";
326
+ 'no-unsafe-finally': "error";
327
+ 'no-unsafe-negation': "error";
328
+ 'no-unsafe-optional-chaining': "error";
329
+ 'no-unused-expressions': ["error", {
331
330
  allowShortCircuit: true;
332
331
  allowTaggedTemplates: true;
333
332
  allowTernary: true;
334
333
  }];
335
- 'eslint/no-unused-labels': "error";
336
- 'eslint/no-unused-private-class-members': "error";
337
- 'eslint/no-unused-vars': ["error", {
334
+ 'no-unused-labels': "error";
335
+ 'no-unused-private-class-members': "error";
336
+ 'no-unused-vars': ["error", {
338
337
  args: "none";
339
338
  caughtErrors: "none";
340
339
  vars: "all";
@@ -342,71 +341,157 @@ declare const twoDigits: Omit<{
342
341
  ignoreRestSiblings: true;
343
342
  varsIgnorePattern: string;
344
343
  }];
345
- 'eslint/no-use-before-define': undefined;
346
- 'eslint/no-useless-assignment': undefined;
347
- 'eslint/no-useless-backreference': "error";
348
- 'eslint/no-useless-call': "error";
349
- 'eslint/no-useless-catch': "error";
350
- 'eslint/no-useless-computed-key': "error";
351
- 'eslint/no-useless-concat': "error";
352
- 'eslint/no-useless-constructor': "error";
353
- 'eslint/no-useless-escape': "error";
354
- 'eslint/no-useless-rename': "error";
355
- 'eslint/no-useless-return': "error";
356
- 'eslint/no-var': "error";
357
- 'eslint/no-void': undefined;
358
- 'eslint/no-warning-comments': undefined;
359
- 'eslint/no-with': "error";
360
- 'eslint/object-shorthand': "error";
361
- 'eslint/operator-assignment': ["error", "always"];
362
- 'eslint/prefer-const': ["error", {
344
+ 'no-use-before-define': undefined;
345
+ 'no-useless-assignment': "off";
346
+ 'no-useless-backreference': "error";
347
+ 'no-useless-call': "error";
348
+ 'no-useless-catch': "error";
349
+ 'no-useless-computed-key': "error";
350
+ 'no-useless-concat': "error";
351
+ 'no-useless-constructor': "error";
352
+ 'no-useless-escape': "error";
353
+ 'no-useless-rename': "error";
354
+ 'no-useless-return': "error";
355
+ 'no-var': "error";
356
+ 'no-void': undefined;
357
+ 'no-warning-comments': undefined;
358
+ 'no-with': "error";
359
+ 'object-shorthand': ["error", "always", {
360
+ avoidQuotes: true;
361
+ ignoreConstructors: false;
362
+ }];
363
+ 'one-var': undefined;
364
+ 'operator-assignment': ["error", "always"];
365
+ 'prefer-arrow-callback': ["error", {
366
+ allowNamedFunctions: true;
367
+ allowUnboundThis: true;
368
+ }];
369
+ 'prefer-const': ["error", {
363
370
  destructuring: "all";
364
371
  ignoreReadBeforeAssign: true;
365
372
  }];
366
- 'eslint/prefer-destructuring': ["error", {
373
+ 'prefer-destructuring': ["error", {
367
374
  array: true;
368
375
  object: true;
369
376
  }, {
370
- enforceForRenamedProperties: boolean;
371
- }];
372
- 'eslint/prefer-exponentiation-operator': "error";
373
- 'eslint/prefer-numeric-literals': "error";
374
- 'eslint/prefer-object-has-own': "error";
375
- 'eslint/prefer-object-spread': "error";
376
- 'eslint/prefer-promise-reject-errors': "error";
377
- 'eslint/prefer-regex-literals': undefined;
378
- 'eslint/prefer-rest-params': "error";
379
- 'eslint/prefer-spread': "error";
380
- 'eslint/prefer-template': "error";
381
- 'eslint/preserve-caught-error': "error";
382
- 'eslint/radix': "error";
383
- 'eslint/require-await': undefined;
384
- 'eslint/require-unicode-regexp': undefined;
385
- 'eslint/require-yield': "error";
386
- 'eslint/sort-imports': undefined;
387
- 'eslint/sort-keys': undefined;
388
- 'eslint/sort-vars': "error";
389
- 'eslint/symbol-description': "error";
390
- 'eslint/unicode-bom': ["error", "never"];
391
- 'eslint/use-isnan': ["error", {
377
+ enforceForRenamedProperties: true;
378
+ }];
379
+ 'prefer-exponentiation-operator': "error";
380
+ 'prefer-named-capture-group': undefined;
381
+ 'prefer-numeric-literals': "error";
382
+ 'prefer-object-has-own': "error";
383
+ 'prefer-object-spread': "error";
384
+ 'prefer-promise-reject-errors': "error";
385
+ 'prefer-regex-literals': ["error", {
386
+ disallowRedundantWrapping: true;
387
+ }];
388
+ 'prefer-rest-params': "error";
389
+ 'prefer-spread': "error";
390
+ 'prefer-template': "error";
391
+ 'preserve-caught-error': "error";
392
+ 'require-await': undefined;
393
+ 'require-unicode-regexp': undefined;
394
+ 'require-yield': "error";
395
+ 'sort-imports': undefined;
396
+ 'sort-keys': undefined;
397
+ 'sort-vars': "error";
398
+ 'symbol-description': "error";
399
+ 'unicode-bom': ["error", "never"];
400
+ 'use-isnan': ["error", {
392
401
  enforceForIndexOf: true;
393
402
  enforceForSwitchCase: true;
394
403
  }];
395
- 'eslint/valid-typeof': ["error", {
404
+ 'valid-typeof': ["error", {
396
405
  requireStringLiterals: true;
397
406
  }];
398
- 'eslint/vars-on-top': "error";
399
- 'eslint/yoda': ["error", "never"];
400
- 'eslint/no-implicit-globals': undefined;
401
- 'eslint/prefer-arrow-callback': undefined;
402
- 'eslint/id-match': undefined;
403
- 'eslint/no-implied-eval': undefined;
404
- 'eslint/prefer-named-capture-group': undefined;
405
- 'eslint/no-unreachable-loop': undefined;
407
+ 'vars-on-top': "error";
408
+ complexity: ["error", {
409
+ variant: "modified";
410
+ max: number;
411
+ }];
412
+ curly: "error";
413
+ eqeqeq: ["error", "smart"];
414
+ radix: "error";
415
+ yoda: ["error", "never"];
416
+ };
417
+ } | {
418
+ plugins: "jsdoc"[];
419
+ rules: {
420
+ 'jsdoc/check-access': "error";
421
+ 'jsdoc/check-property-names': "error";
422
+ 'jsdoc/check-tag-names': ["error", {
423
+ typed: true;
424
+ }];
425
+ 'jsdoc/empty-tags': "error";
426
+ 'jsdoc/implements-on-classes': "error";
427
+ 'jsdoc/no-defaults': "error";
428
+ 'jsdoc/require-param': "error";
429
+ 'jsdoc/require-param-name': "error";
430
+ 'jsdoc/require-property': "error";
431
+ 'jsdoc/require-property-description': "error";
432
+ 'jsdoc/require-property-name': "error";
433
+ 'jsdoc/require-returns-description': "error";
434
+ 'jsdoc/require-yields': "error";
435
+ 'jsdoc/require-param-description': undefined;
436
+ 'jsdoc/require-param-type': undefined;
437
+ 'jsdoc/require-property-type': undefined;
438
+ 'jsdoc/require-returns': undefined;
439
+ 'jsdoc/require-returns-type': undefined;
440
+ 'jsdoc/require-throws-description': undefined;
441
+ 'jsdoc/require-throws-type': undefined;
442
+ 'jsdoc/require-yields-description': undefined;
443
+ 'jsdoc/require-yields-type': undefined;
444
+ };
445
+ } | {
446
+ plugins: "node"[];
447
+ rules: {
448
+ 'node/handle-callback-err': ["error", string];
449
+ 'node/no-exports-assign': "error";
450
+ 'node/no-new-require': "error";
451
+ 'node/no-path-concat': "error";
452
+ 'node/callback-return': undefined;
453
+ 'node/global-require': undefined;
454
+ 'node/no-mixed-requires': undefined;
455
+ 'node/no-process-env': undefined;
456
+ 'node/no-sync': undefined;
457
+ 'node/no-top-level-await': undefined;
458
+ };
459
+ } | {
460
+ plugins: "oxc"[];
461
+ rules: {
462
+ 'oxc/approx-constant': "error";
463
+ 'oxc/bad-array-method-on-arguments': "error";
464
+ 'oxc/bad-bitwise-operator': "error";
465
+ 'oxc/bad-char-at-comparison': "error";
466
+ 'oxc/bad-comparison-sequence': "error";
467
+ 'oxc/bad-match-all-arg': "error";
468
+ 'oxc/bad-min-max-func': "error";
469
+ 'oxc/bad-object-literal-comparison': "error";
470
+ 'oxc/bad-replace-all-arg': "error";
471
+ 'oxc/branches-sharing-code': "error";
472
+ 'oxc/const-comparisons': "error";
473
+ 'oxc/double-comparisons': "error";
474
+ 'oxc/erasing-op': "error";
475
+ 'oxc/misrefactored-assign-op': "error";
476
+ 'oxc/missing-throw': "error";
477
+ 'oxc/no-accumulating-spread': "error";
478
+ 'oxc/no-async-await': undefined;
479
+ 'oxc/no-async-endpoint-handlers': undefined;
480
+ 'oxc/no-barrel-file': ["error", {
481
+ threshold: number;
482
+ }];
483
+ 'oxc/no-const-enum': "error";
484
+ 'oxc/no-map-spread': undefined;
485
+ 'oxc/no-optional-chaining': undefined;
486
+ 'oxc/no-rest-spread-properties': undefined;
487
+ 'oxc/no-this-in-exported-function': "error";
488
+ 'oxc/number-arg-out-of-range': "error";
489
+ 'oxc/only-used-in-recursion': "error";
490
+ 'oxc/uninvoked-array-callback': "error";
406
491
  };
407
- }, {
408
- readonly plugins: ["unicorn"];
409
- readonly rules: {
492
+ } | {
493
+ plugins: "unicorn"[];
494
+ rules: {
410
495
  'unicorn/catch-error-name': "error";
411
496
  'unicorn/consistent-assert': "error";
412
497
  'unicorn/consistent-date-clone': "error";
@@ -415,16 +500,20 @@ declare const twoDigits: Omit<{
415
500
  'unicorn/consistent-function-scoping': "error";
416
501
  'unicorn/consistent-template-literal-escape': "error";
417
502
  'unicorn/custom-error-definition': undefined;
418
- 'unicorn/empty-brace-spaces': undefined;
503
+ 'unicorn/empty-brace-spaces': "error";
419
504
  'unicorn/error-message': "error";
420
505
  'unicorn/escape-case': "error";
421
506
  'unicorn/explicit-length-check': "error";
507
+ 'unicorn/explicit-timer-delay': "error";
422
508
  'unicorn/filename-case': undefined;
509
+ 'unicorn/import-style': "error";
510
+ 'unicorn/max-nested-calls': undefined;
423
511
  'unicorn/new-for-builtins': "error";
424
512
  'unicorn/no-abusive-eslint-disable': "error";
425
513
  'unicorn/no-accessor-recursion': "error";
426
514
  'unicorn/no-anonymous-default-export': "error";
427
515
  'unicorn/no-array-callback-reference': undefined;
516
+ 'unicorn/no-array-fill-with-reference-type': "error";
428
517
  'unicorn/no-array-for-each': "error";
429
518
  'unicorn/no-array-method-this-argument': "error";
430
519
  'unicorn/no-array-reduce': "error";
@@ -432,6 +521,7 @@ declare const twoDigits: Omit<{
432
521
  'unicorn/no-array-sort': "error";
433
522
  'unicorn/no-await-expression-member': "error";
434
523
  'unicorn/no-await-in-promise-methods': "error";
524
+ 'unicorn/no-confusing-array-with': "error";
435
525
  'unicorn/no-console-spaces': "error";
436
526
  'unicorn/no-document-cookie': "error";
437
527
  'unicorn/no-empty-file': "error";
@@ -484,9 +574,7 @@ declare const twoDigits: Omit<{
484
574
  'unicorn/prefer-array-flat-map': "error";
485
575
  'unicorn/prefer-array-index-of': "error";
486
576
  'unicorn/prefer-array-some': "error";
487
- 'unicorn/prefer-at': ["error", {
488
- checkAllIndexAccess: false;
489
- }];
577
+ 'unicorn/prefer-at': "error";
490
578
  'unicorn/prefer-bigint-literals': "error";
491
579
  'unicorn/prefer-blob-reading-methods': "error";
492
580
  'unicorn/prefer-class-fields': "error";
@@ -499,6 +587,7 @@ declare const twoDigits: Omit<{
499
587
  'unicorn/prefer-dom-node-remove': "error";
500
588
  'unicorn/prefer-dom-node-text-content': "error";
501
589
  'unicorn/prefer-event-target': "error";
590
+ 'unicorn/prefer-export-from': "error";
502
591
  'unicorn/prefer-global-this': "error";
503
592
  'unicorn/prefer-import-meta-properties': undefined;
504
593
  'unicorn/prefer-includes': "error";
@@ -512,10 +601,9 @@ declare const twoDigits: Omit<{
512
601
  'unicorn/prefer-native-coercion-functions': "error";
513
602
  'unicorn/prefer-negative-index': "error";
514
603
  'unicorn/prefer-node-protocol': "error";
604
+ 'unicorn/prefer-number-coercion': undefined;
515
605
  'unicorn/prefer-number-properties': "error";
516
- 'unicorn/prefer-object-from-entries': ["error", {
517
- functions: never[];
518
- }];
606
+ 'unicorn/prefer-object-from-entries': "error";
519
607
  'unicorn/prefer-optional-catch-binding': "error";
520
608
  'unicorn/prefer-prototype-methods': "error";
521
609
  'unicorn/prefer-query-selector': "error";
@@ -524,15 +612,14 @@ declare const twoDigits: Omit<{
524
612
  'unicorn/prefer-response-static-json': "error";
525
613
  'unicorn/prefer-set-has': "error";
526
614
  'unicorn/prefer-set-size': "error";
615
+ 'unicorn/prefer-single-call': "error";
527
616
  'unicorn/prefer-spread': "error";
528
617
  'unicorn/prefer-string-raw': "error";
529
618
  'unicorn/prefer-string-replace-all': "error";
530
619
  'unicorn/prefer-string-slice': "error";
531
620
  'unicorn/prefer-string-starts-ends-with': "error";
532
621
  'unicorn/prefer-string-trim-start-end': "error";
533
- 'unicorn/prefer-structured-clone': ["error", {
534
- functions: never[];
535
- }];
622
+ 'unicorn/prefer-structured-clone': "error";
536
623
  'unicorn/prefer-ternary': ["error", "only-single-line"];
537
624
  'unicorn/prefer-top-level-await': undefined;
538
625
  'unicorn/prefer-type-error': "error";
@@ -542,135 +629,17 @@ declare const twoDigits: Omit<{
542
629
  'unicorn/require-module-specifiers': "error";
543
630
  'unicorn/require-number-to-fixed-digits-argument': "error";
544
631
  'unicorn/require-post-message-target-origin': undefined;
545
- 'unicorn/switch-case-braces': ["error", "always"];
632
+ 'unicorn/switch-case-braces': "error";
546
633
  'unicorn/switch-case-break-position': "error";
547
634
  'unicorn/text-encoding-identifier-case': "error";
548
635
  'unicorn/throw-new-error': "off";
549
- 'unicorn/import-style': undefined;
550
- 'unicorn/max-nested-calls': undefined;
551
- 'unicorn/no-array-fill-with-reference-type': undefined;
552
- 'unicorn/prefer-export-from': undefined;
553
- 'unicorn/prefer-number-coercion': undefined;
554
- 'unicorn/prefer-single-call': undefined;
555
- 'unicorn/explicit-timer-delay': undefined;
556
- 'unicorn/no-confusing-array-with': undefined;
557
- };
558
- }, {
559
- readonly plugins: ["import"];
560
- readonly rules: {
561
- 'import/consistent-type-specifier-style': undefined;
562
- 'import/default': "error";
563
- 'import/export': "error";
564
- 'import/exports-last': undefined;
565
- 'import/extensions': undefined;
566
- 'import/first': ["error", "disable-absolute-first"];
567
- 'import/group-exports': undefined;
568
- 'import/max-dependencies': undefined;
569
- 'import/named': undefined;
570
- 'import/namespace': "error";
571
- 'import/no-absolute-path': "error";
572
- 'import/no-amd': "error";
573
- 'import/no-anonymous-default-export': "error";
574
- 'import/no-commonjs': undefined;
575
- 'import/no-cycle': "error";
576
- 'import/no-default-export': undefined;
577
- 'import/no-duplicates': "error";
578
- 'import/no-dynamic-require': "error";
579
- 'import/no-empty-named-blocks': "error";
580
- 'import/no-mutable-exports': undefined;
581
- 'import/no-named-as-default': "error";
582
- 'import/no-named-as-default-member': "error";
583
- 'import/no-named-default': "error";
584
- 'import/no-named-export': undefined;
585
- 'import/no-namespace': undefined;
586
- 'import/no-nodejs-modules': undefined;
587
- 'import/no-relative-parent-imports': undefined;
588
- 'import/no-self-import': "error";
589
- 'import/no-unassigned-import': undefined;
590
- 'import/no-webpack-loader-syntax': "error";
591
- 'import/prefer-default-export': undefined;
592
- 'import/unambiguous': undefined;
593
- 'import/newline-after-import': undefined;
594
- };
595
- }, {
596
- readonly plugins: ["node"];
597
- readonly rules: {
598
- 'node/handle-callback-err': "error";
599
- 'node/no-exports-assign': "error";
600
- 'node/no-new-require': "error";
601
- 'node/no-path-concat': "error";
602
- 'node/callback-return': undefined;
603
- 'node/global-require': undefined;
604
- 'node/no-mixed-requires': undefined;
605
- 'node/no-process-env': undefined;
606
- 'node/no-sync': undefined;
607
- };
608
- }, {
609
- readonly plugins: ["oxc"];
610
- readonly rules: {
611
- 'oxc/approx-constant': "error";
612
- 'oxc/bad-array-method-on-arguments': "error";
613
- 'oxc/bad-bitwise-operator': "error";
614
- 'oxc/bad-char-at-comparison': "error";
615
- 'oxc/bad-comparison-sequence': "error";
616
- 'oxc/bad-min-max-func': "error";
617
- 'oxc/bad-object-literal-comparison': "error";
618
- 'oxc/bad-replace-all-arg': "error";
619
- 'oxc/branches-sharing-code': "error";
620
- 'oxc/const-comparisons': "error";
621
- 'oxc/double-comparisons': "error";
622
- 'oxc/erasing-op': "error";
623
- 'oxc/misrefactored-assign-op': "error";
624
- 'oxc/missing-throw': "error";
625
- 'oxc/no-accumulating-spread': "error";
626
- 'oxc/no-async-await': undefined;
627
- 'oxc/no-async-endpoint-handlers': undefined;
628
- 'oxc/no-barrel-file': ["error", {
629
- threshold: number;
630
- }];
631
- 'oxc/no-const-enum': "error";
632
- 'oxc/no-map-spread': undefined;
633
- 'oxc/no-optional-chaining': undefined;
634
- 'oxc/no-rest-spread-properties': undefined;
635
- 'oxc/no-this-in-exported-function': "error";
636
- 'oxc/number-arg-out-of-range': "error";
637
- 'oxc/only-used-in-recursion': "error";
638
- 'oxc/uninvoked-array-callback': "error";
639
- };
640
- }, {
641
- readonly plugins: ["jsdoc"];
642
- readonly rules: {
643
- 'jsdoc/check-access': "error";
644
- 'jsdoc/check-property-names': "error";
645
- 'jsdoc/check-tag-names': ["error", {
646
- typed: true;
647
- }];
648
- 'jsdoc/empty-tags': "error";
649
- 'jsdoc/implements-on-classes': "error";
650
- 'jsdoc/no-defaults': "error";
651
- 'jsdoc/require-param': "error";
652
- 'jsdoc/require-param-name': "error";
653
- 'jsdoc/require-property': "error";
654
- 'jsdoc/require-property-description': "error";
655
- 'jsdoc/require-property-name': "error";
656
- 'jsdoc/require-returns-description': "error";
657
- 'jsdoc/require-yields': "error";
658
- 'jsdoc/require-param-description': undefined;
659
- 'jsdoc/require-param-type': undefined;
660
- 'jsdoc/require-property-type': undefined;
661
- 'jsdoc/require-returns': undefined;
662
- 'jsdoc/require-returns-type': undefined;
663
- 'jsdoc/require-throws-description': undefined;
664
- 'jsdoc/require-throws-type': undefined;
665
- 'jsdoc/require-yields-description': undefined;
666
- 'jsdoc/require-yields-type': undefined;
667
636
  };
668
- }, {
669
- readonly jsPlugins: [{
670
- readonly name: "zod";
671
- readonly specifier: string;
672
- }];
673
- readonly rules: {
637
+ } | {
638
+ jsPlugins: {
639
+ name: string;
640
+ specifier: string;
641
+ }[];
642
+ rules: {
674
643
  'zod/array-style': ["error", {
675
644
  style: "function";
676
645
  }];
@@ -728,28 +697,162 @@ declare const twoDigits: Omit<{
728
697
  'zod/no-unknown-schema': undefined;
729
698
  'zod/require-error-message': undefined;
730
699
  };
731
- }];
732
- readonly ignorePatterns: string[];
700
+ })[];
701
+ ignorePatterns: string[];
733
702
  }, "categories" | "extends" | "ignorePatterns" | "options"> & Omit<{
734
- readonly options: {
735
- readonly denyWarnings: true;
736
- readonly reportUnusedDisableDirectives: "deny";
703
+ options: {
704
+ denyWarnings: true;
705
+ reportUnusedDisableDirectives: "deny";
737
706
  };
738
- readonly categories: {
739
- readonly nursery: "off";
740
- readonly pedantic: "off";
741
- readonly correctness: "off";
742
- readonly perf: "off";
743
- readonly style: "off";
744
- readonly restriction: "off";
745
- readonly suspicious: "off";
707
+ categories: {
708
+ nursery: "off";
709
+ pedantic: "off";
710
+ correctness: "off";
711
+ perf: "off";
712
+ style: "off";
713
+ restriction: "off";
714
+ suspicious: "off";
746
715
  };
747
- readonly extends: [{
748
- readonly plugins: ["typescript"];
749
- readonly options: {
750
- readonly typeAware: true;
716
+ extends: ({
717
+ overrides: ({
718
+ files: "**/*.d.ts"[];
719
+ rules: {
720
+ 'no-duplicate-imports': "off";
721
+ 'no-undef': "off";
722
+ 'no-unused-vars': "off";
723
+ 'import/unambiguous': "off";
724
+ 'no-unused-expressions'?: undefined;
725
+ 'typescript/no-import-type-side-effects'?: undefined;
726
+ };
727
+ globals?: undefined;
728
+ } | {
729
+ files: "**/*.{test,spec}.ts?(x)"[];
730
+ globals: {
731
+ afterAll: "readonly";
732
+ afterEach: "readonly";
733
+ beforeAll: "readonly";
734
+ beforeEach: "readonly";
735
+ bench: "readonly";
736
+ describe: "readonly";
737
+ expect: "readonly";
738
+ expectTypeOf: "readonly";
739
+ it: "readonly";
740
+ suite: "readonly";
741
+ test: "readonly";
742
+ vi: "readonly";
743
+ };
744
+ rules: {
745
+ 'no-duplicate-imports'?: undefined;
746
+ 'no-undef'?: undefined;
747
+ 'no-unused-vars'?: undefined;
748
+ 'import/unambiguous'?: undefined;
749
+ 'no-unused-expressions': "off";
750
+ 'typescript/no-import-type-side-effects'?: undefined;
751
+ };
752
+ } | {
753
+ globals?: undefined;
754
+ files: ("**/*.cjs" | "**/*.cts" | "**/*.js")[];
755
+ rules: {
756
+ 'no-duplicate-imports'?: undefined;
757
+ 'no-undef'?: undefined;
758
+ 'no-unused-vars'?: undefined;
759
+ 'import/unambiguous'?: undefined;
760
+ 'no-unused-expressions'?: undefined;
761
+ 'typescript/no-import-type-side-effects': "off";
762
+ };
763
+ })[];
764
+ } | {
765
+ options: {
766
+ typeAware: true;
751
767
  };
752
- readonly rules: {
768
+ plugins: ("react" | "react-perf")[];
769
+ jsPlugins: {
770
+ name: string;
771
+ specifier: string;
772
+ }[];
773
+ rules: {
774
+ 'react/button-has-type': "error";
775
+ 'react/exhaustive-deps': "error";
776
+ 'react/function-component-definition': ["error", {
777
+ namedComponents: "function-declaration";
778
+ }];
779
+ 'react/iframe-missing-sandbox': "error";
780
+ 'react/jsx-key': "error";
781
+ 'react/jsx-no-comment-textnodes': "warn";
782
+ 'react/jsx-no-constructed-context-values': "error";
783
+ 'react/jsx-no-script-url': "warn";
784
+ 'react/jsx-no-target-blank': "error";
785
+ 'react/jsx-no-useless-fragment': "off";
786
+ 'react/no-array-index-key': "warn";
787
+ 'react/no-children-prop': "error";
788
+ 'react/no-clone-element': "warn";
789
+ 'react/no-danger': "warn";
790
+ 'react/no-danger-with-children': "error";
791
+ 'react/no-did-mount-set-state': "warn";
792
+ 'react/no-direct-mutation-state': "error";
793
+ 'react/no-find-dom-node': "error";
794
+ 'react/no-namespace': "error";
795
+ 'react/no-redundant-should-component-update': "error";
796
+ 'react/no-render-return-value': "error";
797
+ 'react/no-unsafe': "warn";
798
+ 'react/no-will-update-set-state': "warn";
799
+ 'react/rules-of-hooks': "error";
800
+ 'react/self-closing-comp': "error";
801
+ 'react/void-dom-elements-no-children': "error";
802
+ 'react-perf/jsx-no-jsx-as-prop': "error";
803
+ 'react-compiler/react-compiler': "error";
804
+ 'stylistic/jsx-curly-newline': "off";
805
+ 'stylistic/jsx-newline': ["error", {
806
+ prevent: false;
807
+ }];
808
+ 'react/checked-requires-onchange-or-readonly': undefined;
809
+ 'react/display-name': "off";
810
+ 'react/forbid-component-props': undefined;
811
+ 'react/forbid-dom-props': undefined;
812
+ 'react/forbid-elements': undefined;
813
+ 'react/forward-ref-uses-ref': "off";
814
+ 'react/hook-use-state': "error";
815
+ 'react/jsx-boolean-value': "off";
816
+ 'react/jsx-curly-brace-presence': undefined;
817
+ 'react/jsx-filename-extension': "off";
818
+ 'react/jsx-fragments': "off";
819
+ 'react/jsx-handler-names': undefined;
820
+ 'react/jsx-max-depth': undefined;
821
+ 'react/jsx-no-duplicate-props': undefined;
822
+ 'react/jsx-no-literals': undefined;
823
+ 'react/jsx-no-undef': undefined;
824
+ 'react/jsx-pascal-case': "off";
825
+ 'react/jsx-props-no-spread-multi': undefined;
826
+ 'react/jsx-props-no-spreading': undefined;
827
+ 'react/no-did-update-set-state': "off";
828
+ 'react/no-is-mounted': undefined;
829
+ 'react/no-multi-comp': undefined;
830
+ 'react/no-object-type-as-default-prop': "off";
831
+ 'react/no-react-children': undefined;
832
+ 'react/no-set-state': undefined;
833
+ 'react/no-string-refs': "off";
834
+ 'react/no-this-in-sfc': undefined;
835
+ 'react/no-unescaped-entities': undefined;
836
+ 'react/no-unknown-property': "off";
837
+ 'react/no-unstable-nested-components': "off";
838
+ 'react/only-export-components': undefined;
839
+ 'react/prefer-es6-class': undefined;
840
+ 'react/prefer-function-component': undefined;
841
+ 'react/react-compiler': undefined;
842
+ 'react/react-in-jsx-scope': undefined;
843
+ 'react/require-render-return': undefined;
844
+ 'react/state-in-constructor': undefined;
845
+ 'react/style-prop-object': undefined;
846
+ 'react-perf/jsx-no-new-array-as-prop': undefined;
847
+ 'react-perf/jsx-no-new-function-as-prop': undefined;
848
+ 'react-perf/jsx-no-new-object-as-prop': undefined;
849
+ };
850
+ } | {
851
+ plugins: "typescript"[];
852
+ options: {
853
+ typeAware: true;
854
+ };
855
+ rules: {
753
856
  'typescript/adjacent-overload-signatures': "error";
754
857
  'typescript/array-type': ["error", {
755
858
  default: "generic";
@@ -760,16 +863,16 @@ declare const twoDigits: Omit<{
760
863
  'ts-ignore': "allow-with-description";
761
864
  }];
762
865
  'typescript/ban-tslint-comment': "error";
866
+ 'typescript/ban-types': undefined;
763
867
  'typescript/class-literal-property-style': "error";
764
868
  'typescript/consistent-generic-constructors': ["error", "constructor"];
765
869
  'typescript/consistent-indexed-object-style': ["error", "record"];
870
+ 'typescript/consistent-return': "off";
766
871
  'typescript/consistent-type-assertions': ["error", {
767
872
  assertionStyle: "as";
768
873
  }];
769
874
  'typescript/consistent-type-definitions': ["error", "interface"];
770
- 'typescript/consistent-type-exports': ["error", {
771
- fixMixedExportsWithInlineTypeSpecifier: true;
772
- }];
875
+ 'typescript/consistent-type-exports': ["error"];
773
876
  'typescript/consistent-type-imports': ["error", {
774
877
  fixStyle: "inline-type-imports";
775
878
  prefer: "type-imports";
@@ -778,13 +881,14 @@ declare const twoDigits: Omit<{
778
881
  'typescript/dot-notation': ["error", {
779
882
  allowKeywords: true;
780
883
  }];
884
+ 'typescript/explicit-function-return-type': undefined;
885
+ 'typescript/explicit-member-accessibility': undefined;
886
+ 'typescript/explicit-module-boundary-types': undefined;
887
+ 'typescript/method-signature-style': ["error", "property"];
781
888
  'typescript/no-array-delete': "error";
782
889
  'typescript/no-base-to-string': "error";
783
890
  'typescript/no-confusing-non-null-assertion': "error";
784
- 'typescript/no-confusing-void-expression': ["error", {
785
- ignoreArrowShorthand: true;
786
- ignoreVoidOperator: true;
787
- }];
891
+ 'typescript/no-confusing-void-expression': "off";
788
892
  'typescript/no-deprecated': "error";
789
893
  'typescript/no-duplicate-enum-values': "error";
790
894
  'typescript/no-duplicate-type-constituents': "error";
@@ -796,45 +900,35 @@ declare const twoDigits: Omit<{
796
900
  allowInterfaces: "with-single-extends";
797
901
  allowObjectTypes: "never";
798
902
  }];
799
- 'typescript/no-explicit-any': ["error", {
800
- fixToUnknown: true;
801
- ignoreRestArgs: true;
802
- }];
903
+ 'typescript/no-explicit-any': ["error"];
803
904
  'typescript/no-extra-non-null-assertion': "error";
804
- 'typescript/no-extraneous-class': ["error", {
805
- allowStaticOnly: true;
806
- }];
905
+ 'typescript/no-extraneous-class': "error";
807
906
  'typescript/no-floating-promises': "error";
808
907
  'typescript/no-for-in-array': "error";
809
908
  'typescript/no-implied-eval': "error";
810
- 'typescript/no-import-type-side-effects': "error";
909
+ 'typescript/no-import-type-side-effects': ["error"];
811
910
  'typescript/no-inferrable-types': "error";
812
911
  'typescript/no-invalid-void-type': "error";
813
912
  'typescript/no-meaningless-void-operator': "error";
814
913
  'typescript/no-misused-new': "error";
815
- 'typescript/no-misused-promises': ["error", {
816
- checksVoidReturn: boolean;
817
- }];
914
+ 'typescript/no-misused-promises': "off";
818
915
  'typescript/no-misused-spread': "error";
819
916
  'typescript/no-mixed-enums': "error";
820
- 'typescript/no-namespace': ["error", {
821
- allowDefinitionFiles: true;
822
- }];
917
+ 'typescript/no-namespace': "error";
823
918
  'typescript/no-non-null-asserted-nullish-coalescing': "error";
824
919
  'typescript/no-non-null-asserted-optional-chain': "error";
825
920
  'typescript/no-non-null-assertion': "error";
826
921
  'typescript/no-redundant-type-constituents': "error";
827
922
  'typescript/no-require-imports': "error";
923
+ 'typescript/no-restricted-types': undefined;
828
924
  'typescript/no-this-alias': "error";
829
925
  'typescript/no-unnecessary-boolean-literal-compare': "error";
830
- 'typescript/no-unnecessary-condition': ["error", {
831
- allowConstantLoopConditions: string;
832
- }];
926
+ 'typescript/no-unnecessary-condition': "error";
833
927
  'typescript/no-unnecessary-parameter-property-assignment': "error";
834
928
  'typescript/no-unnecessary-qualifier': "error";
835
929
  'typescript/no-unnecessary-template-expression': "error";
836
930
  'typescript/no-unnecessary-type-arguments': "error";
837
- 'typescript/no-unnecessary-type-assertion': "error";
931
+ 'typescript/no-unnecessary-type-assertion': "off";
838
932
  'typescript/no-unnecessary-type-constraint': "error";
839
933
  'typescript/no-unnecessary-type-conversion': "error";
840
934
  'typescript/no-unnecessary-type-parameters': "error";
@@ -846,6 +940,7 @@ declare const twoDigits: Omit<{
846
940
  'typescript/no-unsafe-function-type': "error";
847
941
  'typescript/no-unsafe-member-access': "error";
848
942
  'typescript/no-unsafe-return': "error";
943
+ 'typescript/no-unsafe-type-assertion': "off";
849
944
  'typescript/no-unsafe-unary-minus': "error";
850
945
  'typescript/no-useless-default-assignment': "error";
851
946
  'typescript/no-useless-empty-export': "error";
@@ -868,45 +963,43 @@ declare const twoDigits: Omit<{
868
963
  'typescript/prefer-optional-chain': "error";
869
964
  'typescript/prefer-promise-reject-errors': "error";
870
965
  'typescript/prefer-readonly': "error";
966
+ 'typescript/prefer-readonly-parameter-types': "off";
871
967
  'typescript/prefer-reduce-type-parameter': "error";
872
968
  'typescript/prefer-regexp-exec': "error";
873
969
  'typescript/prefer-return-this-type': "error";
874
970
  'typescript/prefer-string-starts-ends-with': "error";
971
+ 'typescript/prefer-ts-expect-error': undefined;
972
+ 'typescript/promise-function-async': undefined;
875
973
  'typescript/related-getter-setter-pairs': "error";
876
974
  'typescript/require-array-sort-compare': "error";
877
975
  'typescript/require-await': "error";
878
- 'typescript/restrict-plus-operands': "error";
976
+ 'typescript/restrict-plus-operands': ["error", {
977
+ allowAny: false;
978
+ allowBoolean: false;
979
+ allowNullish: false;
980
+ allowNumberAndString: false;
981
+ allowRegExp: false;
982
+ }];
879
983
  'typescript/restrict-template-expressions': ["error", {
880
984
  allowNumber: true;
881
985
  }];
882
986
  'typescript/return-await': ["error", "error-handling-correctness-only"];
987
+ 'typescript/strict-boolean-expressions': undefined;
988
+ 'typescript/strict-void-return': "off";
989
+ 'typescript/switch-exhaustiveness-check': "off";
883
990
  'typescript/triple-slash-reference': "error";
991
+ 'typescript/unbound-method': "off";
884
992
  'typescript/unified-signatures': "error";
885
993
  'typescript/use-unknown-in-catch-callback-variable': "error";
886
- 'typescript/ban-types': undefined;
887
- 'typescript/consistent-return': undefined;
888
- 'typescript/explicit-function-return-type': undefined;
889
- 'typescript/explicit-member-accessibility': undefined;
890
- 'typescript/explicit-module-boundary-types': undefined;
891
- 'typescript/method-signature-style': undefined;
892
- 'typescript/no-restricted-types': undefined;
893
- 'typescript/no-unsafe-type-assertion': undefined;
894
- 'typescript/prefer-readonly-parameter-types': undefined;
895
- 'typescript/prefer-ts-expect-error': undefined;
896
- 'typescript/promise-function-async': undefined;
897
- 'typescript/strict-boolean-expressions': undefined;
898
- 'typescript/strict-void-return': undefined;
899
- 'typescript/switch-exhaustiveness-check': undefined;
900
- 'typescript/unbound-method': "off";
901
994
  };
902
- }, {
903
- readonly plugins: ["vitest"];
904
- readonly settings: {
905
- readonly vitest: {
906
- readonly typecheck: true;
995
+ } | {
996
+ plugins: "vitest"[];
997
+ settings: {
998
+ vitest: {
999
+ typecheck: true;
907
1000
  };
908
1001
  };
909
- readonly rules: {
1002
+ rules: {
910
1003
  'vitest/consistent-each-for': ["error", {
911
1004
  describe: "for";
912
1005
  suite: "for";
@@ -917,7 +1010,10 @@ declare const twoDigits: Omit<{
917
1010
  pattern: string;
918
1011
  allTestPattern: string;
919
1012
  }];
920
- 'vitest/consistent-test-it': "error";
1013
+ 'vitest/consistent-test-it': ["error", {
1014
+ fn: "it";
1015
+ withinDescribe: "it";
1016
+ }];
921
1017
  'vitest/consistent-vitest-vi': ["error", {
922
1018
  fn: "vi";
923
1019
  }];
@@ -969,7 +1065,7 @@ declare const twoDigits: Omit<{
969
1065
  'vitest/prefer-lowercase-title': "error";
970
1066
  'vitest/prefer-mock-promise-shorthand': "error";
971
1067
  'vitest/prefer-mock-return-shorthand': "error";
972
- 'vitest/prefer-snapshot-hint': ["error", string];
1068
+ 'vitest/prefer-snapshot-hint': ["error", "always"];
973
1069
  'vitest/prefer-spy-on': "error";
974
1070
  'vitest/prefer-strict-boolean-matchers': undefined;
975
1071
  'vitest/prefer-strict-equal': "error";
@@ -991,145 +1087,28 @@ declare const twoDigits: Omit<{
991
1087
  'vitest/valid-describe-callback': "error";
992
1088
  'vitest/valid-expect': "error";
993
1089
  'vitest/valid-expect-in-promise': "error";
994
- 'vitest/valid-title': undefined;
1090
+ 'vitest/valid-title': ["error", {
1091
+ ignoreTypeOfDescribeName: boolean;
1092
+ }];
995
1093
  'vitest/warn-todo': "error";
996
1094
  'vitest/padding-around-after-all-blocks': undefined;
1095
+ 'vitest/padding-around-test-blocks': undefined;
997
1096
  };
998
- }, {
999
- readonly options: {
1000
- readonly typeAware: true;
1001
- };
1002
- readonly plugins: ["react", "react-perf"];
1003
- readonly jsPlugins: [{
1004
- readonly name: "react-compiler";
1005
- readonly specifier: string;
1006
- }, {
1007
- readonly name: "stylistic";
1008
- readonly specifier: string;
1009
- }];
1010
- readonly rules: {
1011
- 'react/button-has-type': "error";
1012
- 'react/exhaustive-deps': "error";
1013
- 'react/iframe-missing-sandbox': "error";
1014
- 'react/jsx-key': "error";
1015
- 'react/jsx-no-comment-textnodes': "warn";
1016
- 'react/jsx-no-constructed-context-values': "error";
1017
- 'react/jsx-no-script-url': "warn";
1018
- 'react/jsx-no-target-blank': "error";
1019
- 'react/jsx-no-useless-fragment': "off";
1020
- 'react/no-array-index-key': "warn";
1021
- 'react/no-children-prop': "error";
1022
- 'react/no-clone-element': "warn";
1023
- 'react/no-danger': "warn";
1024
- 'react/no-danger-with-children': "error";
1025
- 'react/no-did-mount-set-state': "warn";
1026
- 'react/no-direct-mutation-state': "error";
1027
- 'react/no-find-dom-node': "error";
1028
- 'react/no-namespace': "error";
1029
- 'react/no-redundant-should-component-update': "error";
1030
- 'react/no-render-return-value': "error";
1031
- 'react/no-unsafe': "warn";
1032
- 'react/no-will-update-set-state': "warn";
1033
- 'react/rules-of-hooks': "error";
1034
- 'react/self-closing-comp': "error";
1035
- 'react/void-dom-elements-no-children': "error";
1036
- 'react_perf/jsx-no-jsx-as-prop': "error";
1037
- 'react-compiler/react-compiler': "error";
1038
- 'stylistic/jsx-curly-newline': "off";
1039
- 'stylistic/jsx-newline': ["error", {
1040
- prevent: false;
1041
- }];
1042
- 'react/checked-requires-onchange-or-readonly': undefined;
1043
- 'react/display-name': "off";
1044
- 'react/forbid-component-props': undefined;
1045
- 'react/forbid-dom-props': undefined;
1046
- 'react/forbid-elements': undefined;
1047
- 'react/forward-ref-uses-ref': "off";
1048
- 'react/hook-use-state': "off";
1049
- 'react/jsx-boolean-value': "off";
1050
- 'react/jsx-curly-brace-presence': undefined;
1051
- 'react/jsx-filename-extension': "off";
1052
- 'react/jsx-fragments': "off";
1053
- 'react/jsx-handler-names': undefined;
1054
- 'react/jsx-max-depth': undefined;
1055
- 'react/jsx-no-duplicate-props': undefined;
1056
- 'react/jsx-no-literals': undefined;
1057
- 'react/jsx-no-undef': undefined;
1058
- 'react/jsx-pascal-case': "off";
1059
- 'react/jsx-props-no-spread-multi': undefined;
1060
- 'react/jsx-props-no-spreading': undefined;
1061
- 'react/no-did-update-set-state': "off";
1062
- 'react/no-is-mounted': undefined;
1063
- 'react/no-multi-comp': undefined;
1064
- 'react/no-object-type-as-default-prop': "off";
1065
- 'react/no-react-children': undefined;
1066
- 'react/no-set-state': undefined;
1067
- 'react/no-string-refs': "off";
1068
- 'react/no-this-in-sfc': undefined;
1069
- 'react/no-unescaped-entities': undefined;
1070
- 'react/no-unknown-property': "off";
1071
- 'react/no-unstable-nested-components': "off";
1072
- 'react/only-export-components': undefined;
1073
- 'react/prefer-es6-class': undefined;
1074
- 'react/prefer-function-component': undefined;
1075
- 'react/react-compiler': undefined;
1076
- 'react/react-in-jsx-scope': undefined;
1077
- 'react/require-render-return': undefined;
1078
- 'react/state-in-constructor': undefined;
1079
- 'react/style-prop-object': undefined;
1080
- 'react_perf/jsx-no-new-array-as-prop': undefined;
1081
- 'react_perf/jsx-no-new-function-as-prop': undefined;
1082
- 'react_perf/jsx-no-new-object-as-prop': undefined;
1083
- };
1084
- }, {
1085
- readonly overrides: [{
1086
- readonly files: ["**/*.d.ts"];
1087
- readonly rules: {
1088
- readonly 'eslint/no-duplicate-imports': "off";
1089
- readonly 'eslint/no-undef': "off";
1090
- readonly 'eslint/no-unused-vars': "off";
1091
- readonly 'import/unambiguous': "off";
1092
- };
1093
- }, {
1094
- readonly files: ["**/*.{test,spec}.ts?(x)"];
1095
- readonly globals: {
1096
- readonly afterAll: "readonly";
1097
- readonly afterEach: "readonly";
1098
- readonly beforeAll: "readonly";
1099
- readonly beforeEach: "readonly";
1100
- readonly bench: "readonly";
1101
- readonly describe: "readonly";
1102
- readonly expect: "readonly";
1103
- readonly expectTypeOf: "readonly";
1104
- readonly it: "readonly";
1105
- readonly suite: "readonly";
1106
- readonly test: "readonly";
1107
- readonly vi: "readonly";
1108
- };
1109
- readonly rules: {
1110
- readonly 'eslint/no-unused-expressions': "off";
1111
- };
1112
- }, {
1113
- readonly files: ["**/*.js", "**/*.cjs", "**/*.cts"];
1114
- readonly rules: {
1115
- readonly 'typescript/no-import-type-side-effects': "off";
1116
- };
1117
- }];
1118
- }];
1119
- readonly ignorePatterns: string[];
1097
+ })[];
1098
+ ignorePatterns: string[];
1120
1099
  }, "categories" | "extends" | "ignorePatterns" | "options"> & {
1121
1100
  categories: {
1122
- readonly nursery: "off";
1123
- readonly pedantic: "off";
1124
- readonly correctness: "off";
1125
- readonly perf: "off";
1126
- readonly style: "off";
1127
- readonly restriction: "off";
1128
- readonly suspicious: "off";
1101
+ nursery: "off";
1102
+ pedantic: "off";
1103
+ correctness: "off";
1104
+ perf: "off";
1105
+ style: "off";
1106
+ restriction: "off";
1107
+ suspicious: "off";
1129
1108
  };
1130
1109
  extends: ({
1131
- readonly plugins: ["import"];
1132
- readonly rules: {
1110
+ plugins: "import"[];
1111
+ rules: {
1133
1112
  'import/consistent-type-specifier-style': undefined;
1134
1113
  'import/default': "error";
1135
1114
  'import/export': "error";
@@ -1165,191 +1144,201 @@ declare const twoDigits: Omit<{
1165
1144
  'import/newline-after-import': undefined;
1166
1145
  };
1167
1146
  } | {
1168
- readonly plugins: ["eslint"];
1169
- readonly rules: {
1170
- 'eslint/accessor-pairs': ["error", {
1147
+ plugins: "eslint"[];
1148
+ rules: {
1149
+ 'accessor-pairs': ["error", {
1171
1150
  enforceForClassMembers: true;
1172
1151
  setWithoutGet: true;
1173
1152
  }];
1174
- 'eslint/array-callback-return': "error";
1175
- 'eslint/arrow-body-style': ["error", "as-needed", {
1176
- requireReturnForObjectLiteral: boolean;
1177
- }];
1178
- 'eslint/block-scoped-var': "error";
1179
- 'eslint/capitalized-comments': "error";
1180
- 'eslint/class-methods-use-this': undefined;
1181
- 'eslint/complexity': ["error", {
1182
- variant: "modified";
1183
- max: number;
1184
- }];
1185
- 'eslint/constructor-super': "error";
1186
- 'eslint/curly': "error";
1187
- 'eslint/default-case': undefined;
1188
- 'eslint/default-case-last': "error";
1189
- 'eslint/default-param-last': "error";
1190
- 'eslint/eqeqeq': ["error", "smart"];
1191
- 'eslint/for-direction': "error";
1192
- 'eslint/func-name-matching': undefined;
1193
- 'eslint/func-names': ["error", "always", {
1194
- generators: string;
1195
- }];
1196
- 'eslint/func-style': ["error", "declaration", {
1197
- allowTypeAnnotation: boolean;
1198
- }];
1199
- 'eslint/getter-return': "error";
1200
- 'eslint/grouped-accessor-pairs': "error";
1201
- 'eslint/guard-for-in': "error";
1202
- 'eslint/id-length': undefined;
1203
- 'eslint/init-declarations': undefined;
1204
- 'eslint/logical-assignment-operators': ["error", "always"];
1205
- 'eslint/max-classes-per-file': undefined;
1206
- 'eslint/max-depth': undefined;
1207
- 'eslint/max-lines': undefined;
1208
- 'eslint/max-lines-per-function': undefined;
1209
- 'eslint/max-nested-callbacks': undefined;
1210
- 'eslint/max-params': undefined;
1211
- 'eslint/max-statements': undefined;
1212
- 'eslint/new-cap': ["error", {
1153
+ 'array-callback-return': "error";
1154
+ 'arrow-body-style': ["error", "as-needed", {
1155
+ requireReturnForObjectLiteral: false;
1156
+ }];
1157
+ 'block-scoped-var': "error";
1158
+ 'capitalized-comments': "error";
1159
+ 'class-methods-use-this': undefined;
1160
+ 'constructor-super': "error";
1161
+ 'default-case': undefined;
1162
+ 'default-case-last': "error";
1163
+ 'default-param-last': "error";
1164
+ 'for-direction': "error";
1165
+ 'func-name-matching': undefined;
1166
+ 'func-names': ["error", "always", {
1167
+ generators: "never";
1168
+ }];
1169
+ 'func-style': ["error", "declaration", {
1170
+ allowTypeAnnotation: true;
1171
+ }];
1172
+ 'getter-return': "error";
1173
+ 'grouped-accessor-pairs': "error";
1174
+ 'guard-for-in': "error";
1175
+ 'id-length': undefined;
1176
+ 'init-declarations': undefined;
1177
+ 'logical-assignment-operators': ["error", "always"];
1178
+ 'max-classes-per-file': undefined;
1179
+ 'max-depth': undefined;
1180
+ 'max-lines': undefined;
1181
+ 'max-lines-per-function': undefined;
1182
+ 'max-nested-callbacks': undefined;
1183
+ 'max-params': undefined;
1184
+ 'max-statements': undefined;
1185
+ 'new-cap': ["error", {
1213
1186
  capIsNew: false;
1214
1187
  newIsCap: true;
1215
1188
  properties: true;
1216
1189
  }];
1217
- 'eslint/no-alert': "error";
1218
- 'eslint/no-array-constructor': "error";
1219
- 'eslint/no-async-promise-executor': "error";
1220
- 'eslint/no-await-in-loop': "error";
1221
- 'eslint/no-bitwise': undefined;
1222
- 'eslint/no-caller': "error";
1223
- 'eslint/no-case-declarations': "error";
1224
- 'eslint/no-class-assign': "error";
1225
- 'eslint/no-compare-neg-zero': "error";
1226
- 'eslint/no-cond-assign': ["error", "always"];
1227
- 'eslint/no-console': undefined;
1228
- 'eslint/no-const-assign': "error";
1229
- 'eslint/no-constant-binary-expression': "error";
1230
- 'eslint/no-constant-condition': ["error", {
1231
- checkLoops: "allExceptWhileTrue";
1232
- }];
1233
- 'eslint/no-constructor-return': "error";
1234
- 'eslint/no-continue': undefined;
1235
- 'eslint/no-control-regex': "error";
1236
- 'eslint/no-debugger': "error";
1237
- 'eslint/no-delete-var': "error";
1238
- 'eslint/no-div-regex': "error";
1239
- 'eslint/no-dupe-class-members': "error";
1240
- 'eslint/no-dupe-else-if': "error";
1241
- 'eslint/no-dupe-keys': "error";
1242
- 'eslint/no-duplicate-case': "error";
1243
- 'eslint/no-duplicate-imports': ["error", {
1190
+ 'no-alert': "error";
1191
+ 'no-array-constructor': "error";
1192
+ 'no-async-promise-executor': "error";
1193
+ 'no-await-in-loop': "error";
1194
+ 'no-bitwise': undefined;
1195
+ 'no-caller': "error";
1196
+ 'no-case-declarations': "error";
1197
+ 'no-class-assign': "error";
1198
+ 'no-compare-neg-zero': "error";
1199
+ 'no-cond-assign': ["error", "always"];
1200
+ 'no-console': undefined;
1201
+ 'no-const-assign': "error";
1202
+ 'no-constant-binary-expression': "error";
1203
+ 'no-constant-condition': "error";
1204
+ 'no-constructor-return': "error";
1205
+ 'no-continue': undefined;
1206
+ 'no-control-regex': "error";
1207
+ 'no-debugger': "error";
1208
+ 'no-delete-var': "error";
1209
+ 'no-div-regex': "error";
1210
+ 'no-dupe-class-members': "error";
1211
+ 'no-dupe-else-if': "error";
1212
+ 'no-dupe-keys': "error";
1213
+ 'no-duplicate-case': "error";
1214
+ 'no-duplicate-imports': ["error", {
1244
1215
  allowSeparateTypeImports: false;
1245
1216
  includeExports: false;
1246
1217
  }];
1247
- 'eslint/no-else-return': ["error", {
1218
+ 'no-else-return': ["error", {
1248
1219
  allowElseIf: false;
1249
1220
  }];
1250
- 'eslint/no-empty': ["error", {
1221
+ 'no-empty': ["error", {
1251
1222
  allowEmptyCatch: true;
1252
1223
  }];
1253
- 'eslint/no-empty-character-class': "error";
1254
- 'eslint/no-empty-function': undefined;
1255
- 'eslint/no-empty-pattern': "error";
1256
- 'eslint/no-empty-static-block': "error";
1257
- 'eslint/no-eq-null': undefined;
1258
- 'eslint/no-eval': "error";
1259
- 'eslint/no-ex-assign': "error";
1260
- 'eslint/no-extend-native': "error";
1261
- 'eslint/no-extra-bind': "error";
1262
- 'eslint/no-extra-boolean-cast': ["error", {
1263
- enforceForInnerExpressions: true;
1264
- }];
1265
- 'eslint/no-extra-label': "error";
1266
- 'eslint/no-fallthrough': "error";
1267
- 'eslint/no-func-assign': "error";
1268
- 'eslint/no-global-assign': "error";
1269
- 'eslint/no-implicit-coercion': undefined;
1270
- 'eslint/no-import-assign': "error";
1271
- 'eslint/no-inline-comments': undefined;
1272
- 'eslint/no-inner-declarations': undefined;
1273
- 'eslint/no-invalid-regexp': "error";
1274
- 'eslint/no-irregular-whitespace': "error";
1275
- 'eslint/no-iterator': "error";
1276
- 'eslint/no-label-var': "error";
1277
- 'eslint/no-labels': ["error", {
1224
+ 'no-empty-character-class': "error";
1225
+ 'no-empty-function': undefined;
1226
+ 'no-empty-pattern': "error";
1227
+ 'no-empty-static-block': "error";
1228
+ 'no-eq-null': undefined;
1229
+ 'no-eval': "error";
1230
+ 'no-ex-assign': "error";
1231
+ 'no-extend-native': "error";
1232
+ 'no-extra-bind': "error";
1233
+ 'no-extra-boolean-cast': "error";
1234
+ 'no-extra-label': "error";
1235
+ 'no-fallthrough': "error";
1236
+ 'no-func-assign': "error";
1237
+ 'no-global-assign': "error";
1238
+ 'no-implicit-coercion': undefined;
1239
+ 'no-implicit-globals': ["error", {
1240
+ lexicalBindings: true;
1241
+ }];
1242
+ 'no-implied-eval': "error";
1243
+ 'no-import-assign': "error";
1244
+ 'no-inline-comments': undefined;
1245
+ 'no-inner-declarations': undefined;
1246
+ 'no-invalid-regexp': "error";
1247
+ 'no-irregular-whitespace': "error";
1248
+ 'no-iterator': "error";
1249
+ 'no-label-var': "error";
1250
+ 'no-labels': ["error", {
1278
1251
  allowLoop: false;
1279
1252
  allowSwitch: false;
1280
1253
  }];
1281
- 'eslint/no-lone-blocks': "error";
1282
- 'eslint/no-lonely-if': "error";
1283
- 'eslint/no-loop-func': "error";
1284
- 'eslint/no-loss-of-precision': "error";
1285
- 'eslint/no-magic-numbers': undefined;
1286
- 'eslint/no-misleading-character-class': "error";
1287
- 'eslint/no-multi-assign': "error";
1288
- 'eslint/no-multi-str': "error";
1289
- 'eslint/no-negated-condition': "error";
1290
- 'eslint/no-nested-ternary': undefined;
1291
- 'eslint/no-new': "error";
1292
- 'eslint/no-new-func': "error";
1293
- 'eslint/no-new-native-nonconstructor': "error";
1294
- 'eslint/no-new-wrappers': "error";
1295
- 'eslint/no-nonoctal-decimal-escape': "error";
1296
- 'eslint/no-obj-calls': "error";
1297
- 'eslint/no-object-constructor': "error";
1298
- 'eslint/no-param-reassign': undefined;
1299
- 'eslint/no-plusplus': undefined;
1300
- 'eslint/no-promise-executor-return': undefined;
1301
- 'eslint/no-proto': "error";
1302
- 'eslint/no-prototype-builtins': "error";
1303
- 'eslint/no-redeclare': "error";
1304
- 'eslint/no-regex-spaces': "error";
1305
- 'eslint/no-restricted-exports': undefined;
1306
- 'eslint/no-restricted-globals': ["error", {
1254
+ 'no-lone-blocks': "error";
1255
+ 'no-lonely-if': "error";
1256
+ 'no-loop-func': "error";
1257
+ 'no-loss-of-precision': "error";
1258
+ 'no-magic-numbers': undefined;
1259
+ 'no-misleading-character-class': "error";
1260
+ 'no-multi-assign': "error";
1261
+ 'no-multi-str': "error";
1262
+ 'no-negated-condition': "error";
1263
+ 'no-nested-ternary': undefined;
1264
+ 'no-new': "error";
1265
+ 'no-new-func': "error";
1266
+ 'no-new-native-nonconstructor': "error";
1267
+ 'no-new-wrappers': "error";
1268
+ 'no-nonoctal-decimal-escape': "error";
1269
+ 'no-obj-calls': "error";
1270
+ 'no-object-constructor': "error";
1271
+ 'no-param-reassign': undefined;
1272
+ 'no-plusplus': undefined;
1273
+ 'no-promise-executor-return': "error";
1274
+ 'no-proto': "error";
1275
+ 'no-prototype-builtins': "error";
1276
+ 'no-redeclare': ["error", {
1277
+ builtinGlobals: false;
1278
+ }];
1279
+ 'no-regex-spaces': "error";
1280
+ 'no-restricted-exports': undefined;
1281
+ 'no-restricted-globals': ["error", {
1307
1282
  message: string;
1308
1283
  name: string;
1309
1284
  }, {
1310
1285
  message: string;
1311
1286
  name: string;
1312
1287
  }];
1313
- 'eslint/no-restricted-imports': undefined;
1314
- 'eslint/no-restricted-properties': undefined;
1315
- 'eslint/no-return-assign': "error";
1316
- 'eslint/no-script-url': "error";
1317
- 'eslint/no-self-assign': ["error", {
1288
+ 'no-restricted-imports': undefined;
1289
+ 'no-restricted-properties': ["error", {
1290
+ message: string;
1291
+ property: string;
1292
+ }, {
1293
+ message: string;
1294
+ property: string;
1295
+ }, {
1296
+ message: string;
1297
+ property: string;
1298
+ }, {
1299
+ message: string;
1300
+ property: string;
1301
+ }, {
1302
+ message: string;
1303
+ property: string;
1304
+ }];
1305
+ 'no-return-assign': "error";
1306
+ 'no-script-url': "error";
1307
+ 'no-self-assign': ["error", {
1318
1308
  props: true;
1319
1309
  }];
1320
- 'eslint/no-self-compare': "error";
1321
- 'eslint/no-sequences': "error";
1322
- 'eslint/no-setter-return': "error";
1323
- 'eslint/no-shadow': undefined;
1324
- 'eslint/no-shadow-restricted-names': "error";
1325
- 'eslint/no-sparse-arrays': "error";
1326
- 'eslint/no-template-curly-in-string': "error";
1327
- 'eslint/no-ternary': undefined;
1328
- 'eslint/no-this-before-super': "error";
1329
- 'eslint/no-throw-literal': "off";
1330
- 'eslint/no-unassigned-vars': "error";
1331
- 'eslint/no-undef': undefined;
1332
- 'eslint/no-undefined': undefined;
1333
- 'eslint/no-underscore-dangle': undefined;
1334
- 'eslint/no-unexpected-multiline': "error";
1335
- 'eslint/no-unmodified-loop-condition': "error";
1336
- 'eslint/no-unneeded-ternary': ["error", {
1310
+ 'no-self-compare': "error";
1311
+ 'no-sequences': "error";
1312
+ 'no-setter-return': "error";
1313
+ 'no-shadow': "off";
1314
+ 'no-shadow-restricted-names': "error";
1315
+ 'no-sparse-arrays': "error";
1316
+ 'no-template-curly-in-string': "error";
1317
+ 'no-ternary': undefined;
1318
+ 'no-this-before-super': "error";
1319
+ 'no-throw-literal': "error";
1320
+ 'no-unassigned-vars': "error";
1321
+ 'no-undef': "error";
1322
+ 'no-undefined': undefined;
1323
+ 'no-underscore-dangle': undefined;
1324
+ 'no-unexpected-multiline': "error";
1325
+ 'no-unmodified-loop-condition': "error";
1326
+ 'no-unneeded-ternary': ["error", {
1337
1327
  defaultAssignment: false;
1338
1328
  }];
1339
- 'eslint/no-unreachable': "error";
1340
- 'eslint/no-unsafe-finally': "error";
1341
- 'eslint/no-unsafe-negation': "error";
1342
- 'eslint/no-unsafe-optional-chaining': ["error", {
1343
- disallowArithmeticOperators: true;
1344
- }];
1345
- 'eslint/no-unused-expressions': ["error", {
1329
+ 'no-unreachable': "error";
1330
+ 'no-unreachable-loop': "error";
1331
+ 'no-unsafe-finally': "error";
1332
+ 'no-unsafe-negation': "error";
1333
+ 'no-unsafe-optional-chaining': "error";
1334
+ 'no-unused-expressions': ["error", {
1346
1335
  allowShortCircuit: true;
1347
1336
  allowTaggedTemplates: true;
1348
1337
  allowTernary: true;
1349
1338
  }];
1350
- 'eslint/no-unused-labels': "error";
1351
- 'eslint/no-unused-private-class-members': "error";
1352
- 'eslint/no-unused-vars': ["error", {
1339
+ 'no-unused-labels': "error";
1340
+ 'no-unused-private-class-members': "error";
1341
+ 'no-unused-vars': ["error", {
1353
1342
  args: "none";
1354
1343
  caughtErrors: "none";
1355
1344
  vars: "all";
@@ -1357,71 +1346,82 @@ declare const twoDigits: Omit<{
1357
1346
  ignoreRestSiblings: true;
1358
1347
  varsIgnorePattern: string;
1359
1348
  }];
1360
- 'eslint/no-use-before-define': undefined;
1361
- 'eslint/no-useless-assignment': undefined;
1362
- 'eslint/no-useless-backreference': "error";
1363
- 'eslint/no-useless-call': "error";
1364
- 'eslint/no-useless-catch': "error";
1365
- 'eslint/no-useless-computed-key': "error";
1366
- 'eslint/no-useless-concat': "error";
1367
- 'eslint/no-useless-constructor': "error";
1368
- 'eslint/no-useless-escape': "error";
1369
- 'eslint/no-useless-rename': "error";
1370
- 'eslint/no-useless-return': "error";
1371
- 'eslint/no-var': "error";
1372
- 'eslint/no-void': undefined;
1373
- 'eslint/no-warning-comments': undefined;
1374
- 'eslint/no-with': "error";
1375
- 'eslint/object-shorthand': "error";
1376
- 'eslint/operator-assignment': ["error", "always"];
1377
- 'eslint/prefer-const': ["error", {
1349
+ 'no-use-before-define': undefined;
1350
+ 'no-useless-assignment': "off";
1351
+ 'no-useless-backreference': "error";
1352
+ 'no-useless-call': "error";
1353
+ 'no-useless-catch': "error";
1354
+ 'no-useless-computed-key': "error";
1355
+ 'no-useless-concat': "error";
1356
+ 'no-useless-constructor': "error";
1357
+ 'no-useless-escape': "error";
1358
+ 'no-useless-rename': "error";
1359
+ 'no-useless-return': "error";
1360
+ 'no-var': "error";
1361
+ 'no-void': undefined;
1362
+ 'no-warning-comments': undefined;
1363
+ 'no-with': "error";
1364
+ 'object-shorthand': ["error", "always", {
1365
+ avoidQuotes: true;
1366
+ ignoreConstructors: false;
1367
+ }];
1368
+ 'one-var': undefined;
1369
+ 'operator-assignment': ["error", "always"];
1370
+ 'prefer-arrow-callback': ["error", {
1371
+ allowNamedFunctions: true;
1372
+ allowUnboundThis: true;
1373
+ }];
1374
+ 'prefer-const': ["error", {
1378
1375
  destructuring: "all";
1379
1376
  ignoreReadBeforeAssign: true;
1380
1377
  }];
1381
- 'eslint/prefer-destructuring': ["error", {
1378
+ 'prefer-destructuring': ["error", {
1382
1379
  array: true;
1383
1380
  object: true;
1384
1381
  }, {
1385
- enforceForRenamedProperties: boolean;
1386
- }];
1387
- 'eslint/prefer-exponentiation-operator': "error";
1388
- 'eslint/prefer-numeric-literals': "error";
1389
- 'eslint/prefer-object-has-own': "error";
1390
- 'eslint/prefer-object-spread': "error";
1391
- 'eslint/prefer-promise-reject-errors': "error";
1392
- 'eslint/prefer-regex-literals': undefined;
1393
- 'eslint/prefer-rest-params': "error";
1394
- 'eslint/prefer-spread': "error";
1395
- 'eslint/prefer-template': "error";
1396
- 'eslint/preserve-caught-error': "error";
1397
- 'eslint/radix': "error";
1398
- 'eslint/require-await': undefined;
1399
- 'eslint/require-unicode-regexp': undefined;
1400
- 'eslint/require-yield': "error";
1401
- 'eslint/sort-imports': undefined;
1402
- 'eslint/sort-keys': undefined;
1403
- 'eslint/sort-vars': "error";
1404
- 'eslint/symbol-description': "error";
1405
- 'eslint/unicode-bom': ["error", "never"];
1406
- 'eslint/use-isnan': ["error", {
1382
+ enforceForRenamedProperties: true;
1383
+ }];
1384
+ 'prefer-exponentiation-operator': "error";
1385
+ 'prefer-named-capture-group': undefined;
1386
+ 'prefer-numeric-literals': "error";
1387
+ 'prefer-object-has-own': "error";
1388
+ 'prefer-object-spread': "error";
1389
+ 'prefer-promise-reject-errors': "error";
1390
+ 'prefer-regex-literals': ["error", {
1391
+ disallowRedundantWrapping: true;
1392
+ }];
1393
+ 'prefer-rest-params': "error";
1394
+ 'prefer-spread': "error";
1395
+ 'prefer-template': "error";
1396
+ 'preserve-caught-error': "error";
1397
+ 'require-await': undefined;
1398
+ 'require-unicode-regexp': undefined;
1399
+ 'require-yield': "error";
1400
+ 'sort-imports': undefined;
1401
+ 'sort-keys': undefined;
1402
+ 'sort-vars': "error";
1403
+ 'symbol-description': "error";
1404
+ 'unicode-bom': ["error", "never"];
1405
+ 'use-isnan': ["error", {
1407
1406
  enforceForIndexOf: true;
1408
1407
  enforceForSwitchCase: true;
1409
1408
  }];
1410
- 'eslint/valid-typeof': ["error", {
1409
+ 'valid-typeof': ["error", {
1411
1410
  requireStringLiterals: true;
1412
1411
  }];
1413
- 'eslint/vars-on-top': "error";
1414
- 'eslint/yoda': ["error", "never"];
1415
- 'eslint/no-implicit-globals': undefined;
1416
- 'eslint/prefer-arrow-callback': undefined;
1417
- 'eslint/id-match': undefined;
1418
- 'eslint/no-implied-eval': undefined;
1419
- 'eslint/prefer-named-capture-group': undefined;
1420
- 'eslint/no-unreachable-loop': undefined;
1412
+ 'vars-on-top': "error";
1413
+ complexity: ["error", {
1414
+ variant: "modified";
1415
+ max: number;
1416
+ }];
1417
+ curly: "error";
1418
+ eqeqeq: ["error", "smart"];
1419
+ radix: "error";
1420
+ yoda: ["error", "never"];
1421
1421
  };
1422
1422
  } | {
1423
- readonly plugins: ["jsdoc"];
1424
- readonly rules: {
1423
+ plugins: "jsdoc"[];
1424
+ rules: {
1425
1425
  'jsdoc/check-access': "error";
1426
1426
  'jsdoc/check-property-names': "error";
1427
1427
  'jsdoc/check-tag-names': ["error", {
@@ -1448,9 +1448,9 @@ declare const twoDigits: Omit<{
1448
1448
  'jsdoc/require-yields-type': undefined;
1449
1449
  };
1450
1450
  } | {
1451
- readonly plugins: ["node"];
1452
- readonly rules: {
1453
- 'node/handle-callback-err': "error";
1451
+ plugins: "node"[];
1452
+ rules: {
1453
+ 'node/handle-callback-err': ["error", string];
1454
1454
  'node/no-exports-assign': "error";
1455
1455
  'node/no-new-require': "error";
1456
1456
  'node/no-path-concat': "error";
@@ -1459,15 +1459,17 @@ declare const twoDigits: Omit<{
1459
1459
  'node/no-mixed-requires': undefined;
1460
1460
  'node/no-process-env': undefined;
1461
1461
  'node/no-sync': undefined;
1462
+ 'node/no-top-level-await': undefined;
1462
1463
  };
1463
1464
  } | {
1464
- readonly plugins: ["oxc"];
1465
- readonly rules: {
1465
+ plugins: "oxc"[];
1466
+ rules: {
1466
1467
  'oxc/approx-constant': "error";
1467
1468
  'oxc/bad-array-method-on-arguments': "error";
1468
1469
  'oxc/bad-bitwise-operator': "error";
1469
1470
  'oxc/bad-char-at-comparison': "error";
1470
1471
  'oxc/bad-comparison-sequence': "error";
1472
+ 'oxc/bad-match-all-arg': "error";
1471
1473
  'oxc/bad-min-max-func': "error";
1472
1474
  'oxc/bad-object-literal-comparison': "error";
1473
1475
  'oxc/bad-replace-all-arg': "error";
@@ -1493,8 +1495,8 @@ declare const twoDigits: Omit<{
1493
1495
  'oxc/uninvoked-array-callback': "error";
1494
1496
  };
1495
1497
  } | {
1496
- readonly plugins: ["unicorn"];
1497
- readonly rules: {
1498
+ plugins: "unicorn"[];
1499
+ rules: {
1498
1500
  'unicorn/catch-error-name': "error";
1499
1501
  'unicorn/consistent-assert': "error";
1500
1502
  'unicorn/consistent-date-clone': "error";
@@ -1503,16 +1505,20 @@ declare const twoDigits: Omit<{
1503
1505
  'unicorn/consistent-function-scoping': "error";
1504
1506
  'unicorn/consistent-template-literal-escape': "error";
1505
1507
  'unicorn/custom-error-definition': undefined;
1506
- 'unicorn/empty-brace-spaces': undefined;
1508
+ 'unicorn/empty-brace-spaces': "error";
1507
1509
  'unicorn/error-message': "error";
1508
1510
  'unicorn/escape-case': "error";
1509
1511
  'unicorn/explicit-length-check': "error";
1512
+ 'unicorn/explicit-timer-delay': "error";
1510
1513
  'unicorn/filename-case': undefined;
1514
+ 'unicorn/import-style': "error";
1515
+ 'unicorn/max-nested-calls': undefined;
1511
1516
  'unicorn/new-for-builtins': "error";
1512
1517
  'unicorn/no-abusive-eslint-disable': "error";
1513
1518
  'unicorn/no-accessor-recursion': "error";
1514
1519
  'unicorn/no-anonymous-default-export': "error";
1515
1520
  'unicorn/no-array-callback-reference': undefined;
1521
+ 'unicorn/no-array-fill-with-reference-type': "error";
1516
1522
  'unicorn/no-array-for-each': "error";
1517
1523
  'unicorn/no-array-method-this-argument': "error";
1518
1524
  'unicorn/no-array-reduce': "error";
@@ -1520,6 +1526,7 @@ declare const twoDigits: Omit<{
1520
1526
  'unicorn/no-array-sort': "error";
1521
1527
  'unicorn/no-await-expression-member': "error";
1522
1528
  'unicorn/no-await-in-promise-methods': "error";
1529
+ 'unicorn/no-confusing-array-with': "error";
1523
1530
  'unicorn/no-console-spaces': "error";
1524
1531
  'unicorn/no-document-cookie': "error";
1525
1532
  'unicorn/no-empty-file': "error";
@@ -1572,9 +1579,7 @@ declare const twoDigits: Omit<{
1572
1579
  'unicorn/prefer-array-flat-map': "error";
1573
1580
  'unicorn/prefer-array-index-of': "error";
1574
1581
  'unicorn/prefer-array-some': "error";
1575
- 'unicorn/prefer-at': ["error", {
1576
- checkAllIndexAccess: false;
1577
- }];
1582
+ 'unicorn/prefer-at': "error";
1578
1583
  'unicorn/prefer-bigint-literals': "error";
1579
1584
  'unicorn/prefer-blob-reading-methods': "error";
1580
1585
  'unicorn/prefer-class-fields': "error";
@@ -1587,6 +1592,7 @@ declare const twoDigits: Omit<{
1587
1592
  'unicorn/prefer-dom-node-remove': "error";
1588
1593
  'unicorn/prefer-dom-node-text-content': "error";
1589
1594
  'unicorn/prefer-event-target': "error";
1595
+ 'unicorn/prefer-export-from': "error";
1590
1596
  'unicorn/prefer-global-this': "error";
1591
1597
  'unicorn/prefer-import-meta-properties': undefined;
1592
1598
  'unicorn/prefer-includes': "error";
@@ -1600,10 +1606,9 @@ declare const twoDigits: Omit<{
1600
1606
  'unicorn/prefer-native-coercion-functions': "error";
1601
1607
  'unicorn/prefer-negative-index': "error";
1602
1608
  'unicorn/prefer-node-protocol': "error";
1609
+ 'unicorn/prefer-number-coercion': undefined;
1603
1610
  'unicorn/prefer-number-properties': "error";
1604
- 'unicorn/prefer-object-from-entries': ["error", {
1605
- functions: never[];
1606
- }];
1611
+ 'unicorn/prefer-object-from-entries': "error";
1607
1612
  'unicorn/prefer-optional-catch-binding': "error";
1608
1613
  'unicorn/prefer-prototype-methods': "error";
1609
1614
  'unicorn/prefer-query-selector': "error";
@@ -1612,15 +1617,14 @@ declare const twoDigits: Omit<{
1612
1617
  'unicorn/prefer-response-static-json': "error";
1613
1618
  'unicorn/prefer-set-has': "error";
1614
1619
  'unicorn/prefer-set-size': "error";
1620
+ 'unicorn/prefer-single-call': "error";
1615
1621
  'unicorn/prefer-spread': "error";
1616
1622
  'unicorn/prefer-string-raw': "error";
1617
1623
  'unicorn/prefer-string-replace-all': "error";
1618
1624
  'unicorn/prefer-string-slice': "error";
1619
1625
  'unicorn/prefer-string-starts-ends-with': "error";
1620
1626
  'unicorn/prefer-string-trim-start-end': "error";
1621
- 'unicorn/prefer-structured-clone': ["error", {
1622
- functions: never[];
1623
- }];
1627
+ 'unicorn/prefer-structured-clone': "error";
1624
1628
  'unicorn/prefer-ternary': ["error", "only-single-line"];
1625
1629
  'unicorn/prefer-top-level-await': undefined;
1626
1630
  'unicorn/prefer-type-error': "error";
@@ -1630,25 +1634,17 @@ declare const twoDigits: Omit<{
1630
1634
  'unicorn/require-module-specifiers': "error";
1631
1635
  'unicorn/require-number-to-fixed-digits-argument': "error";
1632
1636
  'unicorn/require-post-message-target-origin': undefined;
1633
- 'unicorn/switch-case-braces': ["error", "always"];
1637
+ 'unicorn/switch-case-braces': "error";
1634
1638
  'unicorn/switch-case-break-position': "error";
1635
1639
  'unicorn/text-encoding-identifier-case': "error";
1636
1640
  'unicorn/throw-new-error': "off";
1637
- 'unicorn/import-style': undefined;
1638
- 'unicorn/max-nested-calls': undefined;
1639
- 'unicorn/no-array-fill-with-reference-type': undefined;
1640
- 'unicorn/prefer-export-from': undefined;
1641
- 'unicorn/prefer-number-coercion': undefined;
1642
- 'unicorn/prefer-single-call': undefined;
1643
- 'unicorn/explicit-timer-delay': undefined;
1644
- 'unicorn/no-confusing-array-with': undefined;
1645
1641
  };
1646
1642
  } | {
1647
- readonly jsPlugins: [{
1648
- readonly name: "zod";
1649
- readonly specifier: string;
1650
- }];
1651
- readonly rules: {
1643
+ jsPlugins: {
1644
+ name: string;
1645
+ specifier: string;
1646
+ }[];
1647
+ rules: {
1652
1648
  'zod/array-style': ["error", {
1653
1649
  style: "function";
1654
1650
  }];
@@ -1707,54 +1703,68 @@ declare const twoDigits: Omit<{
1707
1703
  'zod/require-error-message': undefined;
1708
1704
  };
1709
1705
  } | {
1710
- readonly overrides: [{
1711
- readonly files: ["**/*.d.ts"];
1712
- readonly rules: {
1713
- readonly 'eslint/no-duplicate-imports': "off";
1714
- readonly 'eslint/no-undef': "off";
1715
- readonly 'eslint/no-unused-vars': "off";
1716
- readonly 'import/unambiguous': "off";
1706
+ overrides: ({
1707
+ files: "**/*.d.ts"[];
1708
+ rules: {
1709
+ 'no-duplicate-imports': "off";
1710
+ 'no-undef': "off";
1711
+ 'no-unused-vars': "off";
1712
+ 'import/unambiguous': "off";
1713
+ 'no-unused-expressions'?: undefined;
1714
+ 'typescript/no-import-type-side-effects'?: undefined;
1717
1715
  };
1718
- }, {
1719
- readonly files: ["**/*.{test,spec}.ts?(x)"];
1720
- readonly globals: {
1721
- readonly afterAll: "readonly";
1722
- readonly afterEach: "readonly";
1723
- readonly beforeAll: "readonly";
1724
- readonly beforeEach: "readonly";
1725
- readonly bench: "readonly";
1726
- readonly describe: "readonly";
1727
- readonly expect: "readonly";
1728
- readonly expectTypeOf: "readonly";
1729
- readonly it: "readonly";
1730
- readonly suite: "readonly";
1731
- readonly test: "readonly";
1732
- readonly vi: "readonly";
1716
+ globals?: undefined;
1717
+ } | {
1718
+ files: "**/*.{test,spec}.ts?(x)"[];
1719
+ globals: {
1720
+ afterAll: "readonly";
1721
+ afterEach: "readonly";
1722
+ beforeAll: "readonly";
1723
+ beforeEach: "readonly";
1724
+ bench: "readonly";
1725
+ describe: "readonly";
1726
+ expect: "readonly";
1727
+ expectTypeOf: "readonly";
1728
+ it: "readonly";
1729
+ suite: "readonly";
1730
+ test: "readonly";
1731
+ vi: "readonly";
1733
1732
  };
1734
- readonly rules: {
1735
- readonly 'eslint/no-unused-expressions': "off";
1733
+ rules: {
1734
+ 'no-duplicate-imports'?: undefined;
1735
+ 'no-undef'?: undefined;
1736
+ 'no-unused-vars'?: undefined;
1737
+ 'import/unambiguous'?: undefined;
1738
+ 'no-unused-expressions': "off";
1739
+ 'typescript/no-import-type-side-effects'?: undefined;
1736
1740
  };
1737
- }, {
1738
- readonly files: ["**/*.js", "**/*.cjs", "**/*.cts"];
1739
- readonly rules: {
1740
- readonly 'typescript/no-import-type-side-effects': "off";
1741
+ } | {
1742
+ globals?: undefined;
1743
+ files: ("**/*.cjs" | "**/*.cts" | "**/*.js")[];
1744
+ rules: {
1745
+ 'no-duplicate-imports'?: undefined;
1746
+ 'no-undef'?: undefined;
1747
+ 'no-unused-vars'?: undefined;
1748
+ 'import/unambiguous'?: undefined;
1749
+ 'no-unused-expressions'?: undefined;
1750
+ 'typescript/no-import-type-side-effects': "off";
1741
1751
  };
1742
- }];
1752
+ })[];
1743
1753
  } | {
1744
- readonly options: {
1745
- readonly typeAware: true;
1754
+ options: {
1755
+ typeAware: true;
1746
1756
  };
1747
- readonly plugins: ["react", "react-perf"];
1748
- readonly jsPlugins: [{
1749
- readonly name: "react-compiler";
1750
- readonly specifier: string;
1751
- }, {
1752
- readonly name: "stylistic";
1753
- readonly specifier: string;
1754
- }];
1755
- readonly rules: {
1757
+ plugins: ("react" | "react-perf")[];
1758
+ jsPlugins: {
1759
+ name: string;
1760
+ specifier: string;
1761
+ }[];
1762
+ rules: {
1756
1763
  'react/button-has-type': "error";
1757
1764
  'react/exhaustive-deps': "error";
1765
+ 'react/function-component-definition': ["error", {
1766
+ namedComponents: "function-declaration";
1767
+ }];
1758
1768
  'react/iframe-missing-sandbox': "error";
1759
1769
  'react/jsx-key': "error";
1760
1770
  'react/jsx-no-comment-textnodes': "warn";
@@ -1778,7 +1788,7 @@ declare const twoDigits: Omit<{
1778
1788
  'react/rules-of-hooks': "error";
1779
1789
  'react/self-closing-comp': "error";
1780
1790
  'react/void-dom-elements-no-children': "error";
1781
- 'react_perf/jsx-no-jsx-as-prop': "error";
1791
+ 'react-perf/jsx-no-jsx-as-prop': "error";
1782
1792
  'react-compiler/react-compiler': "error";
1783
1793
  'stylistic/jsx-curly-newline': "off";
1784
1794
  'stylistic/jsx-newline': ["error", {
@@ -1790,7 +1800,7 @@ declare const twoDigits: Omit<{
1790
1800
  'react/forbid-dom-props': undefined;
1791
1801
  'react/forbid-elements': undefined;
1792
1802
  'react/forward-ref-uses-ref': "off";
1793
- 'react/hook-use-state': "off";
1803
+ 'react/hook-use-state': "error";
1794
1804
  'react/jsx-boolean-value': "off";
1795
1805
  'react/jsx-curly-brace-presence': undefined;
1796
1806
  'react/jsx-filename-extension': "off";
@@ -1822,16 +1832,16 @@ declare const twoDigits: Omit<{
1822
1832
  'react/require-render-return': undefined;
1823
1833
  'react/state-in-constructor': undefined;
1824
1834
  'react/style-prop-object': undefined;
1825
- 'react_perf/jsx-no-new-array-as-prop': undefined;
1826
- 'react_perf/jsx-no-new-function-as-prop': undefined;
1827
- 'react_perf/jsx-no-new-object-as-prop': undefined;
1835
+ 'react-perf/jsx-no-new-array-as-prop': undefined;
1836
+ 'react-perf/jsx-no-new-function-as-prop': undefined;
1837
+ 'react-perf/jsx-no-new-object-as-prop': undefined;
1828
1838
  };
1829
1839
  } | {
1830
- readonly plugins: ["typescript"];
1831
- readonly options: {
1832
- readonly typeAware: true;
1840
+ plugins: "typescript"[];
1841
+ options: {
1842
+ typeAware: true;
1833
1843
  };
1834
- readonly rules: {
1844
+ rules: {
1835
1845
  'typescript/adjacent-overload-signatures': "error";
1836
1846
  'typescript/array-type': ["error", {
1837
1847
  default: "generic";
@@ -1842,16 +1852,16 @@ declare const twoDigits: Omit<{
1842
1852
  'ts-ignore': "allow-with-description";
1843
1853
  }];
1844
1854
  'typescript/ban-tslint-comment': "error";
1855
+ 'typescript/ban-types': undefined;
1845
1856
  'typescript/class-literal-property-style': "error";
1846
1857
  'typescript/consistent-generic-constructors': ["error", "constructor"];
1847
1858
  'typescript/consistent-indexed-object-style': ["error", "record"];
1859
+ 'typescript/consistent-return': "off";
1848
1860
  'typescript/consistent-type-assertions': ["error", {
1849
1861
  assertionStyle: "as";
1850
1862
  }];
1851
1863
  'typescript/consistent-type-definitions': ["error", "interface"];
1852
- 'typescript/consistent-type-exports': ["error", {
1853
- fixMixedExportsWithInlineTypeSpecifier: true;
1854
- }];
1864
+ 'typescript/consistent-type-exports': ["error"];
1855
1865
  'typescript/consistent-type-imports': ["error", {
1856
1866
  fixStyle: "inline-type-imports";
1857
1867
  prefer: "type-imports";
@@ -1860,13 +1870,14 @@ declare const twoDigits: Omit<{
1860
1870
  'typescript/dot-notation': ["error", {
1861
1871
  allowKeywords: true;
1862
1872
  }];
1873
+ 'typescript/explicit-function-return-type': undefined;
1874
+ 'typescript/explicit-member-accessibility': undefined;
1875
+ 'typescript/explicit-module-boundary-types': undefined;
1876
+ 'typescript/method-signature-style': ["error", "property"];
1863
1877
  'typescript/no-array-delete': "error";
1864
1878
  'typescript/no-base-to-string': "error";
1865
1879
  'typescript/no-confusing-non-null-assertion': "error";
1866
- 'typescript/no-confusing-void-expression': ["error", {
1867
- ignoreArrowShorthand: true;
1868
- ignoreVoidOperator: true;
1869
- }];
1880
+ 'typescript/no-confusing-void-expression': "off";
1870
1881
  'typescript/no-deprecated': "error";
1871
1882
  'typescript/no-duplicate-enum-values': "error";
1872
1883
  'typescript/no-duplicate-type-constituents': "error";
@@ -1878,45 +1889,35 @@ declare const twoDigits: Omit<{
1878
1889
  allowInterfaces: "with-single-extends";
1879
1890
  allowObjectTypes: "never";
1880
1891
  }];
1881
- 'typescript/no-explicit-any': ["error", {
1882
- fixToUnknown: true;
1883
- ignoreRestArgs: true;
1884
- }];
1892
+ 'typescript/no-explicit-any': ["error"];
1885
1893
  'typescript/no-extra-non-null-assertion': "error";
1886
- 'typescript/no-extraneous-class': ["error", {
1887
- allowStaticOnly: true;
1888
- }];
1894
+ 'typescript/no-extraneous-class': "error";
1889
1895
  'typescript/no-floating-promises': "error";
1890
1896
  'typescript/no-for-in-array': "error";
1891
1897
  'typescript/no-implied-eval': "error";
1892
- 'typescript/no-import-type-side-effects': "error";
1898
+ 'typescript/no-import-type-side-effects': ["error"];
1893
1899
  'typescript/no-inferrable-types': "error";
1894
1900
  'typescript/no-invalid-void-type': "error";
1895
1901
  'typescript/no-meaningless-void-operator': "error";
1896
1902
  'typescript/no-misused-new': "error";
1897
- 'typescript/no-misused-promises': ["error", {
1898
- checksVoidReturn: boolean;
1899
- }];
1903
+ 'typescript/no-misused-promises': "off";
1900
1904
  'typescript/no-misused-spread': "error";
1901
1905
  'typescript/no-mixed-enums': "error";
1902
- 'typescript/no-namespace': ["error", {
1903
- allowDefinitionFiles: true;
1904
- }];
1906
+ 'typescript/no-namespace': "error";
1905
1907
  'typescript/no-non-null-asserted-nullish-coalescing': "error";
1906
1908
  'typescript/no-non-null-asserted-optional-chain': "error";
1907
1909
  'typescript/no-non-null-assertion': "error";
1908
1910
  'typescript/no-redundant-type-constituents': "error";
1909
1911
  'typescript/no-require-imports': "error";
1912
+ 'typescript/no-restricted-types': undefined;
1910
1913
  'typescript/no-this-alias': "error";
1911
1914
  'typescript/no-unnecessary-boolean-literal-compare': "error";
1912
- 'typescript/no-unnecessary-condition': ["error", {
1913
- allowConstantLoopConditions: string;
1914
- }];
1915
+ 'typescript/no-unnecessary-condition': "error";
1915
1916
  'typescript/no-unnecessary-parameter-property-assignment': "error";
1916
1917
  'typescript/no-unnecessary-qualifier': "error";
1917
1918
  'typescript/no-unnecessary-template-expression': "error";
1918
1919
  'typescript/no-unnecessary-type-arguments': "error";
1919
- 'typescript/no-unnecessary-type-assertion': "error";
1920
+ 'typescript/no-unnecessary-type-assertion': "off";
1920
1921
  'typescript/no-unnecessary-type-constraint': "error";
1921
1922
  'typescript/no-unnecessary-type-conversion': "error";
1922
1923
  'typescript/no-unnecessary-type-parameters': "error";
@@ -1928,6 +1929,7 @@ declare const twoDigits: Omit<{
1928
1929
  'typescript/no-unsafe-function-type': "error";
1929
1930
  'typescript/no-unsafe-member-access': "error";
1930
1931
  'typescript/no-unsafe-return': "error";
1932
+ 'typescript/no-unsafe-type-assertion': "off";
1931
1933
  'typescript/no-unsafe-unary-minus': "error";
1932
1934
  'typescript/no-useless-default-assignment': "error";
1933
1935
  'typescript/no-useless-empty-export': "error";
@@ -1950,45 +1952,43 @@ declare const twoDigits: Omit<{
1950
1952
  'typescript/prefer-optional-chain': "error";
1951
1953
  'typescript/prefer-promise-reject-errors': "error";
1952
1954
  'typescript/prefer-readonly': "error";
1955
+ 'typescript/prefer-readonly-parameter-types': "off";
1953
1956
  'typescript/prefer-reduce-type-parameter': "error";
1954
1957
  'typescript/prefer-regexp-exec': "error";
1955
1958
  'typescript/prefer-return-this-type': "error";
1956
1959
  'typescript/prefer-string-starts-ends-with': "error";
1960
+ 'typescript/prefer-ts-expect-error': undefined;
1961
+ 'typescript/promise-function-async': undefined;
1957
1962
  'typescript/related-getter-setter-pairs': "error";
1958
1963
  'typescript/require-array-sort-compare': "error";
1959
1964
  'typescript/require-await': "error";
1960
- 'typescript/restrict-plus-operands': "error";
1965
+ 'typescript/restrict-plus-operands': ["error", {
1966
+ allowAny: false;
1967
+ allowBoolean: false;
1968
+ allowNullish: false;
1969
+ allowNumberAndString: false;
1970
+ allowRegExp: false;
1971
+ }];
1961
1972
  'typescript/restrict-template-expressions': ["error", {
1962
1973
  allowNumber: true;
1963
1974
  }];
1964
1975
  'typescript/return-await': ["error", "error-handling-correctness-only"];
1976
+ 'typescript/strict-boolean-expressions': undefined;
1977
+ 'typescript/strict-void-return': "off";
1978
+ 'typescript/switch-exhaustiveness-check': "off";
1965
1979
  'typescript/triple-slash-reference': "error";
1980
+ 'typescript/unbound-method': "off";
1966
1981
  'typescript/unified-signatures': "error";
1967
1982
  'typescript/use-unknown-in-catch-callback-variable': "error";
1968
- 'typescript/ban-types': undefined;
1969
- 'typescript/consistent-return': undefined;
1970
- 'typescript/explicit-function-return-type': undefined;
1971
- 'typescript/explicit-member-accessibility': undefined;
1972
- 'typescript/explicit-module-boundary-types': undefined;
1973
- 'typescript/method-signature-style': undefined;
1974
- 'typescript/no-restricted-types': undefined;
1975
- 'typescript/no-unsafe-type-assertion': undefined;
1976
- 'typescript/prefer-readonly-parameter-types': undefined;
1977
- 'typescript/prefer-ts-expect-error': undefined;
1978
- 'typescript/promise-function-async': undefined;
1979
- 'typescript/strict-boolean-expressions': undefined;
1980
- 'typescript/strict-void-return': undefined;
1981
- 'typescript/switch-exhaustiveness-check': undefined;
1982
- 'typescript/unbound-method': "off";
1983
1983
  };
1984
1984
  } | {
1985
- readonly plugins: ["vitest"];
1986
- readonly settings: {
1987
- readonly vitest: {
1988
- readonly typecheck: true;
1985
+ plugins: "vitest"[];
1986
+ settings: {
1987
+ vitest: {
1988
+ typecheck: true;
1989
1989
  };
1990
1990
  };
1991
- readonly rules: {
1991
+ rules: {
1992
1992
  'vitest/consistent-each-for': ["error", {
1993
1993
  describe: "for";
1994
1994
  suite: "for";
@@ -1999,7 +1999,10 @@ declare const twoDigits: Omit<{
1999
1999
  pattern: string;
2000
2000
  allTestPattern: string;
2001
2001
  }];
2002
- 'vitest/consistent-test-it': "error";
2002
+ 'vitest/consistent-test-it': ["error", {
2003
+ fn: "it";
2004
+ withinDescribe: "it";
2005
+ }];
2003
2006
  'vitest/consistent-vitest-vi': ["error", {
2004
2007
  fn: "vi";
2005
2008
  }];
@@ -2051,7 +2054,7 @@ declare const twoDigits: Omit<{
2051
2054
  'vitest/prefer-lowercase-title': "error";
2052
2055
  'vitest/prefer-mock-promise-shorthand': "error";
2053
2056
  'vitest/prefer-mock-return-shorthand': "error";
2054
- 'vitest/prefer-snapshot-hint': ["error", string];
2057
+ 'vitest/prefer-snapshot-hint': ["error", "always"];
2055
2058
  'vitest/prefer-spy-on': "error";
2056
2059
  'vitest/prefer-strict-boolean-matchers': undefined;
2057
2060
  'vitest/prefer-strict-equal': "error";
@@ -2073,15 +2076,18 @@ declare const twoDigits: Omit<{
2073
2076
  'vitest/valid-describe-callback': "error";
2074
2077
  'vitest/valid-expect': "error";
2075
2078
  'vitest/valid-expect-in-promise': "error";
2076
- 'vitest/valid-title': undefined;
2079
+ 'vitest/valid-title': ["error", {
2080
+ ignoreTypeOfDescribeName: boolean;
2081
+ }];
2077
2082
  'vitest/warn-todo': "error";
2078
2083
  'vitest/padding-around-after-all-blocks': undefined;
2084
+ 'vitest/padding-around-test-blocks': undefined;
2079
2085
  };
2080
2086
  })[];
2081
2087
  ignorePatterns: string[];
2082
2088
  options: {
2083
- readonly denyWarnings: true;
2084
- readonly reportUnusedDisableDirectives: "deny";
2089
+ denyWarnings: true;
2090
+ reportUnusedDisableDirectives: "deny";
2085
2091
  };
2086
2092
  };
2087
2093
  /**
@@ -2093,4 +2099,7 @@ declare const twoDigits: Omit<{
2093
2099
  */
2094
2100
  declare function withTwoDigits(...configs: Array<OxlintConfig$1>): OxlintConfig$1;
2095
2101
  //#endregion
2096
- export { type OxlintConfig, type OxlintOverride, type RuleMap, type RuleName, withTwoDigits as default, withTwoDigits, twoDigits };
2102
+ //#region src/index.d.ts
2103
+ type RuleName = keyof DummyRuleMap$1;
2104
+ //#endregion
2105
+ export { type DummyRuleMap, type OxlintConfig, type OxlintOverride, type RuleMap, RuleName, withTwoDigits as default, withTwoDigits, twoDigits };