@jimmy.codes/eslint-config 5.18.1 → 5.20.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.ts CHANGED
@@ -1,5 +1,26 @@
1
1
  import * as eslint from 'eslint';
2
2
  import { Linter } from 'eslint';
3
+ import * as _next_eslint_plugin_next_dist_rules_no_unwanted_polyfillio from '@next/eslint-plugin-next/dist/rules/no-unwanted-polyfillio';
4
+ import * as _next_eslint_plugin_next_dist_rules_no_typos from '@next/eslint-plugin-next/dist/rules/no-typos';
5
+ import * as _next_eslint_plugin_next_dist_rules_no_title_in_document_head from '@next/eslint-plugin-next/dist/rules/no-title-in-document-head';
6
+ import * as _next_eslint_plugin_next_dist_rules_no_sync_scripts from '@next/eslint-plugin-next/dist/rules/no-sync-scripts';
7
+ import * as _next_eslint_plugin_next_dist_rules_no_styled_jsx_in_document from '@next/eslint-plugin-next/dist/rules/no-styled-jsx-in-document';
8
+ import * as _next_eslint_plugin_next_dist_rules_no_script_component_in_head from '@next/eslint-plugin-next/dist/rules/no-script-component-in-head';
9
+ import * as _next_eslint_plugin_next_dist_rules_no_page_custom_font from '@next/eslint-plugin-next/dist/rules/no-page-custom-font';
10
+ import * as _next_eslint_plugin_next_dist_rules_no_img_element from '@next/eslint-plugin-next/dist/rules/no-img-element';
11
+ import * as _next_eslint_plugin_next_dist_rules_no_html_link_for_pages from '@next/eslint-plugin-next/dist/rules/no-html-link-for-pages';
12
+ import * as _next_eslint_plugin_next_dist_rules_no_head_import_in_document from '@next/eslint-plugin-next/dist/rules/no-head-import-in-document';
13
+ import * as _next_eslint_plugin_next_dist_rules_no_head_element from '@next/eslint-plugin-next/dist/rules/no-head-element';
14
+ import * as _next_eslint_plugin_next_dist_rules_no_duplicate_head from '@next/eslint-plugin-next/dist/rules/no-duplicate-head';
15
+ import * as _next_eslint_plugin_next_dist_rules_no_document_import_in_page from '@next/eslint-plugin-next/dist/rules/no-document-import-in-page';
16
+ import * as _next_eslint_plugin_next_dist_rules_no_css_tags from '@next/eslint-plugin-next/dist/rules/no-css-tags';
17
+ import * as _next_eslint_plugin_next_dist_rules_no_before_interactive_script_outside_document from '@next/eslint-plugin-next/dist/rules/no-before-interactive-script-outside-document';
18
+ import * as _next_eslint_plugin_next_dist_rules_no_async_client_component from '@next/eslint-plugin-next/dist/rules/no-async-client-component';
19
+ import * as _next_eslint_plugin_next_dist_rules_no_assign_module_variable from '@next/eslint-plugin-next/dist/rules/no-assign-module-variable';
20
+ import * as _next_eslint_plugin_next_dist_rules_next_script_for_ga from '@next/eslint-plugin-next/dist/rules/next-script-for-ga';
21
+ import * as _next_eslint_plugin_next_dist_rules_inline_script_id from '@next/eslint-plugin-next/dist/rules/inline-script-id';
22
+ import * as _next_eslint_plugin_next_dist_rules_google_font_preconnect from '@next/eslint-plugin-next/dist/rules/google-font-preconnect';
23
+ import * as _next_eslint_plugin_next_dist_rules_google_font_display from '@next/eslint-plugin-next/dist/rules/google-font-display';
3
24
  import * as eslint_plugin_astro from 'eslint-plugin-astro';
4
25
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
5
26
  import * as astro_eslint_parser from 'astro-eslint-parser';
@@ -13,9 +34,64 @@ declare function nextjsConfig(): Promise<{
13
34
  name: string;
14
35
  plugins: {
15
36
  "@next/next": {
37
+ rules: {
38
+ "google-font-display": typeof _next_eslint_plugin_next_dist_rules_google_font_display;
39
+ "google-font-preconnect": typeof _next_eslint_plugin_next_dist_rules_google_font_preconnect;
40
+ "inline-script-id": typeof _next_eslint_plugin_next_dist_rules_inline_script_id;
41
+ "next-script-for-ga": typeof _next_eslint_plugin_next_dist_rules_next_script_for_ga;
42
+ "no-assign-module-variable": typeof _next_eslint_plugin_next_dist_rules_no_assign_module_variable;
43
+ "no-async-client-component": typeof _next_eslint_plugin_next_dist_rules_no_async_client_component;
44
+ "no-before-interactive-script-outside-document": typeof _next_eslint_plugin_next_dist_rules_no_before_interactive_script_outside_document;
45
+ "no-css-tags": typeof _next_eslint_plugin_next_dist_rules_no_css_tags;
46
+ "no-document-import-in-page": typeof _next_eslint_plugin_next_dist_rules_no_document_import_in_page;
47
+ "no-duplicate-head": typeof _next_eslint_plugin_next_dist_rules_no_duplicate_head;
48
+ "no-head-element": typeof _next_eslint_plugin_next_dist_rules_no_head_element;
49
+ "no-head-import-in-document": typeof _next_eslint_plugin_next_dist_rules_no_head_import_in_document;
50
+ "no-html-link-for-pages": typeof _next_eslint_plugin_next_dist_rules_no_html_link_for_pages;
51
+ "no-img-element": typeof _next_eslint_plugin_next_dist_rules_no_img_element;
52
+ "no-page-custom-font": typeof _next_eslint_plugin_next_dist_rules_no_page_custom_font;
53
+ "no-script-component-in-head": typeof _next_eslint_plugin_next_dist_rules_no_script_component_in_head;
54
+ "no-styled-jsx-in-document": typeof _next_eslint_plugin_next_dist_rules_no_styled_jsx_in_document;
55
+ "no-sync-scripts": typeof _next_eslint_plugin_next_dist_rules_no_sync_scripts;
56
+ "no-title-in-document-head": typeof _next_eslint_plugin_next_dist_rules_no_title_in_document_head;
57
+ "no-typos": typeof _next_eslint_plugin_next_dist_rules_no_typos;
58
+ "no-unwanted-polyfillio": typeof _next_eslint_plugin_next_dist_rules_no_unwanted_polyfillio;
59
+ };
16
60
  configs: {
17
- "core-web-vitals": eslint.Linter.Config<eslint.Linter.RulesRecord>;
18
- recommended: eslint.Linter.Config<eslint.Linter.RulesRecord>;
61
+ recommended: {
62
+ plugins: string[];
63
+ rules: {
64
+ "@next/next/google-font-display": string;
65
+ "@next/next/google-font-preconnect": string;
66
+ "@next/next/next-script-for-ga": string;
67
+ "@next/next/no-async-client-component": string;
68
+ "@next/next/no-before-interactive-script-outside-document": string;
69
+ "@next/next/no-css-tags": string;
70
+ "@next/next/no-head-element": string;
71
+ "@next/next/no-html-link-for-pages": string;
72
+ "@next/next/no-img-element": string;
73
+ "@next/next/no-page-custom-font": string;
74
+ "@next/next/no-styled-jsx-in-document": string;
75
+ "@next/next/no-sync-scripts": string;
76
+ "@next/next/no-title-in-document-head": string;
77
+ "@next/next/no-typos": string;
78
+ "@next/next/no-unwanted-polyfillio": string;
79
+ "@next/next/inline-script-id": string;
80
+ "@next/next/no-assign-module-variable": string;
81
+ "@next/next/no-document-import-in-page": string;
82
+ "@next/next/no-duplicate-head": string;
83
+ "@next/next/no-head-import-in-document": string;
84
+ "@next/next/no-script-component-in-head": string;
85
+ };
86
+ };
87
+ "core-web-vitals": {
88
+ plugins: string[];
89
+ extends: string[];
90
+ rules: {
91
+ "@next/next/no-html-link-for-pages": string;
92
+ "@next/next/no-sync-scripts": string;
93
+ };
94
+ };
19
95
  };
20
96
  };
21
97
  };
@@ -76,6 +152,7 @@ declare function playwrightConfig(): Promise<{
76
152
  "playwright/no-wait-for-timeout": "error";
77
153
  "playwright/valid-title": "off";
78
154
  };
155
+ basePath?: string;
79
156
  ignores?: string[];
80
157
  language?: string;
81
158
  languageOptions?: eslint.Linter.LanguageOptions;
@@ -181,6 +258,8 @@ declare function vitestConfig(): Promise<{
181
258
  "vitest/no-standalone-expect": "error";
182
259
  "vitest/no-test-prefixes": "error";
183
260
  "vitest/no-test-return-statement": "error";
261
+ "vitest/prefer-called-once": "error";
262
+ "vitest/prefer-called-times": "off";
184
263
  "vitest/prefer-called-with": "error";
185
264
  "vitest/prefer-comparison-matcher": "error";
186
265
  "vitest/prefer-each": "error";
@@ -209,13 +288,14 @@ declare function vitestConfig(): Promise<{
209
288
  it: string;
210
289
  };
211
290
  }];
291
+ "vitest/warn-todo": "warn";
212
292
  "vitest/expect-expect": "error";
213
293
  "vitest/valid-describe-callback": "error";
