@lntvow/eslint-config 9.28.8 → 9.29.1

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
@@ -2141,483 +2141,478 @@ interface RuleOptions {
2141
2141
  'strict'?: Linter.RuleEntry<Strict>
2142
2142
  /**
2143
2143
  * Enforce linebreaks after opening and before closing array brackets
2144
- * @see https://eslint.style/rules/js/array-bracket-newline
2144
+ * @see https://eslint.style/rules/array-bracket-newline
2145
2145
  */
2146
2146
  'style/array-bracket-newline'?: Linter.RuleEntry<StyleArrayBracketNewline>
2147
2147
  /**
2148
2148
  * Enforce consistent spacing inside array brackets
2149
- * @see https://eslint.style/rules/js/array-bracket-spacing
2149
+ * @see https://eslint.style/rules/array-bracket-spacing
2150
2150
  */
2151
2151
  'style/array-bracket-spacing'?: Linter.RuleEntry<StyleArrayBracketSpacing>
2152
2152
  /**
2153
2153
  * Enforce line breaks after each array element
2154
- * @see https://eslint.style/rules/js/array-element-newline
2154
+ * @see https://eslint.style/rules/array-element-newline
2155
2155
  */
2156
2156
  'style/array-element-newline'?: Linter.RuleEntry<StyleArrayElementNewline>
2157
2157
  /**
2158
2158
  * Require parentheses around arrow function arguments
2159
- * @see https://eslint.style/rules/js/arrow-parens
2159
+ * @see https://eslint.style/rules/arrow-parens
2160
2160
  */
2161
2161
  'style/arrow-parens'?: Linter.RuleEntry<StyleArrowParens>
2162
2162
  /**
2163
2163
  * Enforce consistent spacing before and after the arrow in arrow functions
2164
- * @see https://eslint.style/rules/js/arrow-spacing
2164
+ * @see https://eslint.style/rules/arrow-spacing
2165
2165
  */
2166
2166
  'style/arrow-spacing'?: Linter.RuleEntry<StyleArrowSpacing>
2167
2167
  /**
2168
2168
  * Disallow or enforce spaces inside of blocks after opening block and before closing block
2169
- * @see https://eslint.style/rules/ts/block-spacing
2169
+ * @see https://eslint.style/rules/block-spacing
2170
2170
  */
2171
2171
  'style/block-spacing'?: Linter.RuleEntry<StyleBlockSpacing>
2172
2172
  /**
2173
2173
  * Enforce consistent brace style for blocks
2174
- * @see https://eslint.style/rules/ts/brace-style
2174
+ * @see https://eslint.style/rules/brace-style
2175
2175
  */
2176
2176
  'style/brace-style'?: Linter.RuleEntry<StyleBraceStyle>
2177
2177
  /**
2178
2178
  * Require or disallow trailing commas
2179
- * @see https://eslint.style/rules/ts/comma-dangle
2179
+ * @see https://eslint.style/rules/comma-dangle
2180
2180
  */
2181
2181
  'style/comma-dangle'?: Linter.RuleEntry<StyleCommaDangle>
2182
2182
  /**
2183
2183
  * Enforce consistent spacing before and after commas
2184
- * @see https://eslint.style/rules/ts/comma-spacing
2184
+ * @see https://eslint.style/rules/comma-spacing
2185
2185
  */
2186
2186
  'style/comma-spacing'?: Linter.RuleEntry<StyleCommaSpacing>
2187
2187
  /**
2188
2188
  * Enforce consistent comma style
2189
- * @see https://eslint.style/rules/js/comma-style
2189
+ * @see https://eslint.style/rules/comma-style
2190
2190
  */
2191
2191
  'style/comma-style'?: Linter.RuleEntry<StyleCommaStyle>
2192
2192
  /**
2193
2193
  * Enforce consistent spacing inside computed property brackets
2194
- * @see https://eslint.style/rules/js/computed-property-spacing
2194
+ * @see https://eslint.style/rules/computed-property-spacing
2195
2195
  */
2196
2196
  'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>
2197
2197
  /**
2198
2198
  * Enforce consistent line breaks after opening and before closing braces
2199
- * @see https://eslint.style/rules/plus/curly-newline
2199
+ * @see https://eslint.style/rules/curly-newline
2200
2200
  */
2201
2201
  'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>
2202
2202
  /**
2203
2203
  * Enforce consistent newlines before and after dots
2204
- * @see https://eslint.style/rules/js/dot-location
2204
+ * @see https://eslint.style/rules/dot-location
2205
2205
  */
2206
2206
  'style/dot-location'?: Linter.RuleEntry<StyleDotLocation>
2207
2207
  /**
2208
2208
  * Require or disallow newline at the end of files
2209
- * @see https://eslint.style/rules/js/eol-last
2209
+ * @see https://eslint.style/rules/eol-last
2210
2210
  */
2211
2211
  'style/eol-last'?: Linter.RuleEntry<StyleEolLast>
2212
- /**
2213
- * Require or disallow spacing between function identifiers and their invocations
2214
- * @see https://eslint.style/rules/ts/function-call-spacing
2215
- */
2216
- 'style/func-call-spacing'?: Linter.RuleEntry<StyleFuncCallSpacing>
2217
2212
  /**
2218
2213
  * Enforce line breaks between arguments of a function call
2219
- * @see https://eslint.style/rules/js/function-call-argument-newline
2214
+ * @see https://eslint.style/rules/function-call-argument-newline
2220
2215
  */
2221
2216
  'style/function-call-argument-newline'?: Linter.RuleEntry<StyleFunctionCallArgumentNewline>
2222
2217
  /**
2223
2218
  * Require or disallow spacing between function identifiers and their invocations
2224
- * @see https://eslint.style/rules/ts/function-call-spacing
2219
+ * @see https://eslint.style/rules/function-call-spacing
2225
2220
  */
2226
2221
  'style/function-call-spacing'?: Linter.RuleEntry<StyleFunctionCallSpacing>
2227
2222
  /**
2228
2223
  * Enforce consistent line breaks inside function parentheses
2229
- * @see https://eslint.style/rules/js/function-paren-newline
2224
+ * @see https://eslint.style/rules/function-paren-newline
2230
2225
  */
2231
2226
  'style/function-paren-newline'?: Linter.RuleEntry<StyleFunctionParenNewline>
2232
2227
  /**
2233
2228
  * Enforce consistent spacing around `*` operators in generator functions
2234
- * @see https://eslint.style/rules/js/generator-star-spacing
2229
+ * @see https://eslint.style/rules/generator-star-spacing
2235
2230
  */
2236
2231
  'style/generator-star-spacing'?: Linter.RuleEntry<StyleGeneratorStarSpacing>
2237
2232
  /**
2238
2233
  * Enforce the location of arrow function bodies
2239
- * @see https://eslint.style/rules/js/implicit-arrow-linebreak
2234
+ * @see https://eslint.style/rules/implicit-arrow-linebreak
2240
2235
  */
2241
2236
  'style/implicit-arrow-linebreak'?: Linter.RuleEntry<StyleImplicitArrowLinebreak>
2242
2237
  /**
2243
2238
  * Enforce consistent indentation
2244
- * @see https://eslint.style/rules/ts/indent
2239
+ * @see https://eslint.style/rules/indent
2245
2240
  */
2246
2241
  'style/indent'?: Linter.RuleEntry<StyleIndent>
2247
2242
  /**
2248
2243
  * Indentation for binary operators
2249
- * @see https://eslint.style/rules/plus/indent-binary-ops
2244
+ * @see https://eslint.style/rules/indent-binary-ops
2250
2245
  */
2251
2246
  'style/indent-binary-ops'?: Linter.RuleEntry<StyleIndentBinaryOps>
2252
2247
  /**
2253
2248
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
2254
- * @see https://eslint.style/rules/jsx/jsx-child-element-spacing
2249
+ * @see https://eslint.style/rules/jsx-child-element-spacing
2255
2250
  */
2256
2251
  'style/jsx-child-element-spacing'?: Linter.RuleEntry<[]>
2257
2252
  /**
2258
2253
  * Enforce closing bracket location in JSX
2259
- * @see https://eslint.style/rules/jsx/jsx-closing-bracket-location
2254
+ * @see https://eslint.style/rules/jsx-closing-bracket-location
2260
2255
  */
2261
2256
  'style/jsx-closing-bracket-location'?: Linter.RuleEntry<StyleJsxClosingBracketLocation>
2262
2257
  /**
2263
2258
  * Enforce closing tag location for multiline JSX
2264
- * @see https://eslint.style/rules/jsx/jsx-closing-tag-location
2259
+ * @see https://eslint.style/rules/jsx-closing-tag-location
2265
2260
  */
2266
2261
  'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>
2267
2262
  /**
2268
2263
  * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
2269
- * @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
2264
+ * @see https://eslint.style/rules/jsx-curly-brace-presence
2270
2265
  */
2271
2266
  'style/jsx-curly-brace-presence'?: Linter.RuleEntry<StyleJsxCurlyBracePresence>
2272
2267
  /**
2273
2268
  * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
2274
- * @see https://eslint.style/rules/jsx/jsx-curly-newline
2269
+ * @see https://eslint.style/rules/jsx-curly-newline
2275
2270
  */
2276
2271
  'style/jsx-curly-newline'?: Linter.RuleEntry<StyleJsxCurlyNewline>
2277
2272
  /**
2278
2273
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
2279
- * @see https://eslint.style/rules/jsx/jsx-curly-spacing
2274
+ * @see https://eslint.style/rules/jsx-curly-spacing
2280
2275
  */
2281
2276
  'style/jsx-curly-spacing'?: Linter.RuleEntry<StyleJsxCurlySpacing>
2282
2277
  /**
2283
2278
  * Enforce or disallow spaces around equal signs in JSX attributes
2284
- * @see https://eslint.style/rules/jsx/jsx-equals-spacing
2279
+ * @see https://eslint.style/rules/jsx-equals-spacing
2285
2280
  */
2286
2281
  'style/jsx-equals-spacing'?: Linter.RuleEntry<StyleJsxEqualsSpacing>
2287
2282
  /**
2288
2283
  * Enforce proper position of the first property in JSX
2289
- * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
2284
+ * @see https://eslint.style/rules/jsx-first-prop-new-line
2290
2285
  */
2291
2286
  'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
2292
2287
  /**
2293
2288
  * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
2294
- * @see https://eslint.style/rules/jsx/jsx-function-call-newline
2289
+ * @see https://eslint.style/rules/jsx-function-call-newline
2295
2290
  */
2296
2291
  'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
2297
2292
  /**
2298
2293
  * Enforce JSX indentation. Deprecated, use `indent` rule instead.
2299
- * @see https://eslint.style/rules/jsx/jsx-indent
2294
+ * @see https://eslint.style/rules/jsx-indent
2300
2295
  * @deprecated
2301
2296
  */
2302
2297
  'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>
2303
2298
  /**
2304
2299
  * Enforce props indentation in JSX
2305
- * @see https://eslint.style/rules/jsx/jsx-indent-props
2300
+ * @see https://eslint.style/rules/jsx-indent-props
2306
2301
  */
2307
2302
  'style/jsx-indent-props'?: Linter.RuleEntry<StyleJsxIndentProps>
2308
2303
  /**
2309
2304
  * Enforce maximum of props on a single line in JSX
2310
- * @see https://eslint.style/rules/jsx/jsx-max-props-per-line
2305
+ * @see https://eslint.style/rules/jsx-max-props-per-line
2311
2306
  */
2312
2307
  'style/jsx-max-props-per-line'?: Linter.RuleEntry<StyleJsxMaxPropsPerLine>
2313
2308
  /**
2314
2309
  * Require or prevent a new line after jsx elements and expressions.
2315
- * @see https://eslint.style/rules/jsx/jsx-newline
2310
+ * @see https://eslint.style/rules/jsx-newline
2316
2311
  */
2317
2312
  'style/jsx-newline'?: Linter.RuleEntry<StyleJsxNewline>
2318
2313
  /**
2319
2314
  * Require one JSX element per line
2320
- * @see https://eslint.style/rules/jsx/jsx-one-expression-per-line
2315
+ * @see https://eslint.style/rules/jsx-one-expression-per-line
2321
2316
  */
2322
2317
  'style/jsx-one-expression-per-line'?: Linter.RuleEntry<StyleJsxOneExpressionPerLine>
2323
2318
  /**
2324
2319
  * Enforce PascalCase for user-defined JSX components
2325
- * @see https://eslint.style/rules/jsx/jsx-pascal-case
2320
+ * @see https://eslint.style/rules/jsx-pascal-case
2326
2321
  */
2327
2322
  'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>
2328
2323
  /**
2329
2324
  * Disallow multiple spaces between inline JSX props
2330
- * @see https://eslint.style/rules/jsx/jsx-props-no-multi-spaces
2325
+ * @see https://eslint.style/rules/jsx-props-no-multi-spaces
2331
2326
  */
2332
2327
  'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
2333
2328
  /**
2334
2329
  * Enforce the consistent use of either double or single quotes in JSX attributes
2335
- * @see https://eslint.style/rules/js/jsx-quotes
2330
+ * @see https://eslint.style/rules/jsx-quotes
2336
2331
  */
2337
2332
  'style/jsx-quotes'?: Linter.RuleEntry<StyleJsxQuotes>
2338
2333
  /**
2339
2334
  * Disallow extra closing tags for components without children
2340
- * @see https://eslint.style/rules/jsx/jsx-self-closing-comp
2335
+ * @see https://eslint.style/rules/jsx-self-closing-comp
2341
2336
  */
2342
2337
  'style/jsx-self-closing-comp'?: Linter.RuleEntry<StyleJsxSelfClosingComp>
2343
2338
  /**
2344
2339
  * Enforce props alphabetical sorting
2345
- * @see https://eslint.style/rules/jsx/jsx-sort-props
2340
+ * @see https://eslint.style/rules/jsx-sort-props
2346
2341
  */
2347
2342
  'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>
2348
2343
  /**
2349
2344
  * Enforce whitespace in and around the JSX opening and closing brackets
2350
- * @see https://eslint.style/rules/jsx/jsx-tag-spacing
2345
+ * @see https://eslint.style/rules/jsx-tag-spacing
2351
2346
  */
2352
2347
  'style/jsx-tag-spacing'?: Linter.RuleEntry<StyleJsxTagSpacing>
2353
2348
  /**
2354
2349
  * Disallow missing parentheses around multiline JSX
2355
- * @see https://eslint.style/rules/jsx/jsx-wrap-multilines
2350
+ * @see https://eslint.style/rules/jsx-wrap-multilines
2356
2351
  */
2357
2352
  'style/jsx-wrap-multilines'?: Linter.RuleEntry<StyleJsxWrapMultilines>
2358
2353
  /**
2359
2354
  * Enforce consistent spacing between property names and type annotations in types and interfaces
2360
- * @see https://eslint.style/rules/ts/key-spacing
2355
+ * @see https://eslint.style/rules/key-spacing
2361
2356
  */
2362
2357
  'style/key-spacing'?: Linter.RuleEntry<StyleKeySpacing>
2363
2358
  /**
2364
2359
  * Enforce consistent spacing before and after keywords
2365
- * @see https://eslint.style/rules/ts/keyword-spacing
2360
+ * @see https://eslint.style/rules/keyword-spacing
2366
2361
  */
2367
2362
  'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
2368
2363
  /**
2369
2364
  * Enforce position of line comments
2370
- * @see https://eslint.style/rules/js/line-comment-position
2365
+ * @see https://eslint.style/rules/line-comment-position
2371
2366
  */
2372
2367
  'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
2373
2368
  /**
2374
2369
  * Enforce consistent linebreak style
2375
- * @see https://eslint.style/rules/js/linebreak-style
2370
+ * @see https://eslint.style/rules/linebreak-style
2376
2371
  */
2377
2372
  'style/linebreak-style'?: Linter.RuleEntry<StyleLinebreakStyle>
2378
2373
  /**
2379
2374
  * Require empty lines around comments
2380
- * @see https://eslint.style/rules/ts/lines-around-comment
2375
+ * @see https://eslint.style/rules/lines-around-comment
2381
2376
  */
2382
2377
  'style/lines-around-comment'?: Linter.RuleEntry<StyleLinesAroundComment>
2383
2378
  /**
2384
2379
  * Require or disallow an empty line between class members
2385
- * @see https://eslint.style/rules/ts/lines-between-class-members
2380
+ * @see https://eslint.style/rules/lines-between-class-members
2386
2381
  */
2387
2382
  'style/lines-between-class-members'?: Linter.RuleEntry<StyleLinesBetweenClassMembers>
2388
2383
  /**
2389
2384
  * Enforce a maximum line length
2390
- * @see https://eslint.style/rules/js/max-len
2385
+ * @see https://eslint.style/rules/max-len
2391
2386
  */
2392
2387
  'style/max-len'?: Linter.RuleEntry<StyleMaxLen>
2393
2388
  /**
2394
2389
  * Enforce a maximum number of statements allowed per line
2395
- * @see https://eslint.style/rules/js/max-statements-per-line
2390
+ * @see https://eslint.style/rules/max-statements-per-line
2396
2391
  */
2397
2392
  'style/max-statements-per-line'?: Linter.RuleEntry<StyleMaxStatementsPerLine>
2398
2393
  /**
2399
2394
  * Require a specific member delimiter style for interfaces and type literals
2400
- * @see https://eslint.style/rules/ts/member-delimiter-style
2395
+ * @see https://eslint.style/rules/member-delimiter-style
2401
2396
  */
2402
2397
  'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
2403
2398
  /**
2404
2399
  * Enforce a particular style for multiline comments
2405
- * @see https://eslint.style/rules/js/multiline-comment-style
2400
+ * @see https://eslint.style/rules/multiline-comment-style
2406
2401
  */
2407
2402
  'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
2408
2403
  /**
2409
2404
  * Enforce newlines between operands of ternary expressions
2410
- * @see https://eslint.style/rules/js/multiline-ternary
2405
+ * @see https://eslint.style/rules/multiline-ternary
2411
2406
  */
2412
2407
  'style/multiline-ternary'?: Linter.RuleEntry<StyleMultilineTernary>
2413
2408
  /**
2414
2409
  * Enforce or disallow parentheses when invoking a constructor with no arguments
2415
- * @see https://eslint.style/rules/js/new-parens
2410
+ * @see https://eslint.style/rules/new-parens
2416
2411
  */
2417
2412
  'style/new-parens'?: Linter.RuleEntry<StyleNewParens>
2418
2413
  /**
2419
2414
  * Require a newline after each call in a method chain
2420
- * @see https://eslint.style/rules/js/newline-per-chained-call
2415
+ * @see https://eslint.style/rules/newline-per-chained-call
2421
2416
  */
2422
2417
  'style/newline-per-chained-call'?: Linter.RuleEntry<StyleNewlinePerChainedCall>
2423
2418
  /**
2424
2419
  * Disallow arrow functions where they could be confused with comparisons
2425
- * @see https://eslint.style/rules/js/no-confusing-arrow
2420
+ * @see https://eslint.style/rules/no-confusing-arrow
2426
2421
  */
2427
2422
  'style/no-confusing-arrow'?: Linter.RuleEntry<StyleNoConfusingArrow>
2428
2423
  /**
2429
2424
  * Disallow unnecessary parentheses
2430
- * @see https://eslint.style/rules/ts/no-extra-parens
2425
+ * @see https://eslint.style/rules/no-extra-parens
2431
2426
  */
2432
2427
  'style/no-extra-parens'?: Linter.RuleEntry<StyleNoExtraParens>
2433
2428
  /**
2434
2429
  * Disallow unnecessary semicolons
2435
- * @see https://eslint.style/rules/ts/no-extra-semi
2430
+ * @see https://eslint.style/rules/no-extra-semi
2436
2431
  */
2437
2432
  'style/no-extra-semi'?: Linter.RuleEntry<[]>
2438
2433
  /**
2439
2434
  * Disallow leading or trailing decimal points in numeric literals
2440
- * @see https://eslint.style/rules/js/no-floating-decimal
2435
+ * @see https://eslint.style/rules/no-floating-decimal
2441
2436
  */
2442
2437
  'style/no-floating-decimal'?: Linter.RuleEntry<[]>
2443
2438
  /**
2444
2439
  * Disallow mixed binary operators
2445
- * @see https://eslint.style/rules/js/no-mixed-operators
2440
+ * @see https://eslint.style/rules/no-mixed-operators
2446
2441
  */
2447
2442
  'style/no-mixed-operators'?: Linter.RuleEntry<StyleNoMixedOperators>
2448
2443
  /**
2449
2444
  * Disallow mixed spaces and tabs for indentation
2450
- * @see https://eslint.style/rules/js/no-mixed-spaces-and-tabs
2445
+ * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
2451
2446
  */
2452
2447
  'style/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StyleNoMixedSpacesAndTabs>
2453
2448
  /**
2454
2449
  * Disallow multiple spaces
2455
- * @see https://eslint.style/rules/js/no-multi-spaces
2450
+ * @see https://eslint.style/rules/no-multi-spaces
2456
2451
  */
2457
2452
  'style/no-multi-spaces'?: Linter.RuleEntry<StyleNoMultiSpaces>
2458
2453
  /**
2459
2454
  * Disallow multiple empty lines
2460
- * @see https://eslint.style/rules/js/no-multiple-empty-lines
2455
+ * @see https://eslint.style/rules/no-multiple-empty-lines
2461
2456
  */
2462
2457
  'style/no-multiple-empty-lines'?: Linter.RuleEntry<StyleNoMultipleEmptyLines>
2463
2458
  /**
2464
2459
  * Disallow all tabs
2465
- * @see https://eslint.style/rules/js/no-tabs
2460
+ * @see https://eslint.style/rules/no-tabs
2466
2461
  */
2467
2462
  'style/no-tabs'?: Linter.RuleEntry<StyleNoTabs>
2468
2463
  /**
2469
2464
  * Disallow trailing whitespace at the end of lines
2470
- * @see https://eslint.style/rules/js/no-trailing-spaces
2465
+ * @see https://eslint.style/rules/no-trailing-spaces
2471
2466
  */
2472
2467
  'style/no-trailing-spaces'?: Linter.RuleEntry<StyleNoTrailingSpaces>
2473
2468
  /**
2474
2469
  * Disallow whitespace before properties
2475
- * @see https://eslint.style/rules/js/no-whitespace-before-property
2470
+ * @see https://eslint.style/rules/no-whitespace-before-property
2476
2471
  */
2477
2472
  'style/no-whitespace-before-property'?: Linter.RuleEntry<[]>
2478
2473
  /**
2479
2474
  * Enforce the location of single-line statements
2480
- * @see https://eslint.style/rules/js/nonblock-statement-body-position
2475
+ * @see https://eslint.style/rules/nonblock-statement-body-position
2481
2476
  */
2482
2477
  'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>
2483
2478
  /**
2484
2479
  * Enforce consistent line breaks after opening and before closing braces
2485
- * @see https://eslint.style/rules/ts/object-curly-newline
2480
+ * @see https://eslint.style/rules/object-curly-newline
2486
2481
  */
2487
2482
  'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>
2488
2483
  /**
2489
2484
  * Enforce consistent spacing inside braces
2490
- * @see https://eslint.style/rules/ts/object-curly-spacing
2485
+ * @see https://eslint.style/rules/object-curly-spacing
2491
2486
  */
2492
2487
  'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>
2493
2488
  /**
2494
2489
  * Enforce placing object properties on separate lines
2495
- * @see https://eslint.style/rules/ts/object-property-newline
2490
+ * @see https://eslint.style/rules/object-property-newline
2496
2491
  */
2497
2492
  'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>
2498
2493
  /**
2499
2494
  * Require or disallow newlines around variable declarations
2500
- * @see https://eslint.style/rules/js/one-var-declaration-per-line
2495
+ * @see https://eslint.style/rules/one-var-declaration-per-line
2501
2496
  */
2502
2497
  'style/one-var-declaration-per-line'?: Linter.RuleEntry<StyleOneVarDeclarationPerLine>
2503
2498
  /**
2504
2499
  * Enforce consistent linebreak style for operators
2505
- * @see https://eslint.style/rules/js/operator-linebreak
2500
+ * @see https://eslint.style/rules/operator-linebreak
2506
2501
  */
2507
2502
  'style/operator-linebreak'?: Linter.RuleEntry<StyleOperatorLinebreak>
2508
2503
  /**
2509
2504
  * Require or disallow padding within blocks
2510
- * @see https://eslint.style/rules/js/padded-blocks
2505
+ * @see https://eslint.style/rules/padded-blocks
2511
2506
  */
2512
2507
  'style/padded-blocks'?: Linter.RuleEntry<StylePaddedBlocks>
2513
2508
  /**
2514
2509
  * Require or disallow padding lines between statements
2515
- * @see https://eslint.style/rules/ts/padding-line-between-statements
2510
+ * @see https://eslint.style/rules/padding-line-between-statements
2516
2511
  */
2517
2512
  'style/padding-line-between-statements'?: Linter.RuleEntry<StylePaddingLineBetweenStatements>
2518
2513
  /**
2519
2514
  * Require quotes around object literal, type literal, interfaces and enums property names
2520
- * @see https://eslint.style/rules/ts/quote-props
2515
+ * @see https://eslint.style/rules/quote-props
2521
2516
  */
2522
2517
  'style/quote-props'?: Linter.RuleEntry<StyleQuoteProps>
2523
2518
  /**
2524
2519
  * Enforce the consistent use of either backticks, double, or single quotes
2525
- * @see https://eslint.style/rules/ts/quotes
2520
+ * @see https://eslint.style/rules/quotes
2526
2521
  */
2527
2522
  'style/quotes'?: Linter.RuleEntry<StyleQuotes>
2528
2523
  /**
2529
2524
  * Enforce spacing between rest and spread operators and their expressions
2530
- * @see https://eslint.style/rules/js/rest-spread-spacing
2525
+ * @see https://eslint.style/rules/rest-spread-spacing
2531
2526
  */
2532
2527
  'style/rest-spread-spacing'?: Linter.RuleEntry<StyleRestSpreadSpacing>
2533
2528
  /**
2534
2529
  * Require or disallow semicolons instead of ASI
2535
- * @see https://eslint.style/rules/ts/semi
2530
+ * @see https://eslint.style/rules/semi
2536
2531
  */
2537
2532
  'style/semi'?: Linter.RuleEntry<StyleSemi>
2538
2533
  /**
2539
2534
  * Enforce consistent spacing before and after semicolons
2540
- * @see https://eslint.style/rules/js/semi-spacing
2535
+ * @see https://eslint.style/rules/semi-spacing
2541
2536
  */
2542
2537
  'style/semi-spacing'?: Linter.RuleEntry<StyleSemiSpacing>
2543
2538
  /**
2544
2539
  * Enforce location of semicolons
2545
- * @see https://eslint.style/rules/js/semi-style
2540
+ * @see https://eslint.style/rules/semi-style
2546
2541
  */
2547
2542
  'style/semi-style'?: Linter.RuleEntry<StyleSemiStyle>
2548
2543
  /**
2549
2544
  * Enforce consistent spacing before blocks
2550
- * @see https://eslint.style/rules/ts/space-before-blocks
2545
+ * @see https://eslint.style/rules/space-before-blocks
2551
2546
  */
2552
2547
  'style/space-before-blocks'?: Linter.RuleEntry<StyleSpaceBeforeBlocks>
2553
2548
  /**
2554
2549
  * Enforce consistent spacing before function parenthesis
2555
- * @see https://eslint.style/rules/ts/space-before-function-paren
2550
+ * @see https://eslint.style/rules/space-before-function-paren
2556
2551
  */
2557
2552
  'style/space-before-function-paren'?: Linter.RuleEntry<StyleSpaceBeforeFunctionParen>
2558
2553
  /**
2559
2554
  * Enforce consistent spacing inside parentheses
2560
- * @see https://eslint.style/rules/js/space-in-parens
2555
+ * @see https://eslint.style/rules/space-in-parens
2561
2556
  */
2562
2557
  'style/space-in-parens'?: Linter.RuleEntry<StyleSpaceInParens>
2563
2558
  /**
2564
2559
  * Require spacing around infix operators
2565
- * @see https://eslint.style/rules/ts/space-infix-ops
2560
+ * @see https://eslint.style/rules/space-infix-ops
2566
2561
  */
2567
2562
  'style/space-infix-ops'?: Linter.RuleEntry<StyleSpaceInfixOps>
2568
2563
  /**
2569
2564
  * Enforce consistent spacing before or after unary operators
2570
- * @see https://eslint.style/rules/js/space-unary-ops
2565
+ * @see https://eslint.style/rules/space-unary-ops
2571
2566
  */
2572
2567
  'style/space-unary-ops'?: Linter.RuleEntry<StyleSpaceUnaryOps>
2573
2568
  /**
2574
2569
  * Enforce consistent spacing after the `//` or `/*` in a comment
2575
- * @see https://eslint.style/rules/js/spaced-comment
2570
+ * @see https://eslint.style/rules/spaced-comment
2576
2571
  */
2577
2572
  'style/spaced-comment'?: Linter.RuleEntry<StyleSpacedComment>
2578
2573
  /**
2579
2574
  * Enforce spacing around colons of switch statements
2580
- * @see https://eslint.style/rules/js/switch-colon-spacing
2575
+ * @see https://eslint.style/rules/switch-colon-spacing
2581
2576
  */
2582
2577
  'style/switch-colon-spacing'?: Linter.RuleEntry<StyleSwitchColonSpacing>
2583
2578
  /**
2584
2579
  * Require or disallow spacing around embedded expressions of template strings
2585
- * @see https://eslint.style/rules/js/template-curly-spacing
2580
+ * @see https://eslint.style/rules/template-curly-spacing
2586
2581
  */
2587
2582
  'style/template-curly-spacing'?: Linter.RuleEntry<StyleTemplateCurlySpacing>
2588
2583
  /**
2589
2584
  * Require or disallow spacing between template tags and their literals
2590
- * @see https://eslint.style/rules/js/template-tag-spacing
2585
+ * @see https://eslint.style/rules/template-tag-spacing
2591
2586
  */
2592
2587
  'style/template-tag-spacing'?: Linter.RuleEntry<StyleTemplateTagSpacing>
2593
2588
  /**
2594
2589
  * Require consistent spacing around type annotations
2595
- * @see https://eslint.style/rules/ts/type-annotation-spacing
2590
+ * @see https://eslint.style/rules/type-annotation-spacing
2596
2591
  */
2597
2592
  'style/type-annotation-spacing'?: Linter.RuleEntry<StyleTypeAnnotationSpacing>
2598
2593
  /**
2599
2594
  * Enforces consistent spacing inside TypeScript type generics
2600
- * @see https://eslint.style/rules/plus/type-generic-spacing
2595
+ * @see https://eslint.style/rules/type-generic-spacing
2601
2596
  */
2602
2597
  'style/type-generic-spacing'?: Linter.RuleEntry<[]>
2603
2598
  /**
2604
2599
  * Expect space before the type declaration in the named tuple
2605
- * @see https://eslint.style/rules/plus/type-named-tuple-spacing
2600
+ * @see https://eslint.style/rules/type-named-tuple-spacing
2606
2601
  */
2607
2602
  'style/type-named-tuple-spacing'?: Linter.RuleEntry<[]>
2608
2603
  /**
2609
2604
  * Require parentheses around immediate `function` invocations
2610
- * @see https://eslint.style/rules/js/wrap-iife
2605
+ * @see https://eslint.style/rules/wrap-iife
2611
2606
  */
2612
2607
  'style/wrap-iife'?: Linter.RuleEntry<StyleWrapIife>
2613
2608
  /**
2614
2609
  * Require parenthesis around regex literals
2615
- * @see https://eslint.style/rules/js/wrap-regex
2610
+ * @see https://eslint.style/rules/wrap-regex
2616
2611
  */
2617
2612
  'style/wrap-regex'?: Linter.RuleEntry<[]>
2618
2613
  /**
2619
2614
  * Require or disallow spacing around the `*` in `yield*` expressions
2620
- * @see https://eslint.style/rules/js/yield-star-spacing
2615
+ * @see https://eslint.style/rules/yield-star-spacing
2621
2616
  */
2622
2617
  'style/yield-star-spacing'?: Linter.RuleEntry<StyleYieldStarSpacing>
2623
2618
  /**
@@ -3792,7 +3787,7 @@ interface RuleOptions {
3792
3787
  */
3793
3788
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
3794
3789
  /**
3795
- * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
3790
+ * Enforce consistent spacing between keys and values in object literal properties in `<template>`
3796
3791
  * @see https://eslint.vuejs.org/rules/key-spacing.html
3797
3792
  */
3798
3793
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -4490,7 +4485,7 @@ interface RuleOptions {
4490
4485
  */
4491
4486
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
4492
4487
  /**
4493
- * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
4488
+ * Require quotes around object literal property names in `<template>`
4494
4489
  * @see https://eslint.vuejs.org/rules/quote-props.html
4495
4490
  */
4496
4491
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -4862,6 +4857,7 @@ type AccessorPairs = []|[{
4862
4857
  getWithoutSet?: boolean
4863
4858
  setWithoutGet?: boolean
4864
4859
  enforceForClassMembers?: boolean
4860
+ enforceForTSTypes?: boolean
4865
4861
  }]
4866
4862
  // ----- array-bracket-newline -----
4867
4863
  type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
@@ -5052,7 +5048,9 @@ type GetterReturn = []|[{
5052
5048
  allowImplicit?: boolean
5053
5049
  }]
5054
5050
  // ----- grouped-accessor-pairs -----
5055
- type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
5051
+ type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]|[("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
5052
+ enforceForTSTypes?: boolean
5053
+ }]
5056
5054
  // ----- handle-callback-err -----
5057
5055
  type HandleCallbackErr = []|[string]
5058
5056
  // ----- id-blacklist -----
@@ -6251,6 +6249,7 @@ type NoUnusedVars = []|[(("all" | "local") | {
6251
6249
  caughtErrorsIgnorePattern?: string
6252
6250
  destructuredArrayIgnorePattern?: string
6253
6251
  ignoreClassWithStaticInitBlock?: boolean
6252
+ ignoreUsingDeclarations?: boolean
6254
6253
  reportUsedIgnorePattern?: boolean
6255
6254
  })]
6256
6255
  // ----- no-use-before-define -----
@@ -6834,16 +6833,6 @@ type StyleCurlyNewline = []|[(("always" | "never") | {
6834
6833
  minElements?: number
6835
6834
  consistent?: boolean
6836
6835
  })
6837
- TSEnumBody?: (("always" | "never") | {
6838
- multiline?: boolean
6839
- minElements?: number
6840
- consistent?: boolean
6841
- })
6842
- TSInterfaceBody?: (("always" | "never") | {
6843
- multiline?: boolean
6844
- minElements?: number
6845
- consistent?: boolean
6846
- })
6847
6836
  TSModuleBlock?: (("always" | "never") | {
6848
6837
  multiline?: boolean
6849
6838
  minElements?: number
@@ -6857,14 +6846,6 @@ type StyleCurlyNewline = []|[(("always" | "never") | {
6857
6846
  type StyleDotLocation = []|[("object" | "property")]
6858
6847
  // ----- style/eol-last -----
6859
6848
  type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
6860
- // ----- style/func-call-spacing -----
6861
- type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
6862
- allowNewlines?: boolean
6863
- optionalChain?: {
6864
- before?: boolean
6865
- after?: boolean
6866
- }
6867
- }])
6868
6849
  // ----- style/function-call-argument-newline -----
6869
6850
  type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
6870
6851
  // ----- style/function-call-spacing -----
@@ -6905,16 +6886,19 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
6905
6886
  var?: (number | ("first" | "off"))
6906
6887
  let?: (number | ("first" | "off"))
6907
6888
  const?: (number | ("first" | "off"))
6889
+ using?: (number | ("first" | "off"))
6908
6890
  })
6909
6891
  outerIIFEBody?: (number | "off")
6910
6892
  MemberExpression?: (number | "off")
6911
6893
  FunctionDeclaration?: {
6912
6894
  parameters?: (number | ("first" | "off"))
6913
6895
  body?: number
6896
+ returnType?: number
6914
6897
  }
6915
6898
  FunctionExpression?: {
6916
6899
  parameters?: (number | ("first" | "off"))
6917
6900
  body?: number
6901
+ returnType?: number
6918
6902
  }
6919
6903
  StaticBlock?: {
6920
6904
  body?: number
@@ -6955,31 +6939,52 @@ type StyleJsxCurlyNewline = []|[(("consistent" | "never") | {
6955
6939
  multiline?: ("consistent" | "require" | "forbid")
6956
6940
  })]
6957
6941
  // ----- style/jsx-curly-spacing -----
6958
- type StyleJsxCurlySpacing = []|[((_StyleJsxCurlySpacing_BasicConfig & {
6959
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean
6960
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean
6961
- [k: string]: unknown | undefined
6962
- }) | ("always" | "never"))]|[((_StyleJsxCurlySpacing_BasicConfig & {
6963
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean
6964
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean
6965
- [k: string]: unknown | undefined
6966
- }) | ("always" | "never")), {
6942
+ type StyleJsxCurlySpacing = []|[({
6943
+ when?: ("always" | "never")
6967
6944
  allowMultiline?: boolean
6968
6945
  spacing?: {
6969
6946
  objectLiterals?: ("always" | "never")
6970
- [k: string]: unknown | undefined
6971
6947
  }
6972
- }]
6973
- type _StyleJsxCurlySpacingBasicConfigOrBoolean = (_StyleJsxCurlySpacing_BasicConfig | boolean)
6974
- interface _StyleJsxCurlySpacing_BasicConfig {
6948
+ attributes?: ({
6949
+ when?: ("always" | "never")
6950
+ allowMultiline?: boolean
6951
+ spacing?: {
6952
+ objectLiterals?: ("always" | "never")
6953
+ }
6954
+ } | boolean)
6955
+ children?: ({
6956
+ when?: ("always" | "never")
6957
+ allowMultiline?: boolean
6958
+ spacing?: {
6959
+ objectLiterals?: ("always" | "never")
6960
+ }
6961
+ } | boolean)
6962
+ } | ("always" | "never"))]|[({
6975
6963
  when?: ("always" | "never")
6976
6964
  allowMultiline?: boolean
6977
6965
  spacing?: {
6978
6966
  objectLiterals?: ("always" | "never")
6979
- [k: string]: unknown | undefined
6980
6967
  }
6981
- [k: string]: unknown | undefined
6982
- }
6968
+ attributes?: ({
6969
+ when?: ("always" | "never")
6970
+ allowMultiline?: boolean
6971
+ spacing?: {
6972
+ objectLiterals?: ("always" | "never")
6973
+ }
6974
+ } | boolean)
6975
+ children?: ({
6976
+ when?: ("always" | "never")
6977
+ allowMultiline?: boolean
6978
+ spacing?: {
6979
+ objectLiterals?: ("always" | "never")
6980
+ }
6981
+ } | boolean)
6982
+ } | ("always" | "never")), {
6983
+ allowMultiline?: boolean
6984
+ spacing?: {
6985
+ objectLiterals?: ("always" | "never")
6986
+ }
6987
+ }]
6983
6988
  // ----- style/jsx-equals-spacing -----
6984
6989
  type StyleJsxEqualsSpacing = []|[("always" | "never")]
6985
6990
  // ----- style/jsx-first-prop-new-line -----
@@ -6995,14 +7000,12 @@ type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
6995
7000
  type StyleJsxIndentProps = []|[(("tab" | "first") | number | {
6996
7001
  indentMode?: (("tab" | "first") | number)
6997
7002
  ignoreTernaryOperator?: boolean
6998
- [k: string]: unknown | undefined
6999
7003
  })]
7000
7004
  // ----- style/jsx-max-props-per-line -----
7001
7005
  type StyleJsxMaxPropsPerLine = []|[({
7002
7006
  maximum?: {
7003
7007
  single?: number
7004
7008
  multi?: number
7005
- [k: string]: unknown | undefined
7006
7009
  }
7007
7010
  } | {
7008
7011
  maximum?: number
@@ -7039,7 +7042,8 @@ type StyleJsxSortProps = []|[{
7039
7042
  multiline?: ("ignore" | "first" | "last")
7040
7043
  ignoreCase?: boolean
7041
7044
  noSortAlphabetically?: boolean
7042
- reservedFirst?: (unknown[] | boolean)
7045
+ reservedFirst?: (string[] | boolean)
7046
+ reservedLast?: string[]
7043
7047
  locale?: string
7044
7048
  }]
7045
7049
  // ----- style/jsx-tag-spacing -----
@@ -7116,18 +7120,6 @@ type StyleKeywordSpacing = []|[{
7116
7120
  before?: boolean
7117
7121
  after?: boolean
7118
7122
  }
7119
- as?: {
7120
- before?: boolean
7121
- after?: boolean
7122
- }
7123
- async?: {
7124
- before?: boolean
7125
- after?: boolean
7126
- }
7127
- await?: {
7128
- before?: boolean
7129
- after?: boolean
7130
- }
7131
7123
  boolean?: {
7132
7124
  before?: boolean
7133
7125
  after?: boolean
@@ -7220,18 +7212,10 @@ type StyleKeywordSpacing = []|[{
7220
7212
  before?: boolean
7221
7213
  after?: boolean
7222
7214
  }
7223
- from?: {
7224
- before?: boolean
7225
- after?: boolean
7226
- }
7227
7215
  function?: {
7228
7216
  before?: boolean
7229
7217
  after?: boolean
7230
7218
  }
7231
- get?: {
7232
- before?: boolean
7233
- after?: boolean
7234
- }
7235
7219
  goto?: {
7236
7220
  before?: boolean
7237
7221
  after?: boolean
@@ -7264,10 +7248,6 @@ type StyleKeywordSpacing = []|[{
7264
7248
  before?: boolean
7265
7249
  after?: boolean
7266
7250
  }
7267
- let?: {
7268
- before?: boolean
7269
- after?: boolean
7270
- }
7271
7251
  long?: {
7272
7252
  before?: boolean
7273
7253
  after?: boolean
@@ -7284,10 +7264,6 @@ type StyleKeywordSpacing = []|[{
7284
7264
  before?: boolean
7285
7265
  after?: boolean
7286
7266
  }
7287
- of?: {
7288
- before?: boolean
7289
- after?: boolean
7290
- }
7291
7267
  package?: {
7292
7268
  before?: boolean
7293
7269
  after?: boolean
@@ -7308,14 +7284,6 @@ type StyleKeywordSpacing = []|[{
7308
7284
  before?: boolean
7309
7285
  after?: boolean
7310
7286
  }
7311
- satisfies?: {
7312
- before?: boolean
7313
- after?: boolean
7314
- }
7315
- set?: {
7316
- before?: boolean
7317
- after?: boolean
7318
- }
7319
7287
  short?: {
7320
7288
  before?: boolean
7321
7289
  after?: boolean
@@ -7384,6 +7352,50 @@ type StyleKeywordSpacing = []|[{
7384
7352
  before?: boolean
7385
7353
  after?: boolean
7386
7354
  }
7355
+ accessor?: {
7356
+ before?: boolean
7357
+ after?: boolean
7358
+ }
7359
+ as?: {
7360
+ before?: boolean
7361
+ after?: boolean
7362
+ }
7363
+ async?: {
7364
+ before?: boolean
7365
+ after?: boolean
7366
+ }
7367
+ await?: {
7368
+ before?: boolean
7369
+ after?: boolean
7370
+ }
7371
+ from?: {
7372
+ before?: boolean
7373
+ after?: boolean
7374
+ }
7375
+ get?: {
7376
+ before?: boolean
7377
+ after?: boolean
7378
+ }
7379
+ let?: {
7380
+ before?: boolean
7381
+ after?: boolean
7382
+ }
7383
+ of?: {
7384
+ before?: boolean
7385
+ after?: boolean
7386
+ }
7387
+ satisfies?: {
7388
+ before?: boolean
7389
+ after?: boolean
7390
+ }
7391
+ set?: {
7392
+ before?: boolean
7393
+ after?: boolean
7394
+ }
7395
+ using?: {
7396
+ before?: boolean
7397
+ after?: boolean
7398
+ }
7387
7399
  yield?: {
7388
7400
  before?: boolean
7389
7401
  after?: boolean
@@ -7558,11 +7570,11 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
7558
7570
  // ----- style/multiline-comment-style -----
7559
7571
  type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
7560
7572
  checkJSDoc?: boolean
7573
+ checkExclamation?: boolean
7561
7574
  }])
7562
7575
  // ----- style/multiline-ternary -----
7563
7576
  type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
7564
7577
  ignoreJSX?: boolean
7565
- [k: string]: unknown | undefined
7566
7578
  }]
7567
7579
  // ----- style/new-parens -----
7568
7580
  type StyleNewParens = []|[("always" | "never")]
@@ -7588,6 +7600,11 @@ type StyleNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
7588
7600
  enforceForFunctionPrototypeMethods?: boolean
7589
7601
  allowParensAfterCommentPattern?: string
7590
7602
  nestedConditionalExpressions?: boolean
7603
+ allowNodesInSpreadElement?: {
7604
+ ConditionalExpression?: boolean
7605
+ LogicalExpression?: boolean
7606
+ AwaitExpression?: boolean
7607
+ }
7591
7608
  }])
7592
7609
  // ----- style/no-mixed-operators -----
7593
7610
  type StyleNoMixedOperators = []|[{
@@ -7665,6 +7682,11 @@ type StyleObjectCurlyNewline = []|[((("always" | "never") | {
7665
7682
  minProperties?: number
7666
7683
  consistent?: boolean
7667
7684
  })
7685
+ TSEnumBody?: (("always" | "never") | {
7686
+ multiline?: boolean
7687
+ minProperties?: number
7688
+ consistent?: boolean
7689
+ })
7668
7690
  })]
7669
7691
  // ----- style/object-curly-spacing -----
7670
7692
  type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -7674,7 +7696,6 @@ type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"),
7674
7696
  // ----- style/object-property-newline -----
7675
7697
  type StyleObjectPropertyNewline = []|[{
7676
7698
  allowAllPropertiesOnSameLine?: boolean
7677
- allowMultiplePropertiesPerLine?: boolean
7678
7699
  }]
7679
7700
  // ----- style/one-var-declaration-per-line -----
7680
7701
  type StyleOneVarDeclarationPerLine = []|[("always" | "initializations")]
@@ -7698,11 +7719,12 @@ type StylePaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
7698
7719
  }]
7699
7720
  // ----- style/padding-line-between-statements -----
7700
7721
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
7701
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "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"))[]])
7722
+ type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]])
7723
+ type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "return" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using")
7702
7724
  type StylePaddingLineBetweenStatements = {
7703
7725
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
7704
- prev: _StylePaddingLineBetweenStatementsStatementType
7705
- next: _StylePaddingLineBetweenStatementsStatementType
7726
+ prev: _StylePaddingLineBetweenStatementsStatementOption
7727
+ next: _StylePaddingLineBetweenStatementsStatementOption
7706
7728
  }[]
7707
7729
  // ----- style/quote-props -----
7708
7730
  type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -7713,7 +7735,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
7713
7735
  // ----- style/quotes -----
7714
7736
  type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
7715
7737
  avoidEscape?: boolean
7716
- allowTemplateLiterals?: boolean
7738
+ allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"))
7717
7739
  ignoreStringLiterals?: boolean
7718
7740
  })]
