@luxass/eslint-config 5.0.0 → 5.1.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 +249 -194
- package/package.json +22 -22
package/dist/index.d.ts
CHANGED
|
@@ -1827,6 +1827,11 @@ interface RuleOptions {
|
|
|
1827
1827
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1828
1828
|
*/
|
|
1829
1829
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>;
|
|
1830
|
+
/**
|
|
1831
|
+
* Disallow bare URLs
|
|
1832
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
1833
|
+
*/
|
|
1834
|
+
'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
|
|
1830
1835
|
/**
|
|
1831
1836
|
* Disallow duplicate definitions
|
|
1832
1837
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
@@ -1836,7 +1841,7 @@ interface RuleOptions {
|
|
|
1836
1841
|
* Disallow duplicate headings in the same document
|
|
1837
1842
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
1838
1843
|
*/
|
|
1839
|
-
'markdown/no-duplicate-headings'?: Linter.RuleEntry<
|
|
1844
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
|
|
1840
1845
|
/**
|
|
1841
1846
|
* Disallow empty definitions
|
|
1842
1847
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
@@ -1872,11 +1877,21 @@ interface RuleOptions {
|
|
|
1872
1877
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1873
1878
|
*/
|
|
1874
1879
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
|
|
1880
|
+
/**
|
|
1881
|
+
* Disallow link fragments that do not reference valid headings
|
|
1882
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
1883
|
+
*/
|
|
1884
|
+
'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
|
|
1875
1885
|
/**
|
|
1876
1886
|
* Disallow multiple H1 headings in the same document
|
|
1877
1887
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1878
1888
|
*/
|
|
1879
1889
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1890
|
+
/**
|
|
1891
|
+
* Disallow reversed link and image syntax
|
|
1892
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
1893
|
+
*/
|
|
1894
|
+
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
1880
1895
|
/**
|
|
1881
1896
|
* Require alternative text for images
|
|
1882
1897
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
@@ -4262,483 +4277,478 @@ interface RuleOptions {
|
|
|
4262
4277
|
'strict'?: Linter.RuleEntry<Strict>;
|
|
4263
4278
|
/**
|
|
4264
4279
|
* Enforce linebreaks after opening and before closing array brackets
|
|
4265
|
-
* @see https://eslint.style/rules/
|
|
4280
|
+
* @see https://eslint.style/rules/array-bracket-newline
|
|
4266
4281
|
*/
|
|
4267
4282
|
'style/array-bracket-newline'?: Linter.RuleEntry<StyleArrayBracketNewline>;
|
|
4268
4283
|
/**
|
|
4269
4284
|
* Enforce consistent spacing inside array brackets
|
|
4270
|
-
* @see https://eslint.style/rules/
|
|
4285
|
+
* @see https://eslint.style/rules/array-bracket-spacing
|
|
4271
4286
|
*/
|
|
4272
4287
|
'style/array-bracket-spacing'?: Linter.RuleEntry<StyleArrayBracketSpacing>;
|
|
4273
4288
|
/**
|
|
4274
4289
|
* Enforce line breaks after each array element
|
|
4275
|
-
* @see https://eslint.style/rules/
|
|
4290
|
+
* @see https://eslint.style/rules/array-element-newline
|
|
4276
4291
|
*/
|
|
4277
4292
|
'style/array-element-newline'?: Linter.RuleEntry<StyleArrayElementNewline>;
|
|
4278
4293
|
/**
|
|
4279
4294
|
* Require parentheses around arrow function arguments
|
|
4280
|
-
* @see https://eslint.style/rules/
|
|
4295
|
+
* @see https://eslint.style/rules/arrow-parens
|
|
4281
4296
|
*/
|
|
4282
4297
|
'style/arrow-parens'?: Linter.RuleEntry<StyleArrowParens>;
|
|
4283
4298
|
/**
|
|
4284
4299
|
* Enforce consistent spacing before and after the arrow in arrow functions
|
|
4285
|
-
* @see https://eslint.style/rules/
|
|
4300
|
+
* @see https://eslint.style/rules/arrow-spacing
|
|
4286
4301
|
*/
|
|
4287
4302
|
'style/arrow-spacing'?: Linter.RuleEntry<StyleArrowSpacing>;
|
|
4288
4303
|
/**
|
|
4289
4304
|
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
4290
|
-
* @see https://eslint.style/rules/
|
|
4305
|
+
* @see https://eslint.style/rules/block-spacing
|
|
4291
4306
|
*/
|
|
4292
4307
|
'style/block-spacing'?: Linter.RuleEntry<StyleBlockSpacing>;
|
|
4293
4308
|
/**
|
|
4294
4309
|
* Enforce consistent brace style for blocks
|
|
4295
|
-
* @see https://eslint.style/rules/
|
|
4310
|
+
* @see https://eslint.style/rules/brace-style
|
|
4296
4311
|
*/
|
|
4297
4312
|
'style/brace-style'?: Linter.RuleEntry<StyleBraceStyle>;
|
|
4298
4313
|
/**
|
|
4299
4314
|
* Require or disallow trailing commas
|
|
4300
|
-
* @see https://eslint.style/rules/
|
|
4315
|
+
* @see https://eslint.style/rules/comma-dangle
|
|
4301
4316
|
*/
|
|
4302
4317
|
'style/comma-dangle'?: Linter.RuleEntry<StyleCommaDangle>;
|
|
4303
4318
|
/**
|
|
4304
4319
|
* Enforce consistent spacing before and after commas
|
|
4305
|
-
* @see https://eslint.style/rules/
|
|
4320
|
+
* @see https://eslint.style/rules/comma-spacing
|
|
4306
4321
|
*/
|
|
4307
4322
|
'style/comma-spacing'?: Linter.RuleEntry<StyleCommaSpacing>;
|
|
4308
4323
|
/**
|
|
4309
4324
|
* Enforce consistent comma style
|
|
4310
|
-
* @see https://eslint.style/rules/
|
|
4325
|
+
* @see https://eslint.style/rules/comma-style
|
|
4311
4326
|
*/
|
|
4312
4327
|
'style/comma-style'?: Linter.RuleEntry<StyleCommaStyle>;
|
|
4313
4328
|
/**
|
|
4314
4329
|
* Enforce consistent spacing inside computed property brackets
|
|
4315
|
-
* @see https://eslint.style/rules/
|
|
4330
|
+
* @see https://eslint.style/rules/computed-property-spacing
|
|
4316
4331
|
*/
|
|
4317
4332
|
'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>;
|
|
4318
4333
|
/**
|
|
4319
4334
|
* Enforce consistent line breaks after opening and before closing braces
|
|
4320
|
-
* @see https://eslint.style/rules/
|
|
4335
|
+
* @see https://eslint.style/rules/curly-newline
|
|
4321
4336
|
*/
|
|
4322
4337
|
'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>;
|
|
4323
4338
|
/**
|
|
4324
4339
|
* Enforce consistent newlines before and after dots
|
|
4325
|
-
* @see https://eslint.style/rules/
|
|
4340
|
+
* @see https://eslint.style/rules/dot-location
|
|
4326
4341
|
*/
|
|
4327
4342
|
'style/dot-location'?: Linter.RuleEntry<StyleDotLocation>;
|
|
4328
4343
|
/**
|
|
4329
4344
|
* Require or disallow newline at the end of files
|
|
4330
|
-
* @see https://eslint.style/rules/
|
|
4345
|
+
* @see https://eslint.style/rules/eol-last
|
|
4331
4346
|
*/
|
|
4332
4347
|
'style/eol-last'?: Linter.RuleEntry<StyleEolLast>;
|
|
4333
|
-
/**
|
|
4334
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
4335
|
-
* @see https://eslint.style/rules/ts/function-call-spacing
|
|
4336
|
-
*/
|
|
4337
|
-
'style/func-call-spacing'?: Linter.RuleEntry<StyleFuncCallSpacing>;
|
|
4338
4348
|
/**
|
|
4339
4349
|
* Enforce line breaks between arguments of a function call
|
|
4340
|
-
* @see https://eslint.style/rules/
|
|
4350
|
+
* @see https://eslint.style/rules/function-call-argument-newline
|
|
4341
4351
|
*/
|
|
4342
4352
|
'style/function-call-argument-newline'?: Linter.RuleEntry<StyleFunctionCallArgumentNewline>;
|
|
4343
4353
|
/**
|
|
4344
4354
|
* Require or disallow spacing between function identifiers and their invocations
|
|
4345
|
-
* @see https://eslint.style/rules/
|
|
4355
|
+
* @see https://eslint.style/rules/function-call-spacing
|
|
4346
4356
|
*/
|
|
4347
4357
|
'style/function-call-spacing'?: Linter.RuleEntry<StyleFunctionCallSpacing>;
|
|
4348
4358
|
/**
|
|
4349
4359
|
* Enforce consistent line breaks inside function parentheses
|
|
4350
|
-
* @see https://eslint.style/rules/
|
|
4360
|
+
* @see https://eslint.style/rules/function-paren-newline
|
|
4351
4361
|
*/
|
|
4352
4362
|
'style/function-paren-newline'?: Linter.RuleEntry<StyleFunctionParenNewline>;
|
|
4353
4363
|
/**
|
|
4354
4364
|
* Enforce consistent spacing around `*` operators in generator functions
|
|
4355
|
-
* @see https://eslint.style/rules/
|
|
4365
|
+
* @see https://eslint.style/rules/generator-star-spacing
|
|
4356
4366
|
*/
|
|
4357
4367
|
'style/generator-star-spacing'?: Linter.RuleEntry<StyleGeneratorStarSpacing>;
|
|
4358
4368
|
/**
|
|
4359
4369
|
* Enforce the location of arrow function bodies
|
|
4360
|
-
* @see https://eslint.style/rules/
|
|
4370
|
+
* @see https://eslint.style/rules/implicit-arrow-linebreak
|
|
4361
4371
|
*/
|
|
4362
4372
|
'style/implicit-arrow-linebreak'?: Linter.RuleEntry<StyleImplicitArrowLinebreak>;
|
|
4363
4373
|
/**
|
|
4364
4374
|
* Enforce consistent indentation
|
|
4365
|
-
* @see https://eslint.style/rules/
|
|
4375
|
+
* @see https://eslint.style/rules/indent
|
|
4366
4376
|
*/
|
|
4367
4377
|
'style/indent'?: Linter.RuleEntry<StyleIndent>;
|
|
4368
4378
|
/**
|
|
4369
4379
|
* Indentation for binary operators
|
|
4370
|
-
* @see https://eslint.style/rules/
|
|
4380
|
+
* @see https://eslint.style/rules/indent-binary-ops
|
|
4371
4381
|
*/
|
|
4372
4382
|
'style/indent-binary-ops'?: Linter.RuleEntry<StyleIndentBinaryOps>;
|
|
4373
4383
|
/**
|
|
4374
4384
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
4375
|
-
* @see https://eslint.style/rules/jsx
|
|
4385
|
+
* @see https://eslint.style/rules/jsx-child-element-spacing
|
|
4376
4386
|
*/
|
|
4377
4387
|
'style/jsx-child-element-spacing'?: Linter.RuleEntry<[]>;
|
|
4378
4388
|
/**
|
|
4379
4389
|
* Enforce closing bracket location in JSX
|
|
4380
|
-
* @see https://eslint.style/rules/jsx
|
|
4390
|
+
* @see https://eslint.style/rules/jsx-closing-bracket-location
|
|
4381
4391
|
*/
|
|
4382
4392
|
'style/jsx-closing-bracket-location'?: Linter.RuleEntry<StyleJsxClosingBracketLocation>;
|
|
4383
4393
|
/**
|
|
4384
4394
|
* Enforce closing tag location for multiline JSX
|
|
4385
|
-
* @see https://eslint.style/rules/jsx
|
|
4395
|
+
* @see https://eslint.style/rules/jsx-closing-tag-location
|
|
4386
4396
|
*/
|
|
4387
4397
|
'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>;
|
|
4388
4398
|
/**
|
|
4389
4399
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
4390
|
-
* @see https://eslint.style/rules/jsx
|
|
4400
|
+
* @see https://eslint.style/rules/jsx-curly-brace-presence
|
|
4391
4401
|
*/
|
|
4392
4402
|
'style/jsx-curly-brace-presence'?: Linter.RuleEntry<StyleJsxCurlyBracePresence>;
|
|
4393
4403
|
/**
|
|
4394
4404
|
* Enforce consistent linebreaks in curly braces in JSX attributes and expressions
|
|
4395
|
-
* @see https://eslint.style/rules/jsx
|
|
4405
|
+
* @see https://eslint.style/rules/jsx-curly-newline
|
|
4396
4406
|
*/
|
|
4397
4407
|
'style/jsx-curly-newline'?: Linter.RuleEntry<StyleJsxCurlyNewline>;
|
|
4398
4408
|
/**
|
|
4399
4409
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
4400
|
-
* @see https://eslint.style/rules/jsx
|
|
4410
|
+
* @see https://eslint.style/rules/jsx-curly-spacing
|
|
4401
4411
|
*/
|
|
4402
4412
|
'style/jsx-curly-spacing'?: Linter.RuleEntry<StyleJsxCurlySpacing>;
|
|
4403
4413
|
/**
|
|
4404
4414
|
* Enforce or disallow spaces around equal signs in JSX attributes
|
|
4405
|
-
* @see https://eslint.style/rules/jsx
|
|
4415
|
+
* @see https://eslint.style/rules/jsx-equals-spacing
|
|
4406
4416
|
*/
|
|
4407
4417
|
'style/jsx-equals-spacing'?: Linter.RuleEntry<StyleJsxEqualsSpacing>;
|
|
4408
4418
|
/**
|
|
4409
4419
|
* Enforce proper position of the first property in JSX
|
|
4410
|
-
* @see https://eslint.style/rules/jsx
|
|
4420
|
+
* @see https://eslint.style/rules/jsx-first-prop-new-line
|
|
4411
4421
|
*/
|
|
4412
4422
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>;
|
|
4413
4423
|
/**
|
|
4414
4424
|
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
4415
|
-
* @see https://eslint.style/rules/jsx
|
|
4425
|
+
* @see https://eslint.style/rules/jsx-function-call-newline
|
|
4416
4426
|
*/
|
|
4417
4427
|
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>;
|
|
4418
4428
|
/**
|
|
4419
4429
|
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
4420
|
-
* @see https://eslint.style/rules/jsx
|
|
4430
|
+
* @see https://eslint.style/rules/jsx-indent
|
|
4421
4431
|
* @deprecated
|
|
4422
4432
|
*/
|
|
4423
4433
|
'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>;
|
|
4424
4434
|
/**
|
|
4425
4435
|
* Enforce props indentation in JSX
|
|
4426
|
-
* @see https://eslint.style/rules/jsx
|
|
4436
|
+
* @see https://eslint.style/rules/jsx-indent-props
|
|
4427
4437
|
*/
|
|
4428
4438
|
'style/jsx-indent-props'?: Linter.RuleEntry<StyleJsxIndentProps>;
|
|
4429
4439
|
/**
|
|
4430
4440
|
* Enforce maximum of props on a single line in JSX
|
|
4431
|
-
* @see https://eslint.style/rules/jsx
|
|
4441
|
+
* @see https://eslint.style/rules/jsx-max-props-per-line
|
|
4432
4442
|
*/
|
|
4433
4443
|
'style/jsx-max-props-per-line'?: Linter.RuleEntry<StyleJsxMaxPropsPerLine>;
|
|
4434
4444
|
/**
|
|
4435
4445
|
* Require or prevent a new line after jsx elements and expressions.
|
|
4436
|
-
* @see https://eslint.style/rules/jsx
|
|
4446
|
+
* @see https://eslint.style/rules/jsx-newline
|
|
4437
4447
|
*/
|
|
4438
4448
|
'style/jsx-newline'?: Linter.RuleEntry<StyleJsxNewline>;
|
|
4439
4449
|
/**
|
|
4440
4450
|
* Require one JSX element per line
|
|
4441
|
-
* @see https://eslint.style/rules/jsx
|
|
4451
|
+
* @see https://eslint.style/rules/jsx-one-expression-per-line
|
|
4442
4452
|
*/
|
|
4443
4453
|
'style/jsx-one-expression-per-line'?: Linter.RuleEntry<StyleJsxOneExpressionPerLine>;
|
|
4444
4454
|
/**
|
|
4445
4455
|
* Enforce PascalCase for user-defined JSX components
|
|
4446
|
-
* @see https://eslint.style/rules/jsx
|
|
4456
|
+
* @see https://eslint.style/rules/jsx-pascal-case
|
|
4447
4457
|
*/
|
|
4448
4458
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
4449
4459
|
/**
|
|
4450
4460
|
* Disallow multiple spaces between inline JSX props
|
|
4451
|
-
* @see https://eslint.style/rules/jsx
|
|
4461
|
+
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
4452
4462
|
*/
|
|
4453
4463
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
4454
4464
|
/**
|
|
4455
4465
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
4456
|
-
* @see https://eslint.style/rules/
|
|
4466
|
+
* @see https://eslint.style/rules/jsx-quotes
|
|
4457
4467
|
*/
|
|
4458
4468
|
'style/jsx-quotes'?: Linter.RuleEntry<StyleJsxQuotes>;
|
|
4459
4469
|
/**
|
|
4460
4470
|
* Disallow extra closing tags for components without children
|
|
4461
|
-
* @see https://eslint.style/rules/jsx
|
|
4471
|
+
* @see https://eslint.style/rules/jsx-self-closing-comp
|
|
4462
4472
|
*/
|
|
4463
4473
|
'style/jsx-self-closing-comp'?: Linter.RuleEntry<StyleJsxSelfClosingComp>;
|
|
4464
4474
|
/**
|
|
4465
4475
|
* Enforce props alphabetical sorting
|
|
4466
|
-
* @see https://eslint.style/rules/jsx
|
|
4476
|
+
* @see https://eslint.style/rules/jsx-sort-props
|
|
4467
4477
|
*/
|
|
4468
4478
|
'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
|
|
4469
4479
|
/**
|
|
4470
4480
|
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
4471
|
-
* @see https://eslint.style/rules/jsx
|
|
4481
|
+
* @see https://eslint.style/rules/jsx-tag-spacing
|
|
4472
4482
|
*/
|
|
4473
4483
|
'style/jsx-tag-spacing'?: Linter.RuleEntry<StyleJsxTagSpacing>;
|
|
4474
4484
|
/**
|
|
4475
4485
|
* Disallow missing parentheses around multiline JSX
|
|
4476
|
-
* @see https://eslint.style/rules/jsx
|
|
4486
|
+
* @see https://eslint.style/rules/jsx-wrap-multilines
|
|
4477
4487
|
*/
|
|
4478
4488
|
'style/jsx-wrap-multilines'?: Linter.RuleEntry<StyleJsxWrapMultilines>;
|
|
4479
4489
|
/**
|
|
4480
4490
|
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
4481
|
-
* @see https://eslint.style/rules/
|
|
4491
|
+
* @see https://eslint.style/rules/key-spacing
|
|
4482
4492
|
*/
|
|
4483
4493
|
'style/key-spacing'?: Linter.RuleEntry<StyleKeySpacing>;
|
|
4484
4494
|
/**
|
|
4485
4495
|
* Enforce consistent spacing before and after keywords
|
|
4486
|
-
* @see https://eslint.style/rules/
|
|
4496
|
+
* @see https://eslint.style/rules/keyword-spacing
|
|
4487
4497
|
*/
|
|
4488
4498
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>;
|
|
4489
4499
|
/**
|
|
4490
4500
|
* Enforce position of line comments
|
|
4491
|
-
* @see https://eslint.style/rules/
|
|
4501
|
+
* @see https://eslint.style/rules/line-comment-position
|
|
4492
4502
|
*/
|
|
4493
4503
|
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>;
|
|
4494
4504
|
/**
|
|
4495
4505
|
* Enforce consistent linebreak style
|
|
4496
|
-
* @see https://eslint.style/rules/
|
|
4506
|
+
* @see https://eslint.style/rules/linebreak-style
|
|
4497
4507
|
*/
|
|
4498
4508
|
'style/linebreak-style'?: Linter.RuleEntry<StyleLinebreakStyle>;
|
|
4499
4509
|
/**
|
|
4500
4510
|
* Require empty lines around comments
|
|
4501
|
-
* @see https://eslint.style/rules/
|
|
4511
|
+
* @see https://eslint.style/rules/lines-around-comment
|
|
4502
4512
|
*/
|
|
4503
4513
|
'style/lines-around-comment'?: Linter.RuleEntry<StyleLinesAroundComment>;
|
|
4504
4514
|
/**
|
|
4505
4515
|
* Require or disallow an empty line between class members
|
|
4506
|
-
* @see https://eslint.style/rules/
|
|
4516
|
+
* @see https://eslint.style/rules/lines-between-class-members
|
|
4507
4517
|
*/
|
|
4508
4518
|
'style/lines-between-class-members'?: Linter.RuleEntry<StyleLinesBetweenClassMembers>;
|
|
4509
4519
|
/**
|
|
4510
4520
|
* Enforce a maximum line length
|
|
4511
|
-
* @see https://eslint.style/rules/
|
|
4521
|
+
* @see https://eslint.style/rules/max-len
|
|
4512
4522
|
*/
|
|
4513
4523
|
'style/max-len'?: Linter.RuleEntry<StyleMaxLen>;
|
|
4514
4524
|
/**
|
|
4515
4525
|
* Enforce a maximum number of statements allowed per line
|
|
4516
|
-
* @see https://eslint.style/rules/
|
|
4526
|
+
* @see https://eslint.style/rules/max-statements-per-line
|
|
4517
4527
|
*/
|
|
4518
4528
|
'style/max-statements-per-line'?: Linter.RuleEntry<StyleMaxStatementsPerLine>;
|
|
4519
4529
|
/**
|
|
4520
4530
|
* Require a specific member delimiter style for interfaces and type literals
|
|
4521
|
-
* @see https://eslint.style/rules/
|
|
4531
|
+
* @see https://eslint.style/rules/member-delimiter-style
|
|
4522
4532
|
*/
|
|
4523
4533
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>;
|
|
4524
4534
|
/**
|
|
4525
4535
|
* Enforce a particular style for multiline comments
|
|
4526
|
-
* @see https://eslint.style/rules/
|
|
4536
|
+
* @see https://eslint.style/rules/multiline-comment-style
|
|
4527
4537
|
*/
|
|
4528
4538
|
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>;
|
|
4529
4539
|
/**
|
|
4530
4540
|
* Enforce newlines between operands of ternary expressions
|
|
4531
|
-
* @see https://eslint.style/rules/
|
|
4541
|
+
* @see https://eslint.style/rules/multiline-ternary
|
|
4532
4542
|
*/
|
|
4533
4543
|
'style/multiline-ternary'?: Linter.RuleEntry<StyleMultilineTernary>;
|
|
4534
4544
|
/**
|
|
4535
4545
|
* Enforce or disallow parentheses when invoking a constructor with no arguments
|
|
4536
|
-
* @see https://eslint.style/rules/
|
|
4546
|
+
* @see https://eslint.style/rules/new-parens
|
|
4537
4547
|
*/
|
|
4538
4548
|
'style/new-parens'?: Linter.RuleEntry<StyleNewParens>;
|
|
4539
4549
|
/**
|
|
4540
4550
|
* Require a newline after each call in a method chain
|
|
4541
|
-
* @see https://eslint.style/rules/
|
|
4551
|
+
* @see https://eslint.style/rules/newline-per-chained-call
|
|
4542
4552
|
*/
|
|
4543
4553
|
'style/newline-per-chained-call'?: Linter.RuleEntry<StyleNewlinePerChainedCall>;
|
|
4544
4554
|
/**
|
|
4545
4555
|
* Disallow arrow functions where they could be confused with comparisons
|
|
4546
|
-
* @see https://eslint.style/rules/
|
|
4556
|
+
* @see https://eslint.style/rules/no-confusing-arrow
|
|
4547
4557
|
*/
|
|
4548
4558
|
'style/no-confusing-arrow'?: Linter.RuleEntry<StyleNoConfusingArrow>;
|
|
4549
4559
|
/**
|
|
4550
4560
|
* Disallow unnecessary parentheses
|
|
4551
|
-
* @see https://eslint.style/rules/
|
|
4561
|
+
* @see https://eslint.style/rules/no-extra-parens
|
|
4552
4562
|
*/
|
|
4553
4563
|
'style/no-extra-parens'?: Linter.RuleEntry<StyleNoExtraParens>;
|
|
4554
4564
|
/**
|
|
4555
4565
|
* Disallow unnecessary semicolons
|
|
4556
|
-
* @see https://eslint.style/rules/
|
|
4566
|
+
* @see https://eslint.style/rules/no-extra-semi
|
|
4557
4567
|
*/
|
|
4558
4568
|
'style/no-extra-semi'?: Linter.RuleEntry<[]>;
|
|
4559
4569
|
/**
|
|
4560
4570
|
* Disallow leading or trailing decimal points in numeric literals
|
|
4561
|
-
* @see https://eslint.style/rules/
|
|
4571
|
+
* @see https://eslint.style/rules/no-floating-decimal
|
|
4562
4572
|
*/
|
|
4563
4573
|
'style/no-floating-decimal'?: Linter.RuleEntry<[]>;
|
|
4564
4574
|
/**
|
|
4565
4575
|
* Disallow mixed binary operators
|
|
4566
|
-
* @see https://eslint.style/rules/
|
|
4576
|
+
* @see https://eslint.style/rules/no-mixed-operators
|
|
4567
4577
|
*/
|
|
4568
4578
|
'style/no-mixed-operators'?: Linter.RuleEntry<StyleNoMixedOperators>;
|
|
4569
4579
|
/**
|
|
4570
4580
|
* Disallow mixed spaces and tabs for indentation
|
|
4571
|
-
* @see https://eslint.style/rules/
|
|
4581
|
+
* @see https://eslint.style/rules/no-mixed-spaces-and-tabs
|
|
4572
4582
|
*/
|
|
4573
4583
|
'style/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StyleNoMixedSpacesAndTabs>;
|
|
4574
4584
|
/**
|
|
4575
4585
|
* Disallow multiple spaces
|
|
4576
|
-
* @see https://eslint.style/rules/
|
|
4586
|
+
* @see https://eslint.style/rules/no-multi-spaces
|
|
4577
4587
|
*/
|
|
4578
4588
|
'style/no-multi-spaces'?: Linter.RuleEntry<StyleNoMultiSpaces>;
|
|
4579
4589
|
/**
|
|
4580
4590
|
* Disallow multiple empty lines
|
|
4581
|
-
* @see https://eslint.style/rules/
|
|
4591
|
+
* @see https://eslint.style/rules/no-multiple-empty-lines
|
|
4582
4592
|
*/
|
|
4583
4593
|
'style/no-multiple-empty-lines'?: Linter.RuleEntry<StyleNoMultipleEmptyLines>;
|
|
4584
4594
|
/**
|
|
4585
4595
|
* Disallow all tabs
|
|
4586
|
-
* @see https://eslint.style/rules/
|
|
4596
|
+
* @see https://eslint.style/rules/no-tabs
|
|
4587
4597
|
*/
|
|
4588
4598
|
'style/no-tabs'?: Linter.RuleEntry<StyleNoTabs>;
|
|
4589
4599
|
/**
|
|
4590
4600
|
* Disallow trailing whitespace at the end of lines
|
|
4591
|
-
* @see https://eslint.style/rules/
|
|
4601
|
+
* @see https://eslint.style/rules/no-trailing-spaces
|
|
4592
4602
|
*/
|
|
4593
4603
|
'style/no-trailing-spaces'?: Linter.RuleEntry<StyleNoTrailingSpaces>;
|
|
4594
4604
|
/**
|
|
4595
4605
|
* Disallow whitespace before properties
|
|
4596
|
-
* @see https://eslint.style/rules/
|
|
4606
|
+
* @see https://eslint.style/rules/no-whitespace-before-property
|
|
4597
4607
|
*/
|
|
4598
4608
|
'style/no-whitespace-before-property'?: Linter.RuleEntry<[]>;
|
|
4599
4609
|
/**
|
|
4600
4610
|
* Enforce the location of single-line statements
|
|
4601
|
-
* @see https://eslint.style/rules/
|
|
4611
|
+
* @see https://eslint.style/rules/nonblock-statement-body-position
|
|
4602
4612
|
*/
|
|
4603
4613
|
'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>;
|
|
4604
4614
|
/**
|
|
4605
4615
|
* Enforce consistent line breaks after opening and before closing braces
|
|
4606
|
-
* @see https://eslint.style/rules/
|
|
4616
|
+
* @see https://eslint.style/rules/object-curly-newline
|
|
4607
4617
|
*/
|
|
4608
4618
|
'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>;
|
|
4609
4619
|
/**
|
|
4610
4620
|
* Enforce consistent spacing inside braces
|
|
4611
|
-
* @see https://eslint.style/rules/
|
|
4621
|
+
* @see https://eslint.style/rules/object-curly-spacing
|
|
4612
4622
|
*/
|
|
4613
4623
|
'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>;
|
|
4614
4624
|
/**
|
|
4615
4625
|
* Enforce placing object properties on separate lines
|
|
4616
|
-
* @see https://eslint.style/rules/
|
|
4626
|
+
* @see https://eslint.style/rules/object-property-newline
|
|
4617
4627
|
*/
|
|
4618
4628
|
'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>;
|
|
4619
4629
|
/**
|
|
4620
4630
|
* Require or disallow newlines around variable declarations
|
|
4621
|
-
* @see https://eslint.style/rules/
|
|
4631
|
+
* @see https://eslint.style/rules/one-var-declaration-per-line
|
|
4622
4632
|
*/
|
|
4623
4633
|
'style/one-var-declaration-per-line'?: Linter.RuleEntry<StyleOneVarDeclarationPerLine>;
|
|
4624
4634
|
/**
|
|
4625
4635
|
* Enforce consistent linebreak style for operators
|
|
4626
|
-
* @see https://eslint.style/rules/
|
|
4636
|
+
* @see https://eslint.style/rules/operator-linebreak
|
|
4627
4637
|
*/
|
|
4628
4638
|
'style/operator-linebreak'?: Linter.RuleEntry<StyleOperatorLinebreak>;
|
|
4629
4639
|
/**
|
|
4630
4640
|
* Require or disallow padding within blocks
|
|
4631
|
-
* @see https://eslint.style/rules/
|
|
4641
|
+
* @see https://eslint.style/rules/padded-blocks
|
|
4632
4642
|
*/
|
|
4633
4643
|
'style/padded-blocks'?: Linter.RuleEntry<StylePaddedBlocks>;
|
|
4634
4644
|
/**
|
|
4635
4645
|
* Require or disallow padding lines between statements
|
|
4636
|
-
* @see https://eslint.style/rules/
|
|
4646
|
+
* @see https://eslint.style/rules/padding-line-between-statements
|
|
4637
4647
|
*/
|
|
4638
4648
|
'style/padding-line-between-statements'?: Linter.RuleEntry<StylePaddingLineBetweenStatements>;
|
|
4639
4649
|
/**
|
|
4640
4650
|
* Require quotes around object literal, type literal, interfaces and enums property names
|
|
4641
|
-
* @see https://eslint.style/rules/
|
|
4651
|
+
* @see https://eslint.style/rules/quote-props
|
|
4642
4652
|
*/
|
|
4643
4653
|
'style/quote-props'?: Linter.RuleEntry<StyleQuoteProps>;
|
|
4644
4654
|
/**
|
|
4645
4655
|
* Enforce the consistent use of either backticks, double, or single quotes
|
|
4646
|
-
* @see https://eslint.style/rules/
|
|
4656
|
+
* @see https://eslint.style/rules/quotes
|
|
4647
4657
|
*/
|
|
4648
4658
|
'style/quotes'?: Linter.RuleEntry<StyleQuotes>;
|
|
4649
4659
|
/**
|
|
4650
4660
|
* Enforce spacing between rest and spread operators and their expressions
|
|
4651
|
-
* @see https://eslint.style/rules/
|
|
4661
|
+
* @see https://eslint.style/rules/rest-spread-spacing
|
|
4652
4662
|
*/
|
|
4653
4663
|
'style/rest-spread-spacing'?: Linter.RuleEntry<StyleRestSpreadSpacing>;
|
|
4654
4664
|
/**
|
|
4655
4665
|
* Require or disallow semicolons instead of ASI
|
|
4656
|
-
* @see https://eslint.style/rules/
|
|
4666
|
+
* @see https://eslint.style/rules/semi
|
|
4657
4667
|
*/
|
|
4658
4668
|
'style/semi'?: Linter.RuleEntry<StyleSemi>;
|
|
4659
4669
|
/**
|
|
4660
4670
|
* Enforce consistent spacing before and after semicolons
|
|
4661
|
-
* @see https://eslint.style/rules/
|
|
4671
|
+
* @see https://eslint.style/rules/semi-spacing
|
|
4662
4672
|
*/
|
|
4663
4673
|
'style/semi-spacing'?: Linter.RuleEntry<StyleSemiSpacing>;
|
|
4664
4674
|
/**
|
|
4665
4675
|
* Enforce location of semicolons
|
|
4666
|
-
* @see https://eslint.style/rules/
|
|
4676
|
+
* @see https://eslint.style/rules/semi-style
|
|
4667
4677
|
*/
|
|
4668
4678
|
'style/semi-style'?: Linter.RuleEntry<StyleSemiStyle>;
|
|
4669
4679
|
/**
|
|
4670
4680
|
* Enforce consistent spacing before blocks
|
|
4671
|
-
* @see https://eslint.style/rules/
|
|
4681
|
+
* @see https://eslint.style/rules/space-before-blocks
|
|
4672
4682
|
*/
|
|
4673
4683
|
'style/space-before-blocks'?: Linter.RuleEntry<StyleSpaceBeforeBlocks>;
|
|
4674
4684
|
/**
|
|
4675
4685
|
* Enforce consistent spacing before function parenthesis
|
|
4676
|
-
* @see https://eslint.style/rules/
|
|
4686
|
+
* @see https://eslint.style/rules/space-before-function-paren
|
|
4677
4687
|
*/
|
|
4678
4688
|
'style/space-before-function-paren'?: Linter.RuleEntry<StyleSpaceBeforeFunctionParen>;
|
|
4679
4689
|
/**
|
|
4680
4690
|
* Enforce consistent spacing inside parentheses
|
|
4681
|
-
* @see https://eslint.style/rules/
|
|
4691
|
+
* @see https://eslint.style/rules/space-in-parens
|
|
4682
4692
|
*/
|
|
4683
4693
|
'style/space-in-parens'?: Linter.RuleEntry<StyleSpaceInParens>;
|
|
4684
4694
|
/**
|
|
4685
4695
|
* Require spacing around infix operators
|
|
4686
|
-
* @see https://eslint.style/rules/
|
|
4696
|
+
* @see https://eslint.style/rules/space-infix-ops
|
|
4687
4697
|
*/
|
|
4688
4698
|
'style/space-infix-ops'?: Linter.RuleEntry<StyleSpaceInfixOps>;
|
|
4689
4699
|
/**
|
|
4690
4700
|
* Enforce consistent spacing before or after unary operators
|
|
4691
|
-
* @see https://eslint.style/rules/
|
|
4701
|
+
* @see https://eslint.style/rules/space-unary-ops
|
|
4692
4702
|
*/
|
|
4693
4703
|
'style/space-unary-ops'?: Linter.RuleEntry<StyleSpaceUnaryOps>;
|
|
4694
4704
|
/**
|
|
4695
4705
|
* Enforce consistent spacing after the `//` or `/*` in a comment
|
|
4696
|
-
* @see https://eslint.style/rules/
|
|
4706
|
+
* @see https://eslint.style/rules/spaced-comment
|
|
4697
4707
|
*/
|
|
4698
4708
|
'style/spaced-comment'?: Linter.RuleEntry<StyleSpacedComment>;
|
|
4699
4709
|
/**
|
|
4700
4710
|
* Enforce spacing around colons of switch statements
|
|
4701
|
-
* @see https://eslint.style/rules/
|
|
4711
|
+
* @see https://eslint.style/rules/switch-colon-spacing
|
|
4702
4712
|
*/
|
|
4703
4713
|
'style/switch-colon-spacing'?: Linter.RuleEntry<StyleSwitchColonSpacing>;
|
|
4704
4714
|
/**
|
|
4705
4715
|
* Require or disallow spacing around embedded expressions of template strings
|
|
4706
|
-
* @see https://eslint.style/rules/
|
|
4716
|
+
* @see https://eslint.style/rules/template-curly-spacing
|
|
4707
4717
|
*/
|
|
4708
4718
|
'style/template-curly-spacing'?: Linter.RuleEntry<StyleTemplateCurlySpacing>;
|
|
4709
4719
|
/**
|
|
4710
4720
|
* Require or disallow spacing between template tags and their literals
|
|
4711
|
-
* @see https://eslint.style/rules/
|
|
4721
|
+
* @see https://eslint.style/rules/template-tag-spacing
|
|
4712
4722
|
*/
|
|
4713
4723
|
'style/template-tag-spacing'?: Linter.RuleEntry<StyleTemplateTagSpacing>;
|
|
4714
4724
|
/**
|
|
4715
4725
|
* Require consistent spacing around type annotations
|
|
4716
|
-
* @see https://eslint.style/rules/
|
|
4726
|
+
* @see https://eslint.style/rules/type-annotation-spacing
|
|
4717
4727
|
*/
|
|
4718
4728
|
'style/type-annotation-spacing'?: Linter.RuleEntry<StyleTypeAnnotationSpacing>;
|
|
4719
4729
|
/**
|
|
4720
4730
|
* Enforces consistent spacing inside TypeScript type generics
|
|
4721
|
-
* @see https://eslint.style/rules/
|
|
4731
|
+
* @see https://eslint.style/rules/type-generic-spacing
|
|
4722
4732
|
*/
|
|
4723
4733
|
'style/type-generic-spacing'?: Linter.RuleEntry<[]>;
|
|
4724
4734
|
/**
|
|
4725
4735
|
* Expect space before the type declaration in the named tuple
|
|
4726
|
-
* @see https://eslint.style/rules/
|
|
4736
|
+
* @see https://eslint.style/rules/type-named-tuple-spacing
|
|
4727
4737
|
*/
|
|
4728
4738
|
'style/type-named-tuple-spacing'?: Linter.RuleEntry<[]>;
|
|
4729
4739
|
/**
|
|
4730
4740
|
* Require parentheses around immediate `function` invocations
|
|
4731
|
-
* @see https://eslint.style/rules/
|
|
4741
|
+
* @see https://eslint.style/rules/wrap-iife
|
|
4732
4742
|
*/
|
|
4733
4743
|
'style/wrap-iife'?: Linter.RuleEntry<StyleWrapIife>;
|
|
4734
4744
|
/**
|
|
4735
4745
|
* Require parenthesis around regex literals
|
|
4736
|
-
* @see https://eslint.style/rules/
|
|
4746
|
+
* @see https://eslint.style/rules/wrap-regex
|
|
4737
4747
|
*/
|
|
4738
4748
|
'style/wrap-regex'?: Linter.RuleEntry<[]>;
|
|
4739
4749
|
/**
|
|
4740
4750
|
* Require or disallow spacing around the `*` in `yield*` expressions
|
|
4741
|
-
* @see https://eslint.style/rules/
|
|
4751
|
+
* @see https://eslint.style/rules/yield-star-spacing
|
|
4742
4752
|
*/
|
|
4743
4753
|
'style/yield-star-spacing'?: Linter.RuleEntry<StyleYieldStarSpacing>;
|
|
4744
4754
|
/**
|
|
@@ -4814,6 +4824,11 @@ interface RuleOptions {
|
|
|
4814
4824
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
4815
4825
|
*/
|
|
4816
4826
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>;
|
|
4827
|
+
/**
|
|
4828
|
+
* enforce using vitest or vi but not both
|
|
4829
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
4830
|
+
*/
|
|
4831
|
+
'test/consistent-vitest-vi'?: Linter.RuleEntry<TestConsistentVitestVi>;
|
|
4817
4832
|
/**
|
|
4818
4833
|
* enforce having expectation in test body
|
|
4819
4834
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -4890,6 +4905,11 @@ interface RuleOptions {
|
|
|
4890
4905
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
4891
4906
|
*/
|
|
4892
4907
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>;
|
|
4908
|
+
/**
|
|
4909
|
+
* disallow importing Vitest globals
|
|
4910
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
4911
|
+
*/
|
|
4912
|
+
'test/no-importing-vitest-globals'?: Linter.RuleEntry<[]>;
|
|
4893
4913
|
/**
|
|
4894
4914
|
* disallow string interpolation in snapshots
|
|
4895
4915
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -4921,7 +4941,7 @@ interface RuleOptions {
|
|
|
4921
4941
|
*/
|
|
4922
4942
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>;
|
|
4923
4943
|
/**
|
|
4924
|
-
*
|
|
4944
|
+
* disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
4925
4945
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
4926
4946
|
*/
|
|
4927
4947
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>;
|
|
@@ -4970,6 +4990,16 @@ interface RuleOptions {
|
|
|
4970
4990
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4971
4991
|
*/
|
|
4972
4992
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
4993
|
+
/**
|
|
4994
|
+
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
4995
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
4996
|
+
*/
|
|
4997
|
+
'test/prefer-called-once'?: Linter.RuleEntry<[]>;
|
|
4998
|
+
/**
|
|
4999
|
+
* enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
|
|
5000
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
|
|
5001
|
+
*/
|
|
5002
|
+
'test/prefer-called-times'?: Linter.RuleEntry<[]>;
|
|
4973
5003
|
/**
|
|
4974
5004
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
4975
5005
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
@@ -5015,6 +5045,11 @@ interface RuleOptions {
|
|
|
5015
5045
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5016
5046
|
*/
|
|
5017
5047
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
5048
|
+
/**
|
|
5049
|
+
* enforce importing Vitest globals
|
|
5050
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
5051
|
+
*/
|
|
5052
|
+
'test/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>;
|
|
5018
5053
|
/**
|
|
5019
5054
|
* enforce lowercase titles
|
|
5020
5055
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -5130,6 +5165,11 @@ interface RuleOptions {
|
|
|
5130
5165
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
5131
5166
|
*/
|
|
5132
5167
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>;
|
|
5168
|
+
/**
|
|
5169
|
+
* disallow `.todo` usage
|
|
5170
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
|
|
5171
|
+
*/
|
|
5172
|
+
'test/warn-todo'?: Linter.RuleEntry<[]>;
|
|
5133
5173
|
/**
|
|
5134
5174
|
* enforce linebreaks after opening and before closing array brackets
|
|
5135
5175
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
|
|
@@ -8509,6 +8549,7 @@ type JsdocLinesBeforeBlock = [] | [{
|
|
|
8509
8549
|
checkBlockStarts?: boolean;
|
|
8510
8550
|
excludedTags?: string[];
|
|
8511
8551
|
ignoreSameLine?: boolean;
|
|
8552
|
+
ignoreSingleLines?: boolean;
|
|
8512
8553
|
lines?: number;
|
|
8513
8554
|
}];
|
|
8514
8555
|
// ----- jsdoc/match-description -----
|
|
@@ -8552,6 +8593,7 @@ type JsdocMultilineBlocks = [] | [{
|
|
|
8552
8593
|
noMultilineBlocks?: boolean;
|
|
8553
8594
|
noSingleLineBlocks?: boolean;
|
|
8554
8595
|
noZeroLineText?: boolean;
|
|
8596
|
+
requireSingleLineUnderCount?: number;
|
|
8555
8597
|
singleLineTags?: string[];
|
|
8556
8598
|
}];
|
|
8557
8599
|
// ----- jsdoc/no-bad-blocks -----
|
|
@@ -9509,10 +9551,19 @@ type MarkdownNoDuplicateDefinitions = [] | [{
|
|
|
9509
9551
|
allowDefinitions?: string[];
|
|
9510
9552
|
allowFootnoteDefinitions?: string[];
|
|
9511
9553
|
}];
|
|
9554
|
+
// ----- markdown/no-duplicate-headings -----
|
|
9555
|
+
type MarkdownNoDuplicateHeadings = [] | [{
|
|
9556
|
+
checkSiblingsOnly?: boolean;
|
|
9557
|
+
}];
|
|
9512
9558
|
// ----- markdown/no-html -----
|
|
9513
9559
|
type MarkdownNoHtml = [] | [{
|
|
9514
9560
|
allowed?: string[];
|
|
9515
9561
|
}];
|
|
9562
|
+
// ----- markdown/no-missing-link-fragments -----
|
|
9563
|
+
type MarkdownNoMissingLinkFragments = [] | [{
|
|
9564
|
+
ignoreCase?: boolean;
|
|
9565
|
+
allowPattern?: string;
|
|
9566
|
+
}];
|
|
9516
9567
|
// ----- markdown/no-multiple-h1 -----
|
|
9517
9568
|
type MarkdownNoMultipleH1 = [] | [{
|
|
9518
9569
|
frontmatterTitle?: string;
|
|
@@ -9680,6 +9731,7 @@ type NoConstantCondition = [] | [{
|
|
|
9680
9731
|
// ----- no-duplicate-imports -----
|
|
9681
9732
|
type NoDuplicateImports = [] | [{
|
|
9682
9733
|
includeExports?: boolean;
|
|
9734
|
+
allowSeparateTypeImports?: boolean;
|
|
9683
9735
|
}];
|
|
9684
9736
|
// ----- no-else-return -----
|
|
9685
9737
|
type NoElseReturn = [] | [{
|
|
@@ -10406,7 +10458,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10406
10458
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10407
10459
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
10408
10460
|
customGroups?: ({
|
|
10409
|
-
newlinesInside?: ("always" | "never");
|
|
10461
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10410
10462
|
fallbackSort?: {
|
|
10411
10463
|
order?: ("asc" | "desc");
|
|
10412
10464
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10425,7 +10477,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10425
10477
|
} | string));
|
|
10426
10478
|
}[];
|
|
10427
10479
|
} | {
|
|
10428
|
-
newlinesInside?: ("always" | "never");
|
|
10480
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10429
10481
|
fallbackSort?: {
|
|
10430
10482
|
order?: ("asc" | "desc");
|
|
10431
10483
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10474,9 +10526,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10474
10526
|
} | string)));
|
|
10475
10527
|
});
|
|
10476
10528
|
partitionByNewLine?: boolean;
|
|
10477
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10529
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10478
10530
|
groups?: (string | string[] | {
|
|
10479
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10531
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10480
10532
|
commentAbove?: string;
|
|
10481
10533
|
})[];
|
|
10482
10534
|
}[];
|
|
@@ -10493,7 +10545,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10493
10545
|
order?: ("asc" | "desc");
|
|
10494
10546
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10495
10547
|
customGroups?: ({
|
|
10496
|
-
newlinesInside?: ("always" | "never");
|
|
10548
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10497
10549
|
fallbackSort?: {
|
|
10498
10550
|
order?: ("asc" | "desc");
|
|
10499
10551
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10527,7 +10579,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10527
10579
|
} | string));
|
|
10528
10580
|
}[];
|
|
10529
10581
|
} | {
|
|
10530
|
-
newlinesInside?: ("always" | "never");
|
|
10582
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10531
10583
|
fallbackSort?: {
|
|
10532
10584
|
order?: ("asc" | "desc");
|
|
10533
10585
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10589,9 +10641,9 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10589
10641
|
} | string)));
|
|
10590
10642
|
});
|
|
10591
10643
|
partitionByNewLine?: boolean;
|
|
10592
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10644
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10593
10645
|
groups?: (string | string[] | {
|
|
10594
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10646
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10595
10647
|
commentAbove?: string;
|
|
10596
10648
|
})[];
|
|
10597
10649
|
}];
|
|
@@ -10638,7 +10690,7 @@ type PerfectionistSortDecorators = [] | [{
|
|
|
10638
10690
|
[k: string]: (string | string[]) | undefined;
|
|
10639
10691
|
};
|
|
10640
10692
|
groups?: (string | string[] | {
|
|
10641
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10693
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10642
10694
|
commentAbove?: string;
|
|
10643
10695
|
})[];
|
|
10644
10696
|
}];
|
|
@@ -10657,7 +10709,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10657
10709
|
customGroups?: ({
|
|
10658
10710
|
[k: string]: (string | string[]) | undefined;
|
|
10659
10711
|
} | ({
|
|
10660
|
-
newlinesInside?: ("always" | "never");
|
|
10712
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10661
10713
|
fallbackSort?: {
|
|
10662
10714
|
order?: ("asc" | "desc");
|
|
10663
10715
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10682,7 +10734,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10682
10734
|
} | string));
|
|
10683
10735
|
}[];
|
|
10684
10736
|
} | {
|
|
10685
|
-
newlinesInside?: ("always" | "never");
|
|
10737
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10686
10738
|
fallbackSort?: {
|
|
10687
10739
|
order?: ("asc" | "desc");
|
|
10688
10740
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10730,9 +10782,9 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10730
10782
|
} | string)));
|
|
10731
10783
|
});
|
|
10732
10784
|
partitionByNewLine?: boolean;
|
|
10733
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10785
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10734
10786
|
groups?: (string | string[] | {
|
|
10735
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10787
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10736
10788
|
commentAbove?: string;
|
|
10737
10789
|
})[];
|
|
10738
10790
|
}];
|
|
@@ -10750,7 +10802,7 @@ type PerfectionistSortExports = {
|
|
|
10750
10802
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10751
10803
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
10752
10804
|
customGroups?: ({
|
|
10753
|
-
newlinesInside?: ("always" | "never");
|
|
10805
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10754
10806
|
fallbackSort?: {
|
|
10755
10807
|
order?: ("asc" | "desc");
|
|
10756
10808
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10770,7 +10822,7 @@ type PerfectionistSortExports = {
|
|
|
10770
10822
|
} | string));
|
|
10771
10823
|
}[];
|
|
10772
10824
|
} | {
|
|
10773
|
-
newlinesInside?: ("always" | "never");
|
|
10825
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10774
10826
|
fallbackSort?: {
|
|
10775
10827
|
order?: ("asc" | "desc");
|
|
10776
10828
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10811,9 +10863,9 @@ type PerfectionistSortExports = {
|
|
|
10811
10863
|
} | string)));
|
|
10812
10864
|
});
|
|
10813
10865
|
partitionByNewLine?: boolean;
|
|
10814
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10866
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10815
10867
|
groups?: (string | string[] | {
|
|
10816
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10868
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10817
10869
|
commentAbove?: string;
|
|
10818
10870
|
})[];
|
|
10819
10871
|
}[];
|
|
@@ -10833,7 +10885,7 @@ type PerfectionistSortHeritageClauses = [] | [{
|
|
|
10833
10885
|
[k: string]: (string | string[]) | undefined;
|
|
10834
10886
|
};
|
|
10835
10887
|
groups?: (string | string[] | {
|
|
10836
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10888
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10837
10889
|
commentAbove?: string;
|
|
10838
10890
|
})[];
|
|
10839
10891
|
}];
|
|
@@ -10857,7 +10909,7 @@ type PerfectionistSortImports = {
|
|
|
10857
10909
|
[k: string]: (string | string[]) | undefined;
|
|
10858
10910
|
};
|
|
10859
10911
|
} | ({
|
|
10860
|
-
newlinesInside?: ("always" | "never");
|
|
10912
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10861
10913
|
fallbackSort?: {
|
|
10862
10914
|
order?: ("asc" | "desc");
|
|
10863
10915
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10884,7 +10936,7 @@ type PerfectionistSortImports = {
|
|
|
10884
10936
|
} | string));
|
|
10885
10937
|
}[];
|
|
10886
10938
|
} | {
|
|
10887
|
-
newlinesInside?: ("always" | "never");
|
|
10939
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10888
10940
|
fallbackSort?: {
|
|
10889
10941
|
order?: ("asc" | "desc");
|
|
10890
10942
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10940,7 +10992,7 @@ type PerfectionistSortImports = {
|
|
|
10940
10992
|
} | string)));
|
|
10941
10993
|
});
|
|
10942
10994
|
partitionByNewLine?: boolean;
|
|
10943
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10995
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10944
10996
|
internalPattern?: (({
|
|
10945
10997
|
pattern: string;
|
|
10946
10998
|
flags?: string;
|
|
@@ -10949,7 +11001,7 @@ type PerfectionistSortImports = {
|
|
|
10949
11001
|
flags?: string;
|
|
10950
11002
|
} | string));
|
|
10951
11003
|
groups?: (string | string[] | {
|
|
10952
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11004
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10953
11005
|
commentAbove?: string;
|
|
10954
11006
|
})[];
|
|
10955
11007
|
}[];
|
|
@@ -10969,7 +11021,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10969
11021
|
customGroups?: ({
|
|
10970
11022
|
[k: string]: (string | string[]) | undefined;
|
|
10971
11023
|
} | ({
|
|
10972
|
-
newlinesInside?: ("always" | "never");
|
|
11024
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10973
11025
|
fallbackSort?: {
|
|
10974
11026
|
order?: ("asc" | "desc");
|
|
10975
11027
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10998,7 +11050,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10998
11050
|
sortBy?: ("name" | "value");
|
|
10999
11051
|
}[];
|
|
11000
11052
|
} | {
|
|
11001
|
-
newlinesInside?: ("always" | "never");
|
|
11053
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11002
11054
|
fallbackSort?: {
|
|
11003
11055
|
order?: ("asc" | "desc");
|
|
11004
11056
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11065,7 +11117,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11065
11117
|
} | string)));
|
|
11066
11118
|
});
|
|
11067
11119
|
partitionByNewLine?: boolean;
|
|
11068
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11120
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11069
11121
|
ignorePattern?: (({
|
|
11070
11122
|
pattern: string;
|
|
11071
11123
|
flags?: string;
|
|
@@ -11075,7 +11127,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11075
11127
|
} | string));
|
|
11076
11128
|
sortBy?: ("name" | "value");
|
|
11077
11129
|
groups?: (string | string[] | {
|
|
11078
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11130
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11079
11131
|
commentAbove?: string;
|
|
11080
11132
|
})[];
|
|
11081
11133
|
}[];
|
|
@@ -11092,7 +11144,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11092
11144
|
order?: ("asc" | "desc");
|
|
11093
11145
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11094
11146
|
customGroups?: ({
|
|
11095
|
-
newlinesInside?: ("always" | "never");
|
|
11147
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11096
11148
|
fallbackSort?: {
|
|
11097
11149
|
order?: ("asc" | "desc");
|
|
11098
11150
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11111,7 +11163,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11111
11163
|
} | string));
|
|
11112
11164
|
}[];
|
|
11113
11165
|
} | {
|
|
11114
|
-
newlinesInside?: ("always" | "never");
|
|
11166
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11115
11167
|
fallbackSort?: {
|
|
11116
11168
|
order?: ("asc" | "desc");
|
|
11117
11169
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11151,9 +11203,9 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
11151
11203
|
} | string)));
|
|
11152
11204
|
});
|
|
11153
11205
|
partitionByNewLine?: boolean;
|
|
11154
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11206
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11155
11207
|
groups?: (string | string[] | {
|
|
11156
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11208
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11157
11209
|
commentAbove?: string;
|
|
11158
11210
|
})[];
|
|
11159
11211
|
}[];
|
|
@@ -11172,7 +11224,7 @@ type PerfectionistSortJsxProps = {
|
|
|
11172
11224
|
customGroups?: ({
|
|
11173
11225
|
[k: string]: (string | string[]) | undefined;
|
|
11174
11226
|
} | ({
|
|
11175
|
-
newlinesInside?: ("always" | "never");
|
|
11227
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11176
11228
|
fallbackSort?: {
|
|
11177
11229
|
order?: ("asc" | "desc");
|
|
11178
11230
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11199,7 +11251,7 @@ type PerfectionistSortJsxProps = {
|
|
|
11199
11251
|
} | string));
|
|
11200
11252
|
}[];
|
|
11201
11253
|
} | {
|
|
11202
|
-
newlinesInside?: ("always" | "never");
|
|
11254
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11203
11255
|
fallbackSort?: {
|
|
11204
11256
|
order?: ("asc" | "desc");
|
|
11205
11257
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11241,7 +11293,7 @@ type PerfectionistSortJsxProps = {
|
|
|
11241
11293
|
} | string));
|
|
11242
11294
|
};
|
|
11243
11295
|
partitionByNewLine?: boolean;
|
|
11244
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11296
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11245
11297
|
ignorePattern?: (({
|
|
11246
11298
|
pattern: string;
|
|
11247
11299
|
flags?: string;
|
|
@@ -11250,7 +11302,7 @@ type PerfectionistSortJsxProps = {
|
|
|
11250
11302
|
flags?: string;
|
|
11251
11303
|
} | string));
|
|
11252
11304
|
groups?: (string | string[] | {
|
|
11253
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11305
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11254
11306
|
commentAbove?: string;
|
|
11255
11307
|
})[];
|
|
11256
11308
|
}[];
|
|
@@ -11267,7 +11319,7 @@ type PerfectionistSortMaps = {
|
|
|
11267
11319
|
order?: ("asc" | "desc");
|
|
11268
11320
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11269
11321
|
customGroups?: ({
|
|
11270
|
-
newlinesInside?: ("always" | "never");
|
|
11322
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11271
11323
|
fallbackSort?: {
|
|
11272
11324
|
order?: ("asc" | "desc");
|
|
11273
11325
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11285,7 +11337,7 @@ type PerfectionistSortMaps = {
|
|
|
11285
11337
|
} | string));
|
|
11286
11338
|
}[];
|
|
11287
11339
|
} | {
|
|
11288
|
-
newlinesInside?: ("always" | "never");
|
|
11340
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11289
11341
|
fallbackSort?: {
|
|
11290
11342
|
order?: ("asc" | "desc");
|
|
11291
11343
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11333,9 +11385,9 @@ type PerfectionistSortMaps = {
|
|
|
11333
11385
|
} | string)));
|
|
11334
11386
|
});
|
|
11335
11387
|
partitionByNewLine?: boolean;
|
|
11336
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11388
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11337
11389
|
groups?: (string | string[] | {
|
|
11338
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11390
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11339
11391
|
commentAbove?: string;
|
|
11340
11392
|
})[];
|
|
11341
11393
|
}[];
|
|
@@ -11352,7 +11404,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
11352
11404
|
order?: ("asc" | "desc");
|
|
11353
11405
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11354
11406
|
customGroups?: ({
|
|
11355
|
-
newlinesInside?: ("always" | "never");
|
|
11407
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11356
11408
|
fallbackSort?: {
|
|
11357
11409
|
order?: ("asc" | "desc");
|
|
11358
11410
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11379,7 +11431,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
11379
11431
|
} | string));
|
|
11380
11432
|
}[];
|
|
11381
11433
|
} | {
|
|
11382
|
-
newlinesInside?: ("always" | "never");
|
|
11434
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11383
11435
|
fallbackSort?: {
|
|
11384
11436
|
order?: ("asc" | "desc");
|
|
11385
11437
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11427,9 +11479,9 @@ type PerfectionistSortModules = [] | [{
|
|
|
11427
11479
|
} | string)));
|
|
11428
11480
|
});
|
|
11429
11481
|
partitionByNewLine?: boolean;
|
|
11430
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11482
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11431
11483
|
groups?: (string | string[] | {
|
|
11432
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11484
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11433
11485
|
commentAbove?: string;
|
|
11434
11486
|
})[];
|
|
11435
11487
|
}];
|
|
@@ -11448,7 +11500,7 @@ type PerfectionistSortNamedExports = {
|
|
|
11448
11500
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11449
11501
|
ignoreAlias?: boolean;
|
|
11450
11502
|
customGroups?: ({
|
|
11451
|
-
newlinesInside?: ("always" | "never");
|
|
11503
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11452
11504
|
fallbackSort?: {
|
|
11453
11505
|
order?: ("asc" | "desc");
|
|
11454
11506
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11468,7 +11520,7 @@ type PerfectionistSortNamedExports = {
|
|
|
11468
11520
|
} | string));
|
|
11469
11521
|
}[];
|
|
11470
11522
|
} | {
|
|
11471
|
-
newlinesInside?: ("always" | "never");
|
|
11523
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11472
11524
|
fallbackSort?: {
|
|
11473
11525
|
order?: ("asc" | "desc");
|
|
11474
11526
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11509,9 +11561,9 @@ type PerfectionistSortNamedExports = {
|
|
|
11509
11561
|
} | string)));
|
|
11510
11562
|
});
|
|
11511
11563
|
partitionByNewLine?: boolean;
|
|
11512
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11564
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11513
11565
|
groups?: (string | string[] | {
|
|
11514
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11566
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11515
11567
|
commentAbove?: string;
|
|
11516
11568
|
})[];
|
|
11517
11569
|
}[];
|
|
@@ -11530,7 +11582,7 @@ type PerfectionistSortNamedImports = {
|
|
|
11530
11582
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11531
11583
|
ignoreAlias?: boolean;
|
|
11532
11584
|
customGroups?: ({
|
|
11533
|
-
newlinesInside?: ("always" | "never");
|
|
11585
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11534
11586
|
fallbackSort?: {
|
|
11535
11587
|
order?: ("asc" | "desc");
|
|
11536
11588
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11550,7 +11602,7 @@ type PerfectionistSortNamedImports = {
|
|
|
11550
11602
|
} | string));
|
|
11551
11603
|
}[];
|
|
11552
11604
|
} | {
|
|
11553
|
-
newlinesInside?: ("always" | "never");
|
|
11605
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11554
11606
|
fallbackSort?: {
|
|
11555
11607
|
order?: ("asc" | "desc");
|
|
11556
11608
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11591,9 +11643,9 @@ type PerfectionistSortNamedImports = {
|
|
|
11591
11643
|
} | string)));
|
|
11592
11644
|
});
|
|
11593
11645
|
partitionByNewLine?: boolean;
|
|
11594
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11646
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11595
11647
|
groups?: (string | string[] | {
|
|
11596
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11648
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11597
11649
|
commentAbove?: string;
|
|
11598
11650
|
})[];
|
|
11599
11651
|
}[];
|
|
@@ -11613,7 +11665,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11613
11665
|
customGroups?: ({
|
|
11614
11666
|
[k: string]: (string | string[]) | undefined;
|
|
11615
11667
|
} | ({
|
|
11616
|
-
newlinesInside?: ("always" | "never");
|
|
11668
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11617
11669
|
fallbackSort?: {
|
|
11618
11670
|
order?: ("asc" | "desc");
|
|
11619
11671
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11642,7 +11694,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11642
11694
|
sortBy?: ("name" | "value");
|
|
11643
11695
|
}[];
|
|
11644
11696
|
} | {
|
|
11645
|
-
newlinesInside?: ("always" | "never");
|
|
11697
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11646
11698
|
fallbackSort?: {
|
|
11647
11699
|
order?: ("asc" | "desc");
|
|
11648
11700
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11709,7 +11761,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11709
11761
|
} | string)));
|
|
11710
11762
|
});
|
|
11711
11763
|
partitionByNewLine?: boolean;
|
|
11712
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11764
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11713
11765
|
ignorePattern?: (({
|
|
11714
11766
|
pattern: string;
|
|
11715
11767
|
flags?: string;
|
|
@@ -11719,7 +11771,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11719
11771
|
} | string));
|
|
11720
11772
|
sortBy?: ("name" | "value");
|
|
11721
11773
|
groups?: (string | string[] | {
|
|
11722
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11774
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11723
11775
|
commentAbove?: string;
|
|
11724
11776
|
})[];
|
|
11725
11777
|
}[];
|
|
@@ -11741,7 +11793,7 @@ type PerfectionistSortObjects = {
|
|
|
11741
11793
|
customGroups?: ({
|
|
11742
11794
|
[k: string]: (string | string[]) | undefined;
|
|
11743
11795
|
} | ({
|
|
11744
|
-
newlinesInside?: ("always" | "never");
|
|
11796
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11745
11797
|
fallbackSort?: {
|
|
11746
11798
|
order?: ("asc" | "desc");
|
|
11747
11799
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11768,7 +11820,7 @@ type PerfectionistSortObjects = {
|
|
|
11768
11820
|
} | string));
|
|
11769
11821
|
}[];
|
|
11770
11822
|
} | {
|
|
11771
|
-
newlinesInside?: ("always" | "never");
|
|
11823
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11772
11824
|
fallbackSort?: {
|
|
11773
11825
|
order?: ("asc" | "desc");
|
|
11774
11826
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11835,7 +11887,7 @@ type PerfectionistSortObjects = {
|
|
|
11835
11887
|
} | string)));
|
|
11836
11888
|
});
|
|
11837
11889
|
partitionByNewLine?: boolean;
|
|
11838
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11890
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11839
11891
|
ignorePattern?: (({
|
|
11840
11892
|
pattern: string;
|
|
11841
11893
|
flags?: string;
|
|
@@ -11844,7 +11896,7 @@ type PerfectionistSortObjects = {
|
|
|
11844
11896
|
flags?: string;
|
|
11845
11897
|
} | string));
|
|
11846
11898
|
groups?: (string | string[] | {
|
|
11847
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11899
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11848
11900
|
commentAbove?: string;
|
|
11849
11901
|
})[];
|
|
11850
11902
|
}[];
|
|
@@ -11862,7 +11914,7 @@ type PerfectionistSortSets = {
|
|
|
11862
11914
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11863
11915
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
11864
11916
|
customGroups?: ({
|
|
11865
|
-
newlinesInside?: ("always" | "never");
|
|
11917
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11866
11918
|
fallbackSort?: {
|
|
11867
11919
|
order?: ("asc" | "desc");
|
|
11868
11920
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11881,7 +11933,7 @@ type PerfectionistSortSets = {
|
|
|
11881
11933
|
} | string));
|
|
11882
11934
|
}[];
|
|
11883
11935
|
} | {
|
|
11884
|
-
newlinesInside?: ("always" | "never");
|
|
11936
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11885
11937
|
fallbackSort?: {
|
|
11886
11938
|
order?: ("asc" | "desc");
|
|
11887
11939
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11930,9 +11982,9 @@ type PerfectionistSortSets = {
|
|
|
11930
11982
|
} | string)));
|
|
11931
11983
|
});
|
|
11932
11984
|
partitionByNewLine?: boolean;
|
|
11933
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11985
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11934
11986
|
groups?: (string | string[] | {
|
|
11935
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11987
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11936
11988
|
commentAbove?: string;
|
|
11937
11989
|
})[];
|
|
11938
11990
|
}[];
|
|
@@ -11962,7 +12014,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11962
12014
|
order?: ("asc" | "desc");
|
|
11963
12015
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11964
12016
|
customGroups?: ({
|
|
11965
|
-
newlinesInside?: ("always" | "never");
|
|
12017
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11966
12018
|
fallbackSort?: {
|
|
11967
12019
|
order?: ("asc" | "desc");
|
|
11968
12020
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11981,7 +12033,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11981
12033
|
} | string));
|
|
11982
12034
|
}[];
|
|
11983
12035
|
} | {
|
|
11984
|
-
newlinesInside?: ("always" | "never");
|
|
12036
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11985
12037
|
fallbackSort?: {
|
|
11986
12038
|
order?: ("asc" | "desc");
|
|
11987
12039
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -12021,9 +12073,9 @@ type PerfectionistSortUnionTypes = {
|
|
|
12021
12073
|
} | string)));
|
|
12022
12074
|
});
|
|
12023
12075
|
partitionByNewLine?: boolean;
|
|
12024
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
12076
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12025
12077
|
groups?: (string | string[] | {
|
|
12026
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
12078
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12027
12079
|
commentAbove?: string;
|
|
12028
12080
|
})[];
|
|
12029
12081
|
}[];
|
|
@@ -12040,7 +12092,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12040
12092
|
order?: ("asc" | "desc");
|
|
12041
12093
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
12042
12094
|
customGroups?: ({
|
|
12043
|
-
newlinesInside?: ("always" | "never");
|
|
12095
|
+
newlinesInside?: (("always" | "never") | number);
|
|
12044
12096
|
fallbackSort?: {
|
|
12045
12097
|
order?: ("asc" | "desc");
|
|
12046
12098
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -12059,7 +12111,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12059
12111
|
} | string));
|
|
12060
12112
|
}[];
|
|
12061
12113
|
} | {
|
|
12062
|
-
newlinesInside?: ("always" | "never");
|
|
12114
|
+
newlinesInside?: (("always" | "never") | number);
|
|
12063
12115
|
fallbackSort?: {
|
|
12064
12116
|
order?: ("asc" | "desc");
|
|
12065
12117
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -12099,9 +12151,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
12099
12151
|
} | string)));
|
|
12100
12152
|
});
|
|
12101
12153
|
partitionByNewLine?: boolean;
|
|
12102
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
12154
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12103
12155
|
groups?: (string | string[] | {
|
|
12104
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
12156
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
12105
12157
|
commentAbove?: string;
|
|
12106
12158
|
})[];
|
|
12107
12159
|
}];
|
|
@@ -12586,16 +12638,6 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
12586
12638
|
minElements?: number;
|
|
12587
12639
|
consistent?: boolean;
|
|
12588
12640
|
});
|
|
12589
|
-
TSEnumBody?: (("always" | "never") | {
|
|
12590
|
-
multiline?: boolean;
|
|
12591
|
-
minElements?: number;
|
|
12592
|
-
consistent?: boolean;
|
|
12593
|
-
});
|
|
12594
|
-
TSInterfaceBody?: (("always" | "never") | {
|
|
12595
|
-
multiline?: boolean;
|
|
12596
|
-
minElements?: number;
|
|
12597
|
-
consistent?: boolean;
|
|
12598
|
-
});
|
|
12599
12641
|
TSModuleBlock?: (("always" | "never") | {
|
|
12600
12642
|
multiline?: boolean;
|
|
12601
12643
|
minElements?: number;
|
|
@@ -12609,14 +12651,6 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
12609
12651
|
type StyleDotLocation = [] | [("object" | "property")];
|
|
12610
12652
|
// ----- style/eol-last -----
|
|
12611
12653
|
type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
12612
|
-
// ----- style/func-call-spacing -----
|
|
12613
|
-
type StyleFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
12614
|
-
allowNewlines?: boolean;
|
|
12615
|
-
optionalChain?: {
|
|
12616
|
-
before?: boolean;
|
|
12617
|
-
after?: boolean;
|
|
12618
|
-
};
|
|
12619
|
-
}]);
|
|
12620
12654
|
// ----- style/function-call-argument-newline -----
|
|
12621
12655
|
type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
12622
12656
|
// ----- style/function-call-spacing -----
|
|
@@ -12657,6 +12691,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
12657
12691
|
var?: (number | ("first" | "off"));
|
|
12658
12692
|
let?: (number | ("first" | "off"));
|
|
12659
12693
|
const?: (number | ("first" | "off"));
|
|
12694
|
+
using?: (number | ("first" | "off"));
|
|
12660
12695
|
});
|
|
12661
12696
|
outerIIFEBody?: (number | "off");
|
|
12662
12697
|
MemberExpression?: (number | "off");
|
|
@@ -12791,8 +12826,8 @@ type StyleJsxSortProps = [] | [{
|
|
|
12791
12826
|
multiline?: ("ignore" | "first" | "last");
|
|
12792
12827
|
ignoreCase?: boolean;
|
|
12793
12828
|
noSortAlphabetically?: boolean;
|
|
12794
|
-
reservedFirst?: (
|
|
12795
|
-
reservedLast?:
|
|
12829
|
+
reservedFirst?: (string[] | boolean);
|
|
12830
|
+
reservedLast?: string[];
|
|
12796
12831
|
locale?: string;
|
|
12797
12832
|
}];
|
|
12798
12833
|
// ----- style/jsx-tag-spacing -----
|
|
@@ -13137,6 +13172,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
13137
13172
|
before?: boolean;
|
|
13138
13173
|
after?: boolean;
|
|
13139
13174
|
};
|
|
13175
|
+
using?: {
|
|
13176
|
+
before?: boolean;
|
|
13177
|
+
after?: boolean;
|
|
13178
|
+
};
|
|
13140
13179
|
yield?: {
|
|
13141
13180
|
before?: boolean;
|
|
13142
13181
|
after?: boolean;
|
|
@@ -13339,6 +13378,11 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
13339
13378
|
enforceForFunctionPrototypeMethods?: boolean;
|
|
13340
13379
|
allowParensAfterCommentPattern?: string;
|
|
13341
13380
|
nestedConditionalExpressions?: boolean;
|
|
13381
|
+
allowNodesInSpreadElement?: {
|
|
13382
|
+
ConditionalExpression?: boolean;
|
|
13383
|
+
LogicalExpression?: boolean;
|
|
13384
|
+
AwaitExpression?: boolean;
|
|
13385
|
+
};
|
|
13342
13386
|
}]);
|
|
13343
13387
|
// ----- style/no-mixed-operators -----
|
|
13344
13388
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -13416,6 +13460,11 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
13416
13460
|
minProperties?: number;
|
|
13417
13461
|
consistent?: boolean;
|
|
13418
13462
|
});
|
|
13463
|
+
TSEnumBody?: (("always" | "never") | {
|
|
13464
|
+
multiline?: boolean;
|
|
13465
|
+
minProperties?: number;
|
|
13466
|
+
consistent?: boolean;
|
|
13467
|
+
});
|
|
13419
13468
|
})];
|
|
13420
13469
|
// ----- style/object-curly-spacing -----
|
|
13421
13470
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
@@ -13425,7 +13474,6 @@ type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never
|
|
|
13425
13474
|
// ----- style/object-property-newline -----
|
|
13426
13475
|
type StyleObjectPropertyNewline = [] | [{
|
|
13427
13476
|
allowAllPropertiesOnSameLine?: boolean;
|
|
13428
|
-
allowMultiplePropertiesPerLine?: boolean;
|
|
13429
13477
|
}];
|
|
13430
13478
|
// ----- style/one-var-declaration-per-line -----
|
|
13431
13479
|
type StyleOneVarDeclarationPerLine = [] | [("always" | "initializations")];
|
|
@@ -13449,7 +13497,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
13449
13497
|
}];
|
|
13450
13498
|
// ----- style/padding-line-between-statements -----
|
|
13451
13499
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
13452
|
-
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"))[]]);
|
|
13500
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "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"))[]]);
|
|
13453
13501
|
type StylePaddingLineBetweenStatements = {
|
|
13454
13502
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
13455
13503
|
prev: _StylePaddingLineBetweenStatementsStatementType;
|
|
@@ -13488,12 +13536,14 @@ type StyleSpaceBeforeBlocks = [] | [(("always" | "never") | {
|
|
|
13488
13536
|
keywords?: ("always" | "never" | "off");
|
|
13489
13537
|
functions?: ("always" | "never" | "off");
|
|
13490
13538
|
classes?: ("always" | "never" | "off");
|
|
13539
|
+
modules?: ("always" | "never" | "off");
|
|
13491
13540
|
})];
|
|
13492
13541
|
// ----- style/space-before-function-paren -----
|
|
13493
13542
|
type StyleSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
|
|
13494
13543
|
anonymous?: ("always" | "never" | "ignore");
|
|
13495
13544
|
named?: ("always" | "never" | "ignore");
|
|
13496
13545
|
asyncArrow?: ("always" | "never" | "ignore");
|
|
13546
|
+
catch?: ("always" | "never" | "ignore");
|
|
13497
13547
|
})];
|
|
13498
13548
|
// ----- style/space-in-parens -----
|
|
13499
13549
|
type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
@@ -13664,6 +13714,10 @@ type TestConsistentTestIt = [] | [{
|
|
|
13664
13714
|
fn?: ("test" | "it");
|
|
13665
13715
|
withinDescribe?: ("test" | "it");
|
|
13666
13716
|
}];
|
|
13717
|
+
// ----- test/consistent-vitest-vi -----
|
|
13718
|
+
type TestConsistentVitestVi = [] | [{
|
|
13719
|
+
fn?: ("vi" | "vitest");
|
|
13720
|
+
}];
|
|
13667
13721
|
// ----- test/expect-expect -----
|
|
13668
13722
|
type TestExpectExpect = [] | [{
|
|
13669
13723
|
assertFunctionNames?: string[];
|
|
@@ -14331,6 +14385,7 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
14331
14385
|
}
|
|
14332
14386
|
// ----- ts/no-base-to-string -----
|
|
14333
14387
|
type TsNoBaseToString = [] | [{
|
|
14388
|
+
checkUnknown?: boolean;
|
|
14334
14389
|
ignoredTypeNames?: string[];
|
|
14335
14390
|
}];
|
|
14336
14391
|
// ----- ts/no-confusing-void-expression -----
|