214
294
  "vitest/require-local-test-context-for-concurrent-snapshots": "error";
215
295
  "vitest/no-import-node-test": "error";
216
296
  };
217
297
  plugins: {
218
- readonly vitest: eslint.ESLint.Plugin;
298
+ readonly vitest: any;
219
299
  };
220
300
  files: string[];
221
301
  ignores: string[];
@@ -268,6 +348,7 @@ declare function jestConfig(): Promise<{
268
348
  };
269
349
  }];
270
350
  };
351
+ basePath?: string;
271
352
  files: Array<string | string[]>;
272
353
  ignores: string[];
273
354
  language?: string;
@@ -443,6 +524,7 @@ declare function tanstackQueryConfig(): Promise<{
443
524
  rules: {
444
525
  "@tanstack/query/exhaustive-deps": "error";
445
526
  "@tanstack/query/infinite-query-property-order": "error";
527
+ "@tanstack/query/mutation-property-order": "error";
446
528
  "@tanstack/query/no-rest-destructuring": "error";
447
529
  "@tanstack/query/no-unstable-deps": "error";
448
530
  "@tanstack/query/no-void-query-fn": "error";
@@ -1030,7 +1112,7 @@ interface RuleOptions {
1030
1112
  */
1031
1113
  '@next/next/no-assign-module-variable'?: Linter.RuleEntry<[]>
1032
1114
  /**
1033
- * Prevent client components from being async functions.
1115
+ * Prevent Client Components from being async functions.
1034
1116
  * @see https://nextjs.org/docs/messages/no-async-client-component
1035
1117
  */
1036
1118
  '@next/next/no-async-client-component'?: Linter.RuleEntry<[]>
@@ -1110,483 +1192,478 @@ interface RuleOptions {
1110
1192
  '@next/next/no-unwanted-polyfillio'?: Linter.RuleEntry<[]>
1111
1193
  /**
1112
1194
  * Enforce linebreaks after opening and before closing array brackets
1113
- * @see https://eslint.style/rules/js/array-bracket-newline
1195
+ * @see https://eslint.style/rules/array-bracket-newline
1114
1196
  */
1115
1197
  '@stylistic/array-bracket-newline'?: Linter.RuleEntry<StylisticArrayBracketNewline>
1116
1198
  /**
1117
1199
  * Enforce consistent spacing inside array brackets
1118
- * @see https://eslint.style/rules/js/array-bracket-spacing
1200
+ * @see https://eslint.style/rules/array-bracket-spacing
1119
1201
  */
1120
1202
  '@stylistic/array-bracket-spacing'?: Linter.RuleEntry<StylisticArrayBracketSpacing>
1121
1203
  /**
1122
1204
  * Enforce line breaks after each array element
1123
- * @see https://eslint.style/rules/js/array-element-newline
1205
+ * @see https://eslint.style/rules/array-element-newline
1124
1206
  */
1125
1207
  '@stylistic/array-element-newline'?: Linter.RuleEntry<StylisticArrayElementNewline>
1126
1208
  /**
1127
1209
  * Require parentheses around arrow function arguments
1128
- * @see https://eslint.style/rules/js/arrow-parens
1210
+ * @see https://eslint.style/rules/arrow-parens
1129
1211
  */
1130
1212
  '@stylistic/arrow-parens'?: Linter.RuleEntry<StylisticArrowParens>
1131
1213
  /**
1132
1214
  * Enforce consistent spacing before and after the arrow in arrow functions
1133
- * @see https://eslint.style/rules/js/arrow-spacing
1215
+ * @see https://eslint.style/rules/arrow-spacing
1134
1216
  */
1135
1217
  '@stylistic/arrow-spacing'?: Linter.RuleEntry<StylisticArrowSpacing>
1136
1218
  /**
1137
1219
  * Disallow or enforce spaces inside of blocks after opening block and before closing block
1138
- * @see https://eslint.style/rules/ts/block-spacing
1220
+ * @see https://eslint.style/rules/block-spacing
1139
1221
  */
1140
1222
  '@stylistic/block-spacing'?: Linter.RuleEntry<StylisticBlockSpacing>
1141
1223
  /**
1142
1224
  * Enforce consistent brace style for blocks
1143
- * @see https://eslint.style/rules/ts/brace-style
1225
+ * @see https://eslint.style/rules/brace-style
1144
1226
  */
1145
1227
  '@stylistic/brace-style'?: Linter.RuleEntry<StylisticBraceStyle>
1146
1228
  /**
1147
1229
  * Require or disallow trailing commas
1148
- * @see https://eslint.style/rules/ts/comma-dangle
1230
+ * @see https://eslint.style/rules/comma-dangle
1149
1231
  */
1150
1232
  '@stylistic/comma-dangle'?: Linter.RuleEntry<StylisticCommaDangle>
1151
1233
  /**
1152
1234
  * Enforce consistent spacing before and after commas
1153
- * @see https://eslint.style/rules/ts/comma-spacing
1235
+ * @see https://eslint.style/rules/comma-spacing
1154
1236
  */
1155
1237
  '@stylistic/comma-spacing'?: Linter.RuleEntry<StylisticCommaSpacing>
1156
1238
  /**
1157
1239
  * Enforce consistent comma style
1158
- * @see https://eslint.style/rules/js/comma-style
1240
+ * @see https://eslint.style/rules/comma-style
1159
1241
  */
1160
1242
  '@stylistic/comma-style'?: Linter.RuleEntry<StylisticCommaStyle>
1161
1243
  /**
1162
1244
  * Enforce consistent spacing inside computed property brackets
1163
- * @see https://eslint.style/rules/js/computed-property-spacing
1245
+ * @see https://eslint.style/rules/computed-property-spacing
1164
1246
  */
1165
1247
  '@stylistic/computed-property-spacing'?: Linter.RuleEntry<StylisticComputedPropertySpacing>
1166
1248
  /**
1167
1249
  * Enforce consistent line breaks after opening and before closing braces
1168
- * @see https://eslint.style/rules/plus/curly-newline
1250
+ * @see https://eslint.style/rules/curly-newline
1169
1251
  */
1170
1252
  '@stylistic/curly-newline'?: Linter.RuleEntry<StylisticCurlyNewline>
1171
1253
  /**
1172
1254
  * Enforce consistent newlines before and after dots
1173
- * @see https://eslint.style/rules/js/dot-location
1255
+ * @see https://eslint.style/rules/dot-location
1174
1256
  */
1175
1257
  '@stylistic/dot-location'?: Linter.RuleEntry<StylisticDotLocation>
1176
1258
  /**
1177
1259
  * Require or disallow newline at the end of files
1178
- * @see https://eslint.style/rules/js/eol-last
1260
+ * @see https://eslint.style/rules/eol-last
1179
1261
  */
1180
1262
  '@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>
1181
- /**
1182
- * Require or disallow spacing between function identifiers and their invocations
1183
- * @see https://eslint.style/rules/ts/function-call-spacing
1184
- */
1185
- '@stylistic/func-call-spacing'?: Linter.RuleEntry<StylisticFuncCallSpacing>
1186
1263
  /**
1187
1264
  * Enforce line breaks between arguments of a function call
1188
- * @see https://eslint.style/rules/js/function-call-argument-newline
1265
+ * @see https://eslint.style/rules/function-call-argument-newline
1189
1266
  */
1190
1267
  '@stylistic/function-call-argument-newline'?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>
1191
1268
  /**
1192
1269
  * Require or disallow spacing between function identifiers and their invocations
1193
- * @see https://eslint.style/rules/ts/function-call-spacing
1270
+ * @see https://eslint.style/rules/function-call-spacing
1194
1271
  */
1195
1272
  '@stylistic/function-call-spacing'?: Linter.RuleEntry<StylisticFunctionCallSpacing>
1196
1273
  /**
1197
1274
  * Enforce consistent line breaks inside function parentheses
1198
- * @see https://eslint.style/rules/js/function-paren-newline
1275
+ * @see https://eslint.style/rules/function-paren-newline
1199
1276
  */
1200
1277
  '@stylistic/function-paren-newline'?: Linter.RuleEntry<StylisticFunctionParenNewline>
1201
1278
  /**
1202
1279
  * Enforce consistent spacing around `*` operators in generator functions
1203
- * @see https://eslint.style/rules/js/generator-star-spacing
1280
+ * @see https://eslint.style/rules/generator-star-spacing
1204
1281
  */
1205
1282
  '@stylistic/generator-star-spacing'?: Linter.RuleEntry<StylisticGeneratorStarSpacing>
1206
1283
  /**
1207
1284
  * Enforce the location of arrow function bodies
1208
- * @see https://eslint.style/rules/js/implicit-arrow-linebreak
1285
+ * @see https://eslint.style/rules/implicit-arrow-linebreak
1209
1286
  */
1210
1287
  '@stylistic/implicit-arrow-linebreak'?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>
1211
1288
  /**
1212
1289
  * Enforce consistent indentation
1213
- * @see https://eslint.style/rules/ts/indent
1290
+ * @see https://eslint.style/rules/indent
1214
1291
  */
1215
1292
  '@stylistic/indent'?: Linter.RuleEntry<StylisticIndent>
1216
1293
  /**
1217
1294
  * Indentation for binary operators
1218
- * @see https://eslint.style/rules/plus/indent-binary-ops
1295
+ * @see https://eslint.style/rules/indent-binary-ops
1219
1296
  */
1220
1297
  '@stylistic/indent-binary-ops'?: Linter.RuleEntry<StylisticIndentBinaryOps>
1221
1298
  /**
1222
1299
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
1223
- * @see https://eslint.style/rules/jsx/jsx-child-element-spacing
1300
+ * @see https://eslint.style/rules/jsx-child-element-spacing
1224
1301
  */
1225
1302
  '@stylistic/jsx-child-element-spacing'?: Linter.RuleEntry<[]>
1226
1303
  /**
1227
1304
  * Enforce closing bracket location in JSX
1228
- * @see https://eslint.style/rules/jsx/jsx-closing-bracket-location
1305
+ * @see https://eslint.style/rules/jsx-closing-bracket-location
1229
1306
  */
1230
1307
  '@stylistic/jsx-closing-bracket-location'?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>
1231
1308
  /**
1232
1309
  * Enforce closing tag location for multiline JSX
1233
- * @see https://eslint.style/rules/jsx/jsx-closing-tag-location
1310
+ * @see https://eslint.style/rules/jsx-closing-tag-location
1234
1311
  */
1235
1312
  '@stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<StylisticJsxClosingTagLocation>
1236
1313
  /**
1237
1314
  * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
1238
- * @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
1315
+ * @see https://eslint.style/rules/jsx-curly-brace-presence
1239
1316
  */
1240
1317
  '@stylistic/jsx-curly-brace-presence'?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>
1241
1318
  /**
1242
1319
  * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
1243
- * @see https://eslint.style/rules/jsx/jsx-curly-newline
1320
+ * @see https://eslint.style/rules/jsx-curly-newline
1244
1321
  */
1245
1322
  '@stylistic/jsx-curly-newline'?: Linter.RuleEntry<StylisticJsxCurlyNewline>
1246
1323
  /**
1247
1324
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
1248
- * @see https://eslint.style/rules/jsx/jsx-curly-spacing
1325
+ * @see https://eslint.style/rules/jsx-curly-spacing
1249
1326
  */
1250
1327
  '@stylistic/jsx-curly-spacing'?: Linter.RuleEntry<StylisticJsxCurlySpacing>
1251
1328
  /**
1252
1329
  * Enforce or disallow spaces around equal signs in JSX attributes
1253
- * @see https://eslint.style/rules/jsx/jsx-equals-spacing
1330
+ * @see https://eslint.style/rules/jsx-equals-spacing
1254
1331
  */
1255
1332
  '@stylistic/jsx-equals-spacing'?: Linter.RuleEntry<StylisticJsxEqualsSpacing>
1256
1333
  /**
1257
1334
  * Enforce proper position of the first property in JSX
1258
- * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
1335
+ * @see https://eslint.style/rules/jsx-first-prop-new-line
1259
1336
  */
1260
1337
  '@stylistic/jsx-first-prop-new-line'?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>
1261
1338
  /**
1262
1339
  * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
1263
- * @see https://eslint.style/rules/jsx/jsx-function-call-newline
1340
+ * @see https://eslint.style/rules/jsx-function-call-newline
1264
1341
  */
1265
1342
  '@stylistic/jsx-function-call-newline'?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>
1266
1343
  /**
1267
1344
  * Enforce JSX indentation. Deprecated, use `indent` rule instead.
1268
- * @see https://eslint.style/rules/jsx/jsx-indent
1345
+ * @see https://eslint.style/rules/jsx-indent
1269
1346
  * @deprecated
1270
1347
  */
1271
1348
  '@stylistic/jsx-indent'?: Linter.RuleEntry<StylisticJsxIndent>
1272
1349
  /**
1273
1350
  * Enforce props indentation in JSX
1274
- * @see https://eslint.style/rules/jsx/jsx-indent-props
1351
+ * @see https://eslint.style/rules/jsx-indent-props
1275
1352
  */
1276
1353
  '@stylistic/jsx-indent-props'?: Linter.RuleEntry<StylisticJsxIndentProps>
1277
1354
  /**
1278
1355
  * Enforce maximum of props on a single line in JSX
1279
- * @see https://eslint.style/rules/jsx/jsx-max-props-per-line
1356
+ * @see https://eslint.style/rules/jsx-max-props-per-line
1280
1357
  */
1281
1358
  '@stylistic/jsx-max-props-per-line'?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>
1282
1359
  /**
1283
1360
  * Require or prevent a new line after jsx elements and expressions.
1284
- * @see https://eslint.style/rules/jsx/jsx-newline
1361
+ * @see https://eslint.style/rules/jsx-newline
1285
1362
  */
1286
1363
  '@stylistic/jsx-newline'?: Linter.RuleEntry<StylisticJsxNewline>
1287
1364
  /**
1288
1365
  * Require one JSX element per line
1289
- * @see https://eslint.style/rules/jsx/jsx-one-expression-per-line
1366
+ * @see https://eslint.style/rules/jsx-one-expression-per-line
1290
1367
  */
1291
1368
  '@stylistic/jsx-one-expression-per-line'?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>
1292
1369
  /**
1293
1370
  * Enforce PascalCase for user-defined JSX components
1294
- * @see https://eslint.style/rules/jsx/jsx-pascal-case
1371
+ * @see https://eslint.style/rules/jsx-pascal-case
1295
1372
  */
1296
1373
  '@stylistic/jsx-pascal-case'?: Linter.RuleEntry<StylisticJsxPascalCase>
1297
1374
  /**
1298
1375
  * Disallow multiple spaces between inline JSX props
1299
- * @see https://eslint.style/rules/jsx/jsx-props-no-multi-spaces
1376
+ * @see https://eslint.style/rules/jsx-props-no-multi-spaces
1300
1377
  */
1301
1378
  '@stylistic/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
1302
1379
  /**
1303
1380
  * Enforce the consistent use of either double or single quotes in JSX attributes
1304
- * @see https://eslint.style/rules/js/jsx-quotes
1381
+ * @see https://eslint.style/rules/jsx-quotes
1305
1382
  */
1306
1383
  '@stylistic/jsx-quotes'?: Linter.RuleEntry<StylisticJsxQuotes>
1307
1384
  /**
1308
1385
  * Disallow extra closing tags for components without children
1309
- * @see https://eslint.style/rules/jsx/jsx-self-closing-comp
1386
+ * @see https://eslint.style/rules/jsx-self-closing-comp
1310
1387
  */
1311
1388
  '@stylistic/jsx-self-closing-comp'?: Linter.RuleEntry<StylisticJsxSelfClosingComp>
1312
1389
  /**
1313
1390
  * Enforce props alphabetical sorting
1314
- * @see https://eslint.style/rules/jsx/jsx-sort-props
1391
+ * @see https://eslint.style/rules/jsx-sort-props
1315
1392
  */
1316
1393
  '@stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>
1317
1394
  /**
1318
1395
  * Enforce whitespace in and around the JSX opening and closing brackets
1319
- * @see https://eslint.style/rules/jsx/jsx-tag-spacing
1396
+ * @see https://eslint.style/rules/jsx-tag-spacing
1320
1397
  */
1321
1398
  '@stylistic/jsx-tag-spacing'?: Linter.RuleEntry<StylisticJsxTagSpacing>
1322
1399
  /**
1323
1400
  * Disallow missing parentheses around multiline JSX
1324
- * @see https://eslint.style/rules/jsx/jsx-wrap-multilines
1401
+ * @see https://eslint.style/rules/jsx-wrap-multilines
1325
1402
  */
1326
1403
  '@stylistic/jsx-wrap-multilines'?: Linter.RuleEntry<StylisticJsxWrapMultilines>
1327
1404
  /**
1328
1405
  * Enforce consistent spacing between property names and type annotations in types and interfaces
1329
- * @see https://eslint.style/rules/ts/key-spacing
1406
+ * @see https://eslint.style/rules/key-spacing
1330
1407
  */
1331
1408
  '@stylistic/key-spacing'?: Linter.RuleEntry<StylisticKeySpacing>
1332
1409
  /**
1333
1410
  * Enforce consistent spacing before and after keywords
1334
- * @see https://eslint.style/rules/ts/keyword-spacing
1411
+ * @see https://eslint.style/rules/keyword-spacing
1335
1412
  */
1336
1413
  '@stylistic/keyword-spacing'?: Linter.RuleEntry<StylisticKeywordSpacing>
1337
1414
  /**
1338
1415
  * Enforce position of line comments
1339
- * @see https://eslint.style/rules/js/line-comment-position
1416
+ * @see https://eslint.style/rules/line-comment-position
1340
1417
  */
1341
1418
  '@stylistic/line-comment-position'?: Linter.RuleEntry<StylisticLineCommentPosition>
1342
1419
  /**
1343
1420
  * Enforce consistent linebreak style
1344
- * @see https://eslint.style/rules/js/linebreak-style
1421
+ * @see https://eslint.style/rules/linebreak-style
1345
1422
  */
1346
1423
  '@stylistic/linebreak-style'?: Linter.RuleEntry<StylisticLinebreakStyle>
1347
1424
  /**
1348
1425
  * Require empty lines around comments
1349
- * @see https://eslint.style/rules/ts/lines-around-comment
1426
+ * @see https://eslint.style/rules/lines-around-comment
1350
1427
  */
1351
1428
  '@stylistic/lines-around-comment'?: Linter.RuleEntry<StylisticLinesAroundComment>
1352
1429
  /**
1353
1430
  * Require or disallow an empty line between class members
1354
- * @see https://eslint.style/rules/ts/lines-between-class-members
1431
+ * @see https://eslint.style/rules/lines-between-class-members
1355
1432
  */
1356
1433
  '@stylistic/lines-between-class-members'?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>
1357
1434
  /**
1358
1435
  * Enforce a maximum line length
1359
- * @see https://eslint.style/rules/js/max-len
1436
+ * @see https://eslint.style/rules/max-len
1360
1437
  */
1361
1438
  '@stylistic/max-len'?: Linter.RuleEntry<StylisticMaxLen>
1362
1439
  /**
1363
1440
  * Enforce a maximum number of statements allowed per line
1364
- * @see https://eslint.style/rules/js/max-statements-per-line
1441
+ * @see https://eslint.style/rules/max-statements-per-line
1365
1442
  */
1366
1443
  '@stylistic/max-statements-per-line'?: Linter.RuleEntry<StylisticMaxStatementsPerLine>
1367
1444
  /**
1368
1445
  * Require a specific member delimiter style for interfaces and type literals
1369
- * @see https://eslint.style/rules/ts/member-delimiter-style
1446
+ * @see https://eslint.style/rules/member-delimiter-style
1370
1447
  */
1371
1448
  '@stylistic/member-delimiter-style'?: Linter.RuleEntry<StylisticMemberDelimiterStyle>
1372
1449
  /**
1373
1450
  * Enforce a particular style for multiline comments
1374
- * @see https://eslint.style/rules/js/multiline-comment-style
1451
+ * @see https://eslint.style/rules/multiline-comment-style
1375
1452
  */
1376
1453
  '@stylistic/multiline-comment-style'?: Linter.RuleEntry<StylisticMultilineCommentStyle>
1377
1454
  /**
1378
1455
  * Enforce newlines between operands of ternary expressions
1379
- * @see https://eslint.style/rules/js/multiline-ternary
1456
+ * @see https://eslint.style/rules/multiline-ternary
1380
1457
  */
1381
1458
  '@stylistic/multiline-ternary'?: Linter.RuleEntry<StylisticMultilineTernary>
1382
1459
  /**
1383
1460
  * Enforce or disallow parentheses when invoking a constructor with no arguments
1384
- * @see https://eslint.style/rules/js/new-parens
1461
+ * @see https://eslint.style/rules/new-parens
1385
1462
  */
1386
1463
  '@stylistic/new-parens'?: Linter.RuleEntry<StylisticNewParens>
1387
1464
  /**
1388
1465
  * Require a newline after each call in a method chain
1389
- * @see https://eslint.style/rules/js/newline-per-chained-call
1466
+ * @see https://eslint.style/rules/newline-per-chained-call
1390
1467
  */
1391
1468
  '@stylistic/newline-per-chained-call'?: Linter.RuleEntry<StylisticNewlinePerChainedCall>
1392
1469
  /**
1393
1470
  * Disallow arrow functions where they could be confused with comparisons
1394
- * @see https://eslint.style/rules/js/no-confusing-arrow
1471
+ * @see https://eslint.style/rules/no-confusing-arrow
1395
1472
  */
1396
1473
  '@stylistic/no-confusing-arrow'?: Linter.RuleEntry<StylisticNoConfusingArrow>
1397
1474
  /**
1398
1475
  * Disallow unnecessary parentheses
1399
- * @see https://eslint.style/rules/ts/no-extra-parens
1476
+ * @see https://eslint.style/rules/no-extra-parens
1400
1477
  */
1401
1478
  '@stylistic/no-extra-parens'?: Linter.RuleEntry<StylisticNoExtraParens>
1402
1479
  /**
1403
1480
  * Disallow unnecessary semicolons
1404
- * @see https://eslint.style/rules/ts/no-extra-semi
1481
+ * @see https://eslint.style/rules/no-extra-semi
1405
1482
  */
1406
1483
  '@stylistic/no-extra-semi'?: Linter.RuleEntry<[]>
1407
1484
  /**
1408
1485
  * Disallow leading or trailing decimal points in numeric literals
1409
- * @see https://eslint.style/rules/js/no-floating-decimal
1486
+ * @see https://eslint.style/rules/no-floating-decimal
1410
1487
  */
1411
1488
  '@stylistic/no-floating-decimal'?: Linter.RuleEntry<[]>
1412
1489
  /**
1413
1490
  * Disallow mixed binary operators
1414
- * @see https://eslint.style/rules/js/no-mixed-operators
1491
+ * @see https://eslint.style/rules/no-mixed-operators
1415
1492
  */
1416
1493
  '@stylistic/no-mixed-operators'?: Linter.RuleEntry<StylisticNoMixedOperators>
1417
1494
  /**
1418
1495
  * Disallow mixed spaces and tabs for indentation
1419
- * @see https://eslint.style/rules/js/no-mixed-spaces-and-tabs
1496
+ * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
1420
1497
  */
1421
1498
  '@stylistic/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>
1422
1499
  /**
1423
1500
  * Disallow multiple spaces
1424
- * @see https://eslint.style/rules/js/no-multi-spaces
1501
+ * @see https://eslint.style/rules/no-multi-spaces
1425
1502
  */
1426
1503
  '@stylistic/no-multi-spaces'?: Linter.RuleEntry<StylisticNoMultiSpaces>
1427
1504
  /**
1428
1505
  * Disallow multiple empty lines
1429
- * @see https://eslint.style/rules/js/no-multiple-empty-lines
1506
+ * @see https://eslint.style/rules/no-multiple-empty-lines
1430
1507
  */
1431
1508
  '@stylistic/no-multiple-empty-lines'?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>
1432
1509
  /**
1433
1510
  * Disallow all tabs
1434
- * @see https://eslint.style/rules/js/no-tabs
1511
+ * @see https://eslint.style/rules/no-tabs
1435
1512
  */
1436
1513
  '@stylistic/no-tabs'?: Linter.RuleEntry<StylisticNoTabs>
1437
1514
  /**
1438
1515
  * Disallow trailing whitespace at the end of lines
1439
- * @see https://eslint.style/rules/js/no-trailing-spaces
1516
+ * @see https://eslint.style/rules/no-trailing-spaces
1440
1517
  */
1441
1518
  '@stylistic/no-trailing-spaces'?: Linter.RuleEntry<StylisticNoTrailingSpaces>
1442
1519
  /**
1443
1520
  * Disallow whitespace before properties
1444
- * @see https://eslint.style/rules/js/no-whitespace-before-property
1521
+ * @see https://eslint.style/rules/no-whitespace-before-property
1445
1522
  */
1446
1523
  '@stylistic/no-whitespace-before-property'?: Linter.RuleEntry<[]>
1447
1524
  /**
1448
1525
  * Enforce the location of single-line statements
1449
- * @see https://eslint.style/rules/js/nonblock-statement-body-position
1526
+ * @see https://eslint.style/rules/nonblock-statement-body-position
1450
1527
  */
1451
1528
  '@stylistic/nonblock-statement-body-position'?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>
1452
1529
  /**
1453
1530
  * Enforce consistent line breaks after opening and before closing braces
1454
- * @see https://eslint.style/rules/ts/object-curly-newline
1531
+ * @see https://eslint.style/rules/object-curly-newline
1455
1532
  */
1456
1533
  '@stylistic/object-curly-newline'?: Linter.RuleEntry<StylisticObjectCurlyNewline>
1457
1534
  /**
1458
1535
  * Enforce consistent spacing inside braces
1459
- * @see https://eslint.style/rules/ts/object-curly-spacing
1536
+ * @see https://eslint.style/rules/object-curly-spacing
1460
1537
  */
1461
1538
  '@stylistic/object-curly-spacing'?: Linter.RuleEntry<StylisticObjectCurlySpacing>
1462
1539
  /**
1463
1540
  * Enforce placing object properties on separate lines
1464
- * @see https://eslint.style/rules/ts/object-property-newline
1541
+ * @see https://eslint.style/rules/object-property-newline
1465
1542
  */
1466
1543
  '@stylistic/object-property-newline'?: Linter.RuleEntry<StylisticObjectPropertyNewline>
1467
1544
  /**
1468
1545
  * Require or disallow newlines around variable declarations
1469
- * @see https://eslint.style/rules/js/one-var-declaration-per-line
1546
+ * @see https://eslint.style/rules/one-var-declaration-per-line
1470
1547
  */
1471
1548
  '@stylistic/one-var-declaration-per-line'?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>
1472
1549
  /**
1473
1550
  * Enforce consistent linebreak style for operators
1474
- * @see https://eslint.style/rules/js/operator-linebreak
1551
+ * @see https://eslint.style/rules/operator-linebreak
1475
1552
  */
1476
1553
  '@stylistic/operator-linebreak'?: Linter.RuleEntry<StylisticOperatorLinebreak>
1477
1554
  /**
1478
1555
  * Require or disallow padding within blocks
1479
- * @see https://eslint.style/rules/js/padded-blocks
1556
+ * @see https://eslint.style/rules/padded-blocks
1480
1557
  */
1481
1558
  '@stylistic/padded-blocks'?: Linter.RuleEntry<StylisticPaddedBlocks>
1482
1559
  /**
1483
1560
  * Require or disallow padding lines between statements
1484
- * @see https://eslint.style/rules/ts/padding-line-between-statements
1561
+ * @see https://eslint.style/rules/padding-line-between-statements
1485
1562
  */
1486
1563
  '@stylistic/padding-line-between-statements'?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>
1487
1564
  /**
1488
1565
  * Require quotes around object literal, type literal, interfaces and enums property names
1489
- * @see https://eslint.style/rules/ts/quote-props
1566
+ * @see https://eslint.style/rules/quote-props
1490
1567
  */
1491
1568
  '@stylistic/quote-props'?: Linter.RuleEntry<StylisticQuoteProps>
1492
1569
  /**
1493
1570
  * Enforce the consistent use of either backticks, double, or single quotes
1494
- * @see https://eslint.style/rules/ts/quotes
1571
+ * @see https://eslint.style/rules/quotes
1495
1572
  */
1496
1573
  '@stylistic/quotes'?: Linter.RuleEntry<StylisticQuotes>
1497
1574
  /**
1498
1575
  * Enforce spacing between rest and spread operators and their expressions
1499
- * @see https://eslint.style/rules/js/rest-spread-spacing
1576
+ * @see https://eslint.style/rules/rest-spread-spacing
1500
1577
  */
1501
1578
  '@stylistic/rest-spread-spacing'?: Linter.RuleEntry<StylisticRestSpreadSpacing>
1502
1579
  /**
1503
1580
  * Require or disallow semicolons instead of ASI
1504
- * @see https://eslint.style/rules/ts/semi
1581
+ * @see https://eslint.style/rules/semi
1505
1582
  */
1506
1583
  '@stylistic/semi'?: Linter.RuleEntry<StylisticSemi>
1507
1584
  /**
1508
1585
  * Enforce consistent spacing before and after semicolons
1509
- * @see https://eslint.style/rules/ts/semi-spacing
1586
+ * @see https://eslint.style/rules/semi-spacing
1510
1587
  */
1511
1588
  '@stylistic/semi-spacing'?: Linter.RuleEntry<StylisticSemiSpacing>
1512
1589
  /**
1513
1590
  * Enforce location of semicolons
1514
- * @see https://eslint.style/rules/js/semi-style
1591
+ * @see https://eslint.style/rules/semi-style
1515
1592
  */
1516
1593
  '@stylistic/semi-style'?: Linter.RuleEntry<StylisticSemiStyle>
1517
1594
  /**
1518
1595
  * Enforce consistent spacing before blocks
1519
- * @see https://eslint.style/rules/ts/space-before-blocks
1596
+ * @see https://eslint.style/rules/space-before-blocks
1520
1597
  */
1521
1598
  '@stylistic/space-before-blocks'?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>
1522
1599
  /**
1523
1600
  * Enforce consistent spacing before function parenthesis
1524
- * @see https://eslint.style/rules/ts/space-before-function-paren
1601
+ * @see https://eslint.style/rules/space-before-function-paren
1525
1602
  */
1526
1603
  '@stylistic/space-before-function-paren'?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>
1527
1604
  /**
1528
1605
  * Enforce consistent spacing inside parentheses
1529
- * @see https://eslint.style/rules/js/space-in-parens
1606
+ * @see https://eslint.style/rules/space-in-parens
1530
1607
  */
1531
1608
  '@stylistic/space-in-parens'?: Linter.RuleEntry<StylisticSpaceInParens>
1532
1609
  /**
1533
1610
  * Require spacing around infix operators
1534
- * @see https://eslint.style/rules/ts/space-infix-ops
1611
+ * @see https://eslint.style/rules/space-infix-ops
1535
1612
  */
1536
1613
  '@stylistic/space-infix-ops'?: Linter.RuleEntry<StylisticSpaceInfixOps>
1537
1614
  /**
1538
1615
  * Enforce consistent spacing before or after unary operators
1539
- * @see https://eslint.style/rules/js/space-unary-ops
1616
+ * @see https://eslint.style/rules/space-unary-ops
1540
1617
  */
1541
1618
  '@stylistic/space-unary-ops'?: Linter.RuleEntry<StylisticSpaceUnaryOps>
1542
1619
  /**
1543
1620
  * Enforce consistent spacing after the `//` or `/*` in a comment
1544
- * @see https://eslint.style/rules/js/spaced-comment
1621
+ * @see https://eslint.style/rules/spaced-comment
1545
1622
  */
1546
1623
  '@stylistic/spaced-comment'?: Linter.RuleEntry<StylisticSpacedComment>
1547
1624
  /**
1548
1625
  * Enforce spacing around colons of switch statements
1549
- * @see https://eslint.style/rules/js/switch-colon-spacing
1626
+ * @see https://eslint.style/rules/switch-colon-spacing
1550
1627
  */
1551
1628
  '@stylistic/switch-colon-spacing'?: Linter.RuleEntry<StylisticSwitchColonSpacing>
1552
1629
  /**
1553
1630
  * Require or disallow spacing around embedded expressions of template strings
1554
- * @see https://eslint.style/rules/js/template-curly-spacing
1631
+ * @see https://eslint.style/rules/template-curly-spacing
1555
1632
  */
1556
1633
  '@stylistic/template-curly-spacing'?: Linter.RuleEntry<StylisticTemplateCurlySpacing>
1557
1634
  /**
1558
1635
  * Require or disallow spacing between template tags and their literals
1559
- * @see https://eslint.style/rules/js/template-tag-spacing
1636
+ * @see https://eslint.style/rules/template-tag-spacing
1560
1637
  */
1561
1638
  '@stylistic/template-tag-spacing'?: Linter.RuleEntry<StylisticTemplateTagSpacing>
1562
1639
  /**
1563
1640
  * Require consistent spacing around type annotations
1564
- * @see https://eslint.style/rules/ts/type-annotation-spacing
1641
+ * @see https://eslint.style/rules/type-annotation-spacing
1565
1642
  */
1566
1643
  '@stylistic/type-annotation-spacing'?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>
1567
1644
  /**
1568
1645
  * Enforces consistent spacing inside TypeScript type generics
1569
- * @see https://eslint.style/rules/plus/type-generic-spacing
1646
+ * @see https://eslint.style/rules/type-generic-spacing
1570
1647
  */
1571
1648
  '@stylistic/type-generic-spacing'?: Linter.RuleEntry<[]>
1572
1649
  /**
1573
1650
  * Expect space before the type declaration in the named tuple
1574
- * @see https://eslint.style/rules/plus/type-named-tuple-spacing
1651
+ * @see https://eslint.style/rules/type-named-tuple-spacing
1575
1652
  */
1576
1653
  '@stylistic/type-named-tuple-spacing'?: Linter.RuleEntry<[]>
1577
1654
  /**
1578
1655
  * Require parentheses around immediate `function` invocations
1579
- * @see https://eslint.style/rules/js/wrap-iife
1656
+ * @see https://eslint.style/rules/wrap-iife
1580
1657
  */
1581
1658
  '@stylistic/wrap-iife'?: Linter.RuleEntry<StylisticWrapIife>
1582
1659
  /**
1583
1660
  * Require parenthesis around regex literals
1584
- * @see https://eslint.style/rules/js/wrap-regex
1661
+ * @see https://eslint.style/rules/wrap-regex
1585
1662
  */
1586
1663
  '@stylistic/wrap-regex'?: Linter.RuleEntry<[]>
1587
1664
  /**
1588
1665
  * Require or disallow spacing around the `*` in `yield*` expressions
1589
- * @see https://eslint.style/rules/js/yield-star-spacing
1666
+ * @see https://eslint.style/rules/yield-star-spacing
1590
1667
  */
1591
1668
  '@stylistic/yield-star-spacing'?: Linter.RuleEntry<StylisticYieldStarSpacing>
1592
1669
  /**
@@ -2820,233 +2897,238 @@ interface RuleOptions {
2820
2897
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
2821
2898
  /**
2822
2899
  * Enforce or ban the use of inline type-only markers for named imports.
2823
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
2900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
2824
2901
  */
2825
2902
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
2826
2903
  /**
2827
2904
  * Ensure a default export is present, given a default import.
2828
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
2905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
2829
2906
  */
2830
2907
  'import-x/default'?: Linter.RuleEntry<[]>
2831
2908
  /**
2832
2909
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
2833
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
2910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
2834
2911
  */
2835
2912
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
2836
2913
  /**
2837
2914
  * Forbid any invalid exports, i.e. re-export of the same name.
2838
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
2915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
2839
2916
  */
2840
2917
  'import-x/export'?: Linter.RuleEntry<[]>
2841
2918
  /**
2842
2919
  * Ensure all exports appear after other statements.
2843
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
2920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
2844
2921
  */
2845
2922
  'import-x/exports-last'?: Linter.RuleEntry<[]>
2846
2923
  /**
2847
2924
  * Ensure consistent use of file extension within the import path.
2848
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
2925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
2849
2926
  */
2850
2927
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
2851
2928
  /**
2852
2929
  * Ensure all imports appear before other statements.
2853
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
2930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
2854
2931
  */
2855
2932
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
2856
2933
  /**
2857
2934
  * Prefer named exports to be grouped together in a single export declaration.
2858
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
2935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
2859
2936
  */
2860
2937
  'import-x/group-exports'?: Linter.RuleEntry<[]>
2861
2938
  /**
2862
2939
  * Replaced by `import-x/first`.
2863
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
2940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
2864
2941
  * @deprecated
2865
2942
  */
2866
2943
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
2867
2944
  /**
2868
2945
  * Enforce the maximum number of dependencies a module can have.
2869
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
2946
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
2870
2947
  */
2871
2948
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
2872
2949
  /**
2873
2950
  * Ensure named imports correspond to a named export in the remote file.
2874
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
2951
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
2875
2952
  */
2876
2953
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
2877
2954
  /**
2878
2955
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
2879
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
2956
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
2880
2957
  */
2881
2958
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
2882
2959
  /**
2883
2960
  * Enforce a newline after import statements.
2884
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
2961
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
2885
2962
  */
2886
2963
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
2887
2964
  /**
2888
2965
  * Forbid import of modules using absolute paths.
2889
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
2966
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
2890
2967
  */
2891
2968
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
2892
2969
  /**
2893
2970
  * Forbid AMD `require` and `define` calls.
2894
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
2971
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
2895
2972
  */
2896
2973
  'import-x/no-amd'?: Linter.RuleEntry<[]>
2897
2974
  /**
2898
2975
  * Forbid anonymous values as default exports.
2899
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
2976
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
2900
2977
  */
2901
2978
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
2902
2979
  /**
2903
2980
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
2904
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
2981
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
2905
2982
  */
2906
2983
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
2907
2984
  /**
2908
2985
  * Forbid a module from importing a module with a dependency path back to itself.
2909
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
2986
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
2910
2987
  */
2911
2988
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
2912
2989
  /**
2913
2990
  * Forbid default exports.
2914
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
2991
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
2915
2992
  */
2916
2993
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
2917
2994
  /**
2918
2995
  * Forbid imported names marked with `@deprecated` documentation tag.
2919
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
2996
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
2920
2997
  */
2921
2998
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
2922
2999
  /**
2923
3000
  * Forbid repeated import of the same module in multiple places.
2924
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
3001
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
2925
3002
  */
2926
3003
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
2927
3004
  /**
2928
3005
  * Forbid `require()` calls with expressions.
2929
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
3006
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
2930
3007
  */
2931
3008
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
2932
3009
  /**
2933
3010
  * Forbid empty named import blocks.
2934
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
3011
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
2935
3012
  */
2936
3013
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
2937
3014
  /**
2938
3015
  * Forbid the use of extraneous packages.
2939
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
3016
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
2940
3017
  */
2941
3018
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
2942
3019
  /**
2943
3020
  * Forbid import statements with CommonJS module.exports.
2944
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
3021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
2945
3022
  */
2946
3023
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
2947
3024
  /**
2948
3025
  * Forbid importing the submodules of other modules.
2949
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
3026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
2950
3027
  */
2951
3028
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
2952
3029
  /**
2953
3030
  * Forbid the use of mutable exports with `var` or `let`.
2954
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
3031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
2955
3032
  */
2956
3033
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
2957
3034
  /**
2958
3035
  * Forbid use of exported name as identifier of default export.
2959
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
3036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
2960
3037
  */
2961
3038
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
2962
3039
  /**
2963
3040
  * Forbid use of exported name as property of default export.
2964
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
3041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
2965
3042
  */
2966
3043
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
2967
3044
  /**
2968
3045
  * Forbid named default exports.
2969
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
3046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
2970
3047
  */
2971
3048
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
2972
3049
  /**
2973
3050
  * Forbid named exports.
2974
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
3051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
2975
3052
  */
2976
3053
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
2977
3054
  /**
2978
3055
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2979
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
3056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
2980
3057
  */
2981
3058
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
2982
3059
  /**
2983
3060
  * Forbid Node.js builtin modules.
2984
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
3061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
2985
3062
  */
2986
3063
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
2987
3064
  /**
2988
3065
  * Forbid importing packages through relative paths.
2989
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
3066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
2990
3067
  */
2991
3068
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
2992
3069
  /**
2993
3070
  * Forbid importing modules from parent directories.
2994
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
3071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
2995
3072
  */
2996
3073
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
2997
3074
  /**
2998
3075
  * Forbid importing a default export by a different name.
2999
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
3076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
3000
3077
  */
3001
3078
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
3002
3079
  /**
3003
3080
  * Enforce which files can be imported in a given folder.
3004
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
3081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
3005
3082
  */
3006
3083
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
3007
3084
  /**
3008
3085
  * Forbid a module from importing itself.
3009
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
3086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
3010
3087
  */
3011
3088
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
3012
3089
  /**
3013
3090
  * Forbid unassigned imports.
3014
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
3091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
3015
3092
  */
3016
3093
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
3017
3094
  /**
3018
3095
  * Ensure imports point to a file/module that can be resolved.
3019
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
3096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
3020
3097
  */
3021
3098
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
3022
3099
  /**
3023
3100
  * Forbid modules without exports, or exports without matching import in another module.
3024
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
3101
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
3025
3102
  */
3026
3103
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
3027
3104
  /**
3028
3105
  * Forbid unnecessary path segments in import and require statements.
3029
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
3106
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
3030
3107
  */
3031
3108
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
3032
3109
  /**
3033
3110
  * Forbid webpack loader syntax in imports.
3034
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
3111
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
3035
3112
  */
3036
3113
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
3037
3114
  /**
3038
3115
  * Enforce a convention in module import order.
3039
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
3116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
3040
3117
  */
3041
3118
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
3042
3119
  /**
3043
3120
  * Prefer a default export if module exports a single name or multiple names.
3044
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
3121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
3045
3122
  */
3046
3123
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
3124
+ /**
3125
+ * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
3126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
3127
+ */
3128
+ 'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>
3047
3129
  /**
3048
3130
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
3049
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
3131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
3050
3132
  */
3051
3133
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
3052
3134
  /**
@@ -4341,7 +4423,7 @@ interface RuleOptions {
4341
4423
  */
4342
4424
  'no-console'?: Linter.RuleEntry<NoConsole>
4343
4425
  /**
4344
- * Disallow reassigning `const` variables
4426
+ * Disallow reassigning `const`, `using`, and `await using` variables
4345
4427
  * @see https://eslint.org/docs/latest/rules/no-const-assign
4346
4428
  */
4347
4429
  'no-const-assign'?: Linter.RuleEntry<[]>
@@ -7196,6 +7278,16 @@ interface RuleOptions {
7196
7278
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
7197
7279
  */
7198
7280
  'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>
7281
+ /**
7282
+ * enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
7283
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
7284
+ */
7285
+ 'vitest/prefer-called-once'?: Linter.RuleEntry<[]>
7286
+ /**
7287
+ * enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
7288
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
7289
+ */
7290
+ 'vitest/prefer-called-times'?: Linter.RuleEntry<[]>
7199
7291
  /**
7200
7292
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
7201
7293
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -7361,6 +7453,11 @@ interface RuleOptions {
7361
7453
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
7362
7454
  */
7363
7455
  'vitest/valid-title'?: Linter.RuleEntry<VitestValidTitle>
7456
+ /**
7457
+ * disallow `.todo` usage
7458
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
7459
+ */
7460
+ 'vitest/warn-todo'?: Linter.RuleEntry<[]>
7364
7461
  /**
7365
7462
  * Require parentheses around immediate `function` invocations
7366
7463
  * @see https://eslint.org/docs/latest/rules/wrap-iife
@@ -7601,16 +7698,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
7601
7698
  minElements?: number
7602
7699
  consistent?: boolean
7603
7700
  })
7604
- TSEnumBody?: (("always" | "never") | {
7605
- multiline?: boolean
7606
- minElements?: number
7607
- consistent?: boolean
7608
- })
7609
- TSInterfaceBody?: (("always" | "never") | {
7610
- multiline?: boolean
7611
- minElements?: number
7612
- consistent?: boolean
7613
- })
7614
7701
  TSModuleBlock?: (("always" | "never") | {
7615
7702
  multiline?: boolean
7616
7703
  minElements?: number
@@ -7624,14 +7711,6 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
7624
7711
  type StylisticDotLocation = []|[("object" | "property")]
7625
7712
  // ----- @stylistic/eol-last -----
7626
7713
  type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
7627
- // ----- @stylistic/func-call-spacing -----
7628
- type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
7629
- allowNewlines?: boolean
7630
- optionalChain?: {
7631
- before?: boolean
7632
- after?: boolean
7633
- }
7634
- }])
7635
7714
  // ----- @stylistic/function-call-argument-newline -----
7636
7715
  type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
7637
7716
  // ----- @stylistic/function-call-spacing -----
@@ -7672,16 +7751,19 @@ type StylisticIndent = []|[("tab" | number)]|[("tab" | number), {
7672
7751
  var?: (number | ("first" | "off"))
7673
7752
  let?: (number | ("first" | "off"))
7674
7753
  const?: (number | ("first" | "off"))
7754
+ using?: (number | ("first" | "off"))
7675
7755
  })
7676
7756
  outerIIFEBody?: (number | "off")
7677
7757
  MemberExpression?: (number | "off")
7678
7758
  FunctionDeclaration?: {
7679
7759
  parameters?: (number | ("first" | "off"))
7680
7760
  body?: number
7761
+ returnType?: number
7681
7762
  }
7682
7763
  FunctionExpression?: {
7683
7764
  parameters?: (number | ("first" | "off"))
7684
7765
  body?: number
7766
+ returnType?: number
7685
7767
  }
7686
7768
  StaticBlock?: {
7687
7769
  body?: number
@@ -7722,31 +7804,52 @@ type StylisticJsxCurlyNewline = []|[(("consistent" | "never") | {
7722
7804
  multiline?: ("consistent" | "require" | "forbid")
7723
7805
  })]
7724
7806
  // ----- @stylistic/jsx-curly-spacing -----
7725
- type StylisticJsxCurlySpacing = []|[((_StylisticJsxCurlySpacing_BasicConfig & {
7726
- attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
7727
- children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
7728
- [k: string]: unknown | undefined
7729
- }) | ("always" | "never"))]|[((_StylisticJsxCurlySpacing_BasicConfig & {
7730
- attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
7731
- children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean
7732
- [k: string]: unknown | undefined
7733
- }) | ("always" | "never")), {
7807
+ type StylisticJsxCurlySpacing = []|[({
7808
+ when?: ("always" | "never")
7734
7809
  allowMultiline?: boolean
7735
7810
  spacing?: {
7736
7811
  objectLiterals?: ("always" | "never")
7737
- [k: string]: unknown | undefined
7738
7812
  }
7739
- }]
7740
- type _StylisticJsxCurlySpacingBasicConfigOrBoolean = (_StylisticJsxCurlySpacing_BasicConfig | boolean)
7741
- interface _StylisticJsxCurlySpacing_BasicConfig {
7813
+ attributes?: ({
7814
+ when?: ("always" | "never")
7815
+ allowMultiline?: boolean
7816
+ spacing?: {
7817
+ objectLiterals?: ("always" | "never")
7818
+ }
7819
+ } | boolean)
7820
+ children?: ({
7821
+ when?: ("always" | "never")
7822
+ allowMultiline?: boolean
7823
+ spacing?: {
7824
+ objectLiterals?: ("always" | "never")
7825
+ }
7826
+ } | boolean)
7827
+ } | ("always" | "never"))]|[({
7742
7828
  when?: ("always" | "never")
7743
7829
  allowMultiline?: boolean
7744
7830
  spacing?: {
7745
7831
  objectLiterals?: ("always" | "never")
7746
- [k: string]: unknown | undefined
7747
7832
  }
7748
- [k: string]: unknown | undefined
7749
- }
7833
+ attributes?: ({
7834
+ when?: ("always" | "never")
7835
+ allowMultiline?: boolean
7836
+ spacing?: {
7837
+ objectLiterals?: ("always" | "never")
7838
+ }
7839
+ } | boolean)
7840
+ children?: ({
7841
+ when?: ("always" | "never")
7842
+ allowMultiline?: boolean
7843
+ spacing?: {
7844
+ objectLiterals?: ("always" | "never")
7845
+ }
7846
+ } | boolean)
7847
+ } | ("always" | "never")), {
7848
+ allowMultiline?: boolean
7849
+ spacing?: {
7850
+ objectLiterals?: ("always" | "never")
7851
+ }
7852
+ }]
7750
7853
  // ----- @stylistic/jsx-equals-spacing -----
7751
7854
  type StylisticJsxEqualsSpacing = []|[("always" | "never")]
7752
7855
  // ----- @stylistic/jsx-first-prop-new-line -----
@@ -7762,14 +7865,12 @@ type StylisticJsxIndent = []|[("tab" | number)]|[("tab" | number), {
7762
7865
  type StylisticJsxIndentProps = []|[(("tab" | "first") | number | {
7763
7866
  indentMode?: (("tab" | "first") | number)
7764
7867
  ignoreTernaryOperator?: boolean
7765
- [k: string]: unknown | undefined
7766
7868
  })]
7767
7869
  // ----- @stylistic/jsx-max-props-per-line -----
7768
7870
  type StylisticJsxMaxPropsPerLine = []|[({
7769
7871
  maximum?: {
7770
7872
  single?: number
7771
7873
  multi?: number
7772
- [k: string]: unknown | undefined
7773
7874
  }
7774
7875
  } | {
7775
7876
  maximum?: number
@@ -7806,8 +7907,8 @@ type StylisticJsxSortProps = []|[{
7806
7907
  multiline?: ("ignore" | "first" | "last")
7807
7908
  ignoreCase?: boolean
7808
7909
  noSortAlphabetically?: boolean
7809
- reservedFirst?: (unknown[] | boolean)
7810
- reservedLast?: unknown[]
7910
+ reservedFirst?: (string[] | boolean)
7911
+ reservedLast?: string[]
7811
7912
  locale?: string
7812
7913
  }]
7813
7914
  // ----- @stylistic/jsx-tag-spacing -----
@@ -8116,6 +8217,10 @@ type StylisticKeywordSpacing = []|[{
8116
8217
  before?: boolean
8117
8218
  after?: boolean
8118
8219
  }
8220
+ accessor?: {
8221
+ before?: boolean
8222
+ after?: boolean
8223
+ }
8119
8224
  as?: {
8120
8225
  before?: boolean
8121
8226
  after?: boolean
@@ -8152,6 +8257,10 @@ type StylisticKeywordSpacing = []|[{
8152
8257
  before?: boolean
8153
8258
  after?: boolean
8154
8259
  }
8260
+ using?: {
8261
+ before?: boolean
8262
+ after?: boolean
8263
+ }
8155
8264
  yield?: {
8156
8265
  before?: boolean
8157
8266
  after?: boolean
@@ -8326,11 +8435,11 @@ interface _StylisticMemberDelimiterStyle_DelimiterConfig {
8326
8435
  // ----- @stylistic/multiline-comment-style -----
8327
8436
  type StylisticMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
8328
8437
  checkJSDoc?: boolean
8438
+ checkExclamation?: boolean
8329
8439
  }])
8330
8440
  // ----- @stylistic/multiline-ternary -----
8331
8441
  type StylisticMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
8332
8442
  ignoreJSX?: boolean
8333
- [k: string]: unknown | undefined
8334
8443
  }]
8335
8444
  // ----- @stylistic/new-parens -----
8336
8445
  type StylisticNewParens = []|[("always" | "never")]
@@ -8356,6 +8465,11 @@ type StylisticNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
8356
8465
  enforceForFunctionPrototypeMethods?: boolean
8357
8466
  allowParensAfterCommentPattern?: string
8358
8467
  nestedConditionalExpressions?: boolean
8468
+ allowNodesInSpreadElement?: {
8469
+ ConditionalExpression?: boolean
8470
+ LogicalExpression?: boolean
8471
+ AwaitExpression?: boolean
8472
+ }
8359
8473
  }])
8360
8474
  // ----- @stylistic/no-mixed-operators -----
8361
8475
  type StylisticNoMixedOperators = []|[{
@@ -8433,6 +8547,11 @@ type StylisticObjectCurlyNewline = []|[((("always" | "never") | {
8433
8547
  minProperties?: number
8434
8548
  consistent?: boolean
8435
8549
  })
8550
+ TSEnumBody?: (("always" | "never") | {
8551
+ multiline?: boolean
8552
+ minProperties?: number
8553
+ consistent?: boolean
8554
+ })
8436
8555
  })]
8437
8556
  // ----- @stylistic/object-curly-spacing -----
8438
8557
  type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -8442,7 +8561,6 @@ type StylisticObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never
8442
8561
  // ----- @stylistic/object-property-newline -----
8443
8562
  type StylisticObjectPropertyNewline = []|[{
8444
8563
  allowAllPropertiesOnSameLine?: boolean
8445
- allowMultiplePropertiesPerLine?: boolean
8446
8564
  }]
8447
8565
  // ----- @stylistic/one-var-declaration-per-line -----
8448
8566
  type StylisticOneVarDeclarationPerLine = []|[("always" | "initializations")]
@@ -8466,7 +8584,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
8466
8584
  }]
8467
8585
  // ----- @stylistic/padding-line-between-statements -----
8468
8586
  type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
8469
- type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
8587
+ type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
8470
8588
  type StylisticPaddingLineBetweenStatements = {
8471
8589
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
8472
8590
  prev: _StylisticPaddingLineBetweenStatementsStatementType
@@ -8505,12 +8623,14 @@ type StylisticSpaceBeforeBlocks = []|[(("always" | "never") | {
8505
8623
  keywords?: ("always" | "never" | "off")
8506
8624
  functions?: ("always" | "never" | "off")
8507
8625
  classes?: ("always" | "never" | "off")
8626
+ modules?: ("always" | "never" | "off")
8508
8627
  })]
8509
8628
  // ----- @stylistic/space-before-function-paren -----
8510
8629
  type StylisticSpaceBeforeFunctionParen = []|[(("always" | "never") | {
8511
8630
  anonymous?: ("always" | "never" | "ignore")
8512
8631
  named?: ("always" | "never" | "ignore")
8513
8632
  asyncArrow?: ("always" | "never" | "ignore")
8633
+ catch?: ("always" | "never" | "ignore")
8514
8634
  })]
8515
8635
  // ----- @stylistic/space-in-parens -----
8516
8636
  type StylisticSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
@@ -9078,6 +9198,8 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
9078
9198
  // ----- @typescript-eslint/no-base-to-string -----
9079
9199
  type TypescriptEslintNoBaseToString = []|[{
9080
9200
 
9201
+ checkUnknown?: boolean
9202
+
9081
9203
  ignoredTypeNames?: string[]
9082
9204
  }]
9083
9205
  // ----- @typescript-eslint/no-confusing-void-expression -----
@@ -10439,6 +10561,10 @@ type ImportXOrder = []|[{
10439
10561
  type ImportXPreferDefaultExport = []|[{
10440
10562
  target?: ("single" | "any")
10441
10563
  }]
10564
+ // ----- import-x/prefer-namespace-import -----
10565
+ type ImportXPreferNamespaceImport = []|[{
10566
+ patterns?: string[]
10567
+ }]
10442
10568
  // ----- indent -----
10443
10569
  type Indent = []|[("tab" | number)]|[("tab" | number), {
10444
10570
  SwitchCase?: number
@@ -10719,6 +10845,7 @@ type JsdocLinesBeforeBlock = []|[{
10719
10845
  checkBlockStarts?: boolean
10720
10846
  excludedTags?: string[]
10721
10847
  ignoreSameLine?: boolean
10848
+ ignoreSingleLines?: boolean
10722
10849
  lines?: number
10723
10850
  }]
10724
10851
  // ----- jsdoc/match-description -----
@@ -10749,8 +10876,8 @@ type JsdocMatchName = []|[{
10749
10876
  context?: string
10750
10877
  disallowName?: string
10751
10878
  message?: string
10879
+ replacement?: string
10752
10880
  tags?: string[]
10753
- [k: string]: unknown | undefined
10754
10881
  }[]
10755
10882
  }]
10756
10883
  // ----- jsdoc/multiline-blocks -----
@@ -10762,6 +10889,7 @@ type JsdocMultilineBlocks = []|[{
10762
10889
  noMultilineBlocks?: boolean
10763
10890
  noSingleLineBlocks?: boolean
10764
10891
  noZeroLineText?: boolean
10892
+ requireSingleLineUnderCount?: number
10765
10893
  singleLineTags?: string[]
10766
10894
  }]
10767
10895
  // ----- jsdoc/no-bad-blocks -----
@@ -10823,7 +10951,6 @@ type JsdocRequireAsteriskPrefix = []|[("always" | "never" | "any")]|[("always" |
10823
10951
  always?: string[]
10824
10952
  any?: string[]
10825
10953
  never?: string[]
10826
- [k: string]: unknown | undefined
10827
10954
  }
10828
10955
  }]
10829
10956
  // ----- jsdoc/require-description -----
@@ -11033,7 +11160,6 @@ type JsdocSortTags = []|[{
11033
11160
  reportTagGroupSpacing?: boolean
11034
11161
  tagSequence?: {
11035
11162
  tags?: string[]
11036
- [k: string]: unknown | undefined
11037
11163
  }[]
11038
11164
  }]
11039
11165
  // ----- jsdoc/tag-lines -----
@@ -12134,6 +12260,7 @@ type NoConstantCondition = []|[{
12134
12260
  // ----- no-duplicate-imports -----
12135
12261
  type NoDuplicateImports = []|[{
12136
12262
  includeExports?: boolean
12263
+ allowSeparateTypeImports?: boolean
12137
12264
  }]
12138
12265
  // ----- no-else-return -----
12139
12266
  type NoElseReturn = []|[{
@@ -16394,6 +16521,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16394
16521
  "@eslint-community/eslint-comments/no-unused-disable": "off";
16395
16522
  "@eslint-community/eslint-comments/require-description": "error";
16396
16523
  };
16524
+ basePath?: string;
16397
16525
  files?: Array<string | string[]>;
16398
16526
  ignores?: string[];
16399
16527
  language?: string;
@@ -16490,6 +16618,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16490
16618
  startLines: number;
16491
16619
  }];
16492
16620
  };
16621
+ basePath?: string;
16493
16622
  files?: Array<string | string[]>;
16494
16623
  ignores?: string[];
16495
16624
  language?: string;
@@ -16612,6 +16741,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16612
16741
  "unicorn/prefer-node-protocol": "off";
16613
16742
  "unicorn/prevent-abbreviations": "off";
16614
16743
  };
16744
+ basePath?: string;
16615
16745
  files?: Array<string | string[]>;
16616
16746
  ignores?: string[];
16617
16747
  language?: string;
@@ -16680,6 +16810,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16680
16810
  rules: {
16681
16811
  "@tanstack/query/exhaustive-deps": "error";
16682
16812
  "@tanstack/query/infinite-query-property-order": "error";
16813
+ "@tanstack/query/mutation-property-order": "error";
16683
16814
  "@tanstack/query/no-rest-destructuring": "error";
16684
16815
  "@tanstack/query/no-unstable-deps": "error";
16685
16816
  "@tanstack/query/no-void-query-fn": "error";
@@ -16852,6 +16983,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16852
16983
  "playwright/no-wait-for-timeout": "error";
16853
16984
  "playwright/valid-title": "off";
16854
16985
  };
16986
+ basePath?: string;
16855
16987
  ignores?: string[];
16856
16988
  language?: string;
16857
16989
  languageOptions?: Linter.LanguageOptions;
@@ -16885,9 +17017,64 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
16885
17017
  name: string;
16886
17018
  plugins: {
16887
17019
  "@next/next": {
17020
+ rules: {
17021
+ "google-font-display": typeof _next_eslint_plugin_next_dist_rules_google_font_display;
17022
+ "google-font-preconnect": typeof _next_eslint_plugin_next_dist_rules_google_font_preconnect;
17023
+ "inline-script-id": typeof _next_eslint_plugin_next_dist_rules_inline_script_id;
17024
+ "next-script-for-ga": typeof _next_eslint_plugin_next_dist_rules_next_script_for_ga;
17025
+ "no-assign-module-variable": typeof _next_eslint_plugin_next_dist_rules_no_assign_module_variable;
17026
+ "no-async-client-component": typeof _next_eslint_plugin_next_dist_rules_no_async_client_component;
17027
+ "no-before-interactive-script-outside-document": typeof _next_eslint_plugin_next_dist_rules_no_before_interactive_script_outside_document;
17028
+ "no-css-tags": typeof _next_eslint_plugin_next_dist_rules_no_css_tags;
17029
+ "no-document-import-in-page": typeof _next_eslint_plugin_next_dist_rules_no_document_import_in_page;
17030
+ "no-duplicate-head": typeof _next_eslint_plugin_next_dist_rules_no_duplicate_head;
17031
+ "no-head-element": typeof _next_eslint_plugin_next_dist_rules_no_head_element;
17032
+ "no-head-import-in-document": typeof _next_eslint_plugin_next_dist_rules_no_head_import_in_document;
17033
+ "no-html-link-for-pages": typeof _next_eslint_plugin_next_dist_rules_no_html_link_for_pages;
17034
+ "no-img-element": typeof _next_eslint_plugin_next_dist_rules_no_img_element;
17035
+ "no-page-custom-font": typeof _next_eslint_plugin_next_dist_rules_no_page_custom_font;
17036
+ "no-script-component-in-head": typeof _next_eslint_plugin_next_dist_rules_no_script_component_in_head;
17037
+ "no-styled-jsx-in-document": typeof _next_eslint_plugin_next_dist_rules_no_styled_jsx_in_document;
17038
+ "no-sync-scripts": typeof _next_eslint_plugin_next_dist_rules_no_sync_scripts;
17039
+ "no-title-in-document-head": typeof _next_eslint_plugin_next_dist_rules_no_title_in_document_head;
17040
+ "no-typos": typeof _next_eslint_plugin_next_dist_rules_no_typos;
17041
+ "no-unwanted-polyfillio": typeof _next_eslint_plugin_next_dist_rules_no_unwanted_polyfillio;
17042
+ };
16888
17043
  configs: {
16889
- "core-web-vitals": Linter.Config<Linter.RulesRecord>;
16890
- recommended: Linter.Config<Linter.RulesRecord>;
17044
+ recommended: {
17045
+ plugins: string[];
17046
+ rules: {
17047
+ "@next/next/google-font-display": string;
17048
+ "@next/next/google-font-preconnect": string;
17049
+ "@next/next/next-script-for-ga": string;
17050
+ "@next/next/no-async-client-component": string;
17051
+ "@next/next/no-before-interactive-script-outside-document": string;
17052
+ "@next/next/no-css-tags": string;
17053
+ "@next/next/no-head-element": string;
17054
+ "@next/next/no-html-link-for-pages": string;
17055
+ "@next/next/no-img-element": string;
17056
+ "@next/next/no-page-custom-font": string;
17057
+ "@next/next/no-styled-jsx-in-document": string;
17058
+ "@next/next/no-sync-scripts": string;
17059
+ "@next/next/no-title-in-document-head": string;
17060
+ "@next/next/no-typos": string;
17061
+ "@next/next/no-unwanted-polyfillio": string;
17062
+ "@next/next/inline-script-id": string;
17063
+ "@next/next/no-assign-module-variable": string;
17064
+ "@next/next/no-document-import-in-page": string;
17065
+ "@next/next/no-duplicate-head": string;
17066
+ "@next/next/no-head-import-in-document": string;
17067
+ "@next/next/no-script-component-in-head": string;
17068
+ };
17069
+ };
17070
+ "core-web-vitals": {
17071
+ plugins: string[];
17072
+ extends: string[];
17073
+ rules: {
17074
+ "@next/next/no-html-link-for-pages": string;
17075
+ "@next/next/no-sync-scripts": string;
17076
+ };
17077
+ };
16891
17078
  };
16892
17079
  };
16893
17080
  };