7719
7741
  // ----- style/rest-spread-spacing -----
@@ -7737,12 +7759,14 @@ type StyleSpaceBeforeBlocks = []|[(("always" | "never") | {
7737
7759
  keywords?: ("always" | "never" | "off")
7738
7760
  functions?: ("always" | "never" | "off")
7739
7761
  classes?: ("always" | "never" | "off")
7762
+ modules?: ("always" | "never" | "off")
7740
7763
  })]
7741
7764
  // ----- style/space-before-function-paren -----
7742
7765
  type StyleSpaceBeforeFunctionParen = []|[(("always" | "never") | {
7743
7766
  anonymous?: ("always" | "never" | "ignore")
7744
7767
  named?: ("always" | "never" | "ignore")
7745
7768
  asyncArrow?: ("always" | "never" | "ignore")
7769
+ catch?: ("always" | "never" | "ignore")
7746
7770
  })]
7747
7771
  // ----- style/space-in-parens -----
7748
7772
  type StyleSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
@@ -7751,6 +7775,7 @@ type StyleSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
7751
7775
  // ----- style/space-infix-ops -----
7752
7776
  type StyleSpaceInfixOps = []|[{
7753
7777
  int32Hint?: boolean
7778
+ ignoreTypes?: boolean
7754
7779
  }]
7755
7780
  // ----- style/space-unary-ops -----
7756
7781
  type StyleSpaceUnaryOps = []|[{
@@ -9104,7 +9129,6 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
9104
9129
  ArrayPattern?: _VueArrayElementNewlineBasicConfig
9105
9130
  })]
9106
9131
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
9107
- consistent?: boolean
9108
9132
  multiline?: boolean
9109
9133
  minItems?: (number | null)
9110
9134
  })
@@ -9173,14 +9197,9 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
9173
9197
  imports?: _VueCommaDangleValueWithIgnore
9174
9198
  exports?: _VueCommaDangleValueWithIgnore
9175
9199
  functions?: _VueCommaDangleValueWithIgnore
9176
- importAttributes?: _VueCommaDangleValueWithIgnore
9177
- dynamicImports?: _VueCommaDangleValueWithIgnore
9178
- enums?: _VueCommaDangleValueWithIgnore
9179
- generics?: _VueCommaDangleValueWithIgnore
9180
- tuples?: _VueCommaDangleValueWithIgnore
9181
9200
  })]
9182
9201
  type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
9183
- type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
9202
+ type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
9184
9203
  // ----- vue/comma-spacing -----
9185
9204
  type VueCommaSpacing = []|[{
9186
9205
  before?: boolean
@@ -9251,10 +9270,6 @@ type VueFirstAttributeLinebreak = []|[{
9251
9270
  // ----- vue/func-call-spacing -----
9252
9271
  type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
9253
9272
  allowNewlines?: boolean
9254
- optionalChain?: {
9255
- before?: boolean
9256
- after?: boolean
9257
- }
9258
9273
  }])
9259
9274
  // ----- vue/html-button-has-type -----
9260
9275
  type VueHtmlButtonHasType = []|[{
@@ -9336,7 +9351,6 @@ type VueKeySpacing = []|[({
9336
9351
  mode?: ("strict" | "minimum")
9337
9352
  beforeColon?: boolean
9338
9353
  afterColon?: boolean
9339
- ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
9340
9354
  } | {
9341
9355
  singleLine?: {
9342
9356
  mode?: ("strict" | "minimum")
@@ -9573,10 +9587,6 @@ type VueKeywordSpacing = []|[{
9573
9587
  before?: boolean
9574
9588
  after?: boolean
9575
9589
  }
9576
- satisfies?: {
9577
- before?: boolean
9578
- after?: boolean
9579
- }
9580
9590
  set?: {
9581
9591
  before?: boolean
9582
9592
  after?: boolean
@@ -9653,10 +9663,6 @@ type VueKeywordSpacing = []|[{
9653
9663
  before?: boolean
9654
9664
  after?: boolean
9655
9665
  }
9656
- type?: {
9657
- before?: boolean
9658
- after?: boolean
9659
- }
9660
9666
  }
9661
9667
  }]
9662
9668
  // ----- vue/match-component-file-name -----
@@ -9785,10 +9791,7 @@ type VueMultilineHtmlElementContentNewline = []|[{
9785
9791
  allowEmptyLines?: boolean
9786
9792
  }]
9787
9793
  // ----- vue/multiline-ternary -----
9788
- type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
9789
- ignoreJSX?: boolean
9790
- [k: string]: unknown | undefined
9791
- }]
9794
+ type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]
9792
9795
  // ----- vue/mustache-interpolation-spacing -----
9793
9796
  type VueMustacheInterpolationSpacing = []|[("always" | "never")]
9794
9797
  // ----- vue/new-line-between-multi-line-property -----
@@ -9863,7 +9866,6 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
9863
9866
  enforceForNewInMemberExpressions?: boolean
9864
9867
  enforceForFunctionPrototypeMethods?: boolean
9865
9868
  allowParensAfterCommentPattern?: string
9866
- nestedConditionalExpressions?: boolean
9867
9869
  }])
9868
9870
  // ----- vue/no-implicit-coercion -----
9869
9871
  type VueNoImplicitCoercion = []|[{
@@ -10114,16 +10116,6 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
10114
10116
  minProperties?: number
10115
10117
  consistent?: boolean
10116
10118
  })
10117
- TSTypeLiteral?: (("always" | "never") | {
10118
- multiline?: boolean
10119
- minProperties?: number
10120
- consistent?: boolean
10121
- })
10122
- TSInterfaceBody?: (("always" | "never") | {
10123
- multiline?: boolean
10124
- minProperties?: number
10125
- consistent?: boolean
10126
- })
10127
10119
  })]
10128
10120
  // ----- vue/object-curly-spacing -----
10129
10121
  type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -10145,7 +10137,7 @@ type VueObjectShorthand = ([]|[("always" | "methods" | "properties" | "never" |
10145
10137
  avoidExplicitReturnArrows?: boolean
10146
10138
  }])
10147
10139
  // ----- vue/operator-linebreak -----
10148
- type VueOperatorLinebreak = []|[(("after" | "before" | "none") | null)]|[(("after" | "before" | "none") | null), {
10140
+ type VueOperatorLinebreak = []|[("after" | "before" | "none" | null)]|[("after" | "before" | "none" | null), {
10149
10141
  overrides?: {
10150
10142
  [k: string]: ("after" | "before" | "none" | "ignore") | undefined
10151
10143
  }