@kitschpatrol/eslint-config 5.0.5 → 5.0.7
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/bin/cli.js +24 -14
- package/dist/index.d.ts +2051 -440
- package/dist/index.js +53 -21
- package/package.json +28 -28
package/dist/index.d.ts
CHANGED
|
@@ -1326,6 +1326,10 @@ interface RuleOptions {
|
|
|
1326
1326
|
* Requires the `author` property to be present.
|
|
1327
1327
|
*/
|
|
1328
1328
|
'json-package/require-author'?: Linter.RuleEntry<[]>
|
|
1329
|
+
/**
|
|
1330
|
+
* Requires the `files` property to be present.
|
|
1331
|
+
*/
|
|
1332
|
+
'json-package/require-files'?: Linter.RuleEntry<[]>
|
|
1329
1333
|
/**
|
|
1330
1334
|
* Requires the `keywords` property to be present.
|
|
1331
1335
|
*/
|
|
@@ -3233,6 +3237,11 @@ interface RuleOptions {
|
|
|
3233
3237
|
* @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
|
|
3234
3238
|
*/
|
|
3235
3239
|
'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
|
|
3240
|
+
/**
|
|
3241
|
+
* warns against using `flushSync`
|
|
3242
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
|
|
3243
|
+
*/
|
|
3244
|
+
'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
|
|
3236
3245
|
/**
|
|
3237
3246
|
* enforce that button component have an explicit 'type' attribute
|
|
3238
3247
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
|
|
@@ -3333,6 +3342,11 @@ interface RuleOptions {
|
|
|
3333
3342
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
3334
3343
|
*/
|
|
3335
3344
|
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
3345
|
+
/**
|
|
3346
|
+
* enforce context name to end with `Context`.
|
|
3347
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
3348
|
+
*/
|
|
3349
|
+
'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
3336
3350
|
/**
|
|
3337
3351
|
* enforce naming convention for JSX filenames
|
|
3338
3352
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
@@ -3344,7 +3358,7 @@ interface RuleOptions {
|
|
|
3344
3358
|
*/
|
|
3345
3359
|
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
|
|
3346
3360
|
/**
|
|
3347
|
-
* enforce destructuring and symmetric naming of 'useState' hook value and setter
|
|
3361
|
+
* enforce destructuring and symmetric naming of 'useState' hook value and setter
|
|
3348
3362
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
3349
3363
|
*/
|
|
3350
3364
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
@@ -3389,7 +3403,7 @@ interface RuleOptions {
|
|
|
3389
3403
|
*/
|
|
3390
3404
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3391
3405
|
/**
|
|
3392
|
-
*
|
|
3406
|
+
* marks variables used in JSX as used
|
|
3393
3407
|
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3394
3408
|
*/
|
|
3395
3409
|
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
@@ -3523,6 +3537,11 @@ interface RuleOptions {
|
|
|
3523
3537
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
3524
3538
|
*/
|
|
3525
3539
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
3540
|
+
/**
|
|
3541
|
+
* require 'displayName' for contexts.
|
|
3542
|
+
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
3543
|
+
*/
|
|
3544
|
+
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
|
|
3526
3545
|
/**
|
|
3527
3546
|
* require 'key' when rendering list
|
|
3528
3547
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
@@ -3604,7 +3623,7 @@ interface RuleOptions {
|
|
|
3604
3623
|
*/
|
|
3605
3624
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
3606
3625
|
/**
|
|
3607
|
-
* disallow
|
|
3626
|
+
* disallow useless fragments
|
|
3608
3627
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3609
3628
|
*/
|
|
3610
3629
|
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
@@ -3634,7 +3653,7 @@ interface RuleOptions {
|
|
|
3634
3653
|
*/
|
|
3635
3654
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3636
3655
|
/**
|
|
3637
|
-
*
|
|
3656
|
+
* marks variables used in JSX as used
|
|
3638
3657
|
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3639
3658
|
*/
|
|
3640
3659
|
'react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
@@ -4169,6 +4188,11 @@ interface RuleOptions {
|
|
|
4169
4188
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/comment-directive/
|
|
4170
4189
|
*/
|
|
4171
4190
|
'svelte/comment-directive'?: Linter.RuleEntry<SvelteCommentDirective>
|
|
4191
|
+
/**
|
|
4192
|
+
* enforce a consistent style for CSS selectors
|
|
4193
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/consistent-selector-style/
|
|
4194
|
+
*/
|
|
4195
|
+
'svelte/consistent-selector-style'?: Linter.RuleEntry<SvelteConsistentSelectorStyle>
|
|
4172
4196
|
/**
|
|
4173
4197
|
* derived store should use same variable names between values and callback
|
|
4174
4198
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/derived-has-same-inputs-outputs/
|
|
@@ -4267,6 +4291,7 @@ interface RuleOptions {
|
|
|
4267
4291
|
/**
|
|
4268
4292
|
* disallow dynamic slot name
|
|
4269
4293
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/
|
|
4294
|
+
* @deprecated
|
|
4270
4295
|
*/
|
|
4271
4296
|
'svelte/no-dynamic-slot-name'?: Linter.RuleEntry<[]>
|
|
4272
4297
|
/**
|
|
@@ -4282,6 +4307,7 @@ interface RuleOptions {
|
|
|
4282
4307
|
/**
|
|
4283
4308
|
* disallow using goto() without the base path
|
|
4284
4309
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-goto-without-base/
|
|
4310
|
+
* @deprecated
|
|
4285
4311
|
*/
|
|
4286
4312
|
'svelte/no-goto-without-base'?: Linter.RuleEntry<[]>
|
|
4287
4313
|
/**
|
|
@@ -4309,6 +4335,11 @@ interface RuleOptions {
|
|
|
4309
4335
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/
|
|
4310
4336
|
*/
|
|
4311
4337
|
'svelte/no-inspect'?: Linter.RuleEntry<[]>
|
|
4338
|
+
/**
|
|
4339
|
+
* disallow using navigation (links, goto, pushState, replaceState) without the base path
|
|
4340
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-base/
|
|
4341
|
+
*/
|
|
4342
|
+
'svelte/no-navigation-without-base'?: Linter.RuleEntry<SvelteNoNavigationWithoutBase>
|
|
4312
4343
|
/**
|
|
4313
4344
|
* disallow use of not function in event handler
|
|
4314
4345
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -4319,6 +4350,11 @@ interface RuleOptions {
|
|
|
4319
4350
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/
|
|
4320
4351
|
*/
|
|
4321
4352
|
'svelte/no-object-in-text-mustaches'?: Linter.RuleEntry<[]>
|
|
4353
|
+
/**
|
|
4354
|
+
* Checks for invalid raw HTML elements
|
|
4355
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-raw-special-elements/
|
|
4356
|
+
*/
|
|
4357
|
+
'svelte/no-raw-special-elements'?: Linter.RuleEntry<[]>
|
|
4322
4358
|
/**
|
|
4323
4359
|
* it's not necessary to define functions in reactive statements
|
|
4324
4360
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-functions/
|
|
@@ -4384,6 +4420,11 @@ interface RuleOptions {
|
|
|
4384
4420
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-svelte-ignore/
|
|
4385
4421
|
*/
|
|
4386
4422
|
'svelte/no-unused-svelte-ignore'?: Linter.RuleEntry<[]>
|
|
4423
|
+
/**
|
|
4424
|
+
* disallow explicit children snippet where it's not needed
|
|
4425
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-children-snippet/
|
|
4426
|
+
*/
|
|
4427
|
+
'svelte/no-useless-children-snippet'?: Linter.RuleEntry<[]>
|
|
4387
4428
|
/**
|
|
4388
4429
|
* disallow unnecessary mustache interpolations
|
|
4389
4430
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/
|
|
@@ -4394,6 +4435,11 @@ interface RuleOptions {
|
|
|
4394
4435
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-class-directive/
|
|
4395
4436
|
*/
|
|
4396
4437
|
'svelte/prefer-class-directive'?: Linter.RuleEntry<SveltePreferClassDirective>
|
|
4438
|
+
/**
|
|
4439
|
+
* Require `const` declarations for variables that are never reassigned after declared
|
|
4440
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-const/
|
|
4441
|
+
*/
|
|
4442
|
+
'svelte/prefer-const'?: Linter.RuleEntry<SveltePreferConst>
|
|
4397
4443
|
/**
|
|
4398
4444
|
* destructure values from object stores for better change tracking & fewer redraws
|
|
4399
4445
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-destructured-store-props/
|
|
@@ -4474,6 +4520,11 @@ interface RuleOptions {
|
|
|
4474
4520
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-prop-names-in-kit-pages/
|
|
4475
4521
|
*/
|
|
4476
4522
|
'svelte/valid-prop-names-in-kit-pages'?: Linter.RuleEntry<[]>
|
|
4523
|
+
/**
|
|
4524
|
+
* require valid style element parsing
|
|
4525
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-style-parse/
|
|
4526
|
+
*/
|
|
4527
|
+
'svelte/valid-style-parse'?: Linter.RuleEntry<[]>
|
|
4477
4528
|
/**
|
|
4478
4529
|
* Enforce spacing around colons of switch statements
|
|
4479
4530
|
* @see https://eslint.org/docs/latest/rules/switch-colon-spacing
|
|
@@ -5146,7 +5197,7 @@ interface RuleOptions {
|
|
|
5146
5197
|
*/
|
|
5147
5198
|
'ts/no-for-in-array'?: Linter.RuleEntry<[]>
|
|
5148
5199
|
/**
|
|
5149
|
-
* Disallow the use of `eval()`-like
|
|
5200
|
+
* Disallow the use of `eval()`-like functions
|
|
5150
5201
|
* @see https://typescript-eslint.io/rules/no-implied-eval
|
|
5151
5202
|
*/
|
|
5152
5203
|
'ts/no-implied-eval'?: Linter.RuleEntry<[]>
|
|
@@ -5597,702 +5648,642 @@ interface RuleOptions {
|
|
|
5597
5648
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5598
5649
|
/**
|
|
5599
5650
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
|
|
5601
5652
|
*/
|
|
5602
5653
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5603
5654
|
/**
|
|
5604
5655
|
* Enforce a specific parameter name in catch clauses.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
|
|
5606
5657
|
*/
|
|
5607
5658
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5659
|
+
/**
|
|
5660
|
+
* Enforce consistent assertion style with `node:assert`.
|
|
5661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
|
|
5662
|
+
*/
|
|
5663
|
+
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
5664
|
+
/**
|
|
5665
|
+
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
|
|
5667
|
+
*/
|
|
5668
|
+
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
5608
5669
|
/**
|
|
5609
5670
|
* Use destructured variables over properties.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
|
|
5611
5672
|
*/
|
|
5612
5673
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5613
5674
|
/**
|
|
5614
5675
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5616
5677
|
*/
|
|
5617
5678
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5618
5679
|
/**
|
|
5619
5680
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
|
|
5621
5682
|
*/
|
|
5622
5683
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5623
5684
|
/**
|
|
5624
5685
|
* Move function definitions to the highest possible scope.
|
|
5625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
|
|
5626
5687
|
*/
|
|
5627
5688
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5628
5689
|
/**
|
|
5629
5690
|
* Enforce correct `Error` subclassing.
|
|
5630
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
|
|
5631
5692
|
*/
|
|
5632
5693
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5633
5694
|
/**
|
|
5634
5695
|
* Enforce no spaces between braces.
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
|
|
5636
5697
|
*/
|
|
5637
5698
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5638
5699
|
/**
|
|
5639
5700
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
|
|
5641
5702
|
*/
|
|
5642
5703
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5643
5704
|
/**
|
|
5644
5705
|
* Require escape sequences to use uppercase values.
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
|
|
5646
5707
|
*/
|
|
5647
5708
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5648
5709
|
/**
|
|
5649
5710
|
* Add expiration conditions to TODO comments.
|
|
5650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
|
|
5651
5712
|
*/
|
|
5652
5713
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5653
5714
|
/**
|
|
5654
5715
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
|
|
5656
5717
|
*/
|
|
5657
5718
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5658
5719
|
/**
|
|
5659
5720
|
* Enforce a case style for filenames.
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
|
|
5661
5722
|
*/
|
|
5662
5723
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5663
|
-
/**
|
|
5664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
5665
|
-
* @deprecated
|
|
5666
|
-
*/
|
|
5667
|
-
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5668
5724
|
/**
|
|
5669
5725
|
* Enforce specific import styles per module.
|
|
5670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
|
|
5671
5727
|
*/
|
|
5672
5728
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5673
5729
|
/**
|
|
5674
5730
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
|
|
5676
5732
|
*/
|
|
5677
5733
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5678
5734
|
/**
|
|
5679
5735
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5681
5737
|
*/
|
|
5682
5738
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5739
|
+
/**
|
|
5740
|
+
* Disallow recursive access to `this` within getters and setters.
|
|
5741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
|
|
5742
|
+
*/
|
|
5743
|
+
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
5683
5744
|
/**
|
|
5684
5745
|
* Disallow anonymous functions and classes as the default export.
|
|
5685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
|
|
5686
5747
|
*/
|
|
5687
5748
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5688
5749
|
/**
|
|
5689
5750
|
* Prevent passing a function reference directly to iterator methods.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
|
|
5691
5752
|
*/
|
|
5692
5753
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5693
5754
|
/**
|
|
5694
5755
|
* Prefer `for…of` over the `forEach` method.
|
|
5695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
|
|
5696
5757
|
*/
|
|
5697
5758
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5698
|
-
/**
|
|
5699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
5700
|
-
* @deprecated
|
|
5701
|
-
*/
|
|
5702
|
-
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5703
5759
|
/**
|
|
5704
5760
|
* Disallow using the `this` argument in array methods.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
|
|
5706
5762
|
*/
|
|
5707
5763
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5708
5764
|
/**
|
|
5709
5765
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
|
|
5711
5767
|
*/
|
|
5712
5768
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5713
5769
|
/**
|
|
5714
5770
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
|
|
5716
5772
|
*/
|
|
5717
5773
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5718
5774
|
/**
|
|
5719
5775
|
* Disallow member access from await expression.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
|
|
5721
5777
|
*/
|
|
5722
5778
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5723
5779
|
/**
|
|
5724
5780
|
* Disallow using `await` in `Promise` method parameters.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5726
5782
|
*/
|
|
5727
5783
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5728
5784
|
/**
|
|
5729
5785
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
|
|
5731
5787
|
*/
|
|
5732
5788
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5733
5789
|
/**
|
|
5734
5790
|
* Do not use `document.cookie` directly.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
|
|
5736
5792
|
*/
|
|
5737
5793
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5738
5794
|
/**
|
|
5739
5795
|
* Disallow empty files.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
|
|
5741
5797
|
*/
|
|
5742
5798
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5743
|
-
/**
|
|
5744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5745
|
-
* @deprecated
|
|
5746
|
-
*/
|
|
5747
|
-
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5748
5799
|
/**
|
|
5749
5800
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
|
|
5751
5802
|
*/
|
|
5752
5803
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5753
5804
|
/**
|
|
5754
5805
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
|
|
5756
5807
|
*/
|
|
5757
5808
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5758
5809
|
/**
|
|
5759
|
-
*
|
|
5760
|
-
* @
|
|
5810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
5811
|
+
* @deprecated
|
|
5761
5812
|
*/
|
|
5762
5813
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5814
|
+
/**
|
|
5815
|
+
* Disallow `instanceof` with built-in objects
|
|
5816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
|
|
5817
|
+
*/
|
|
5818
|
+
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5763
5819
|
/**
|
|
5764
5820
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5766
5822
|
*/
|
|
5767
5823
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5768
5824
|
/**
|
|
5769
5825
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5771
5827
|
*/
|
|
5772
5828
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5773
5829
|
/**
|
|
5774
5830
|
* Disallow identifiers starting with `new` or `class`.
|
|
5775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
|
|
5776
5832
|
*/
|
|
5777
5833
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5778
5834
|
/**
|
|
5779
5835
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
|
|
5781
5837
|
*/
|
|
5782
5838
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5783
5839
|
/**
|
|
5784
5840
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5785
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
|
|
5786
5842
|
*/
|
|
5787
5843
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5788
5844
|
/**
|
|
5789
5845
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5791
5847
|
*/
|
|
5792
5848
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5849
|
+
/**
|
|
5850
|
+
* Disallow named usage of default import and export.
|
|
5851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
|
|
5852
|
+
*/
|
|
5853
|
+
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5793
5854
|
/**
|
|
5794
5855
|
* Disallow negated conditions.
|
|
5795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
|
|
5796
5857
|
*/
|
|
5797
5858
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5798
5859
|
/**
|
|
5799
5860
|
* Disallow negated expression in equality check.
|
|
5800
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5801
5862
|
*/
|
|
5802
5863
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5803
5864
|
/**
|
|
5804
5865
|
* Disallow nested ternary expressions.
|
|
5805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
|
|
5806
5867
|
*/
|
|
5807
5868
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5808
5869
|
/**
|
|
5809
5870
|
* Disallow `new Array()`.
|
|
5810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
|
|
5811
5872
|
*/
|
|
5812
5873
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5813
5874
|
/**
|
|
5814
5875
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
|
|
5816
5877
|
*/
|
|
5817
5878
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5818
5879
|
/**
|
|
5819
5880
|
* Disallow the use of the `null` literal.
|
|
5820
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
|
|
5821
5882
|
*/
|
|
5822
5883
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5823
5884
|
/**
|
|
5824
5885
|
* Disallow the use of objects as default parameters.
|
|
5825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5826
5887
|
*/
|
|
5827
5888
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5828
5889
|
/**
|
|
5829
5890
|
* Disallow `process.exit()`.
|
|
5830
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
|
|
5831
5892
|
*/
|
|
5832
5893
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5833
|
-
/**
|
|
5834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
5835
|
-
* @deprecated
|
|
5836
|
-
*/
|
|
5837
|
-
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5838
5894
|
/**
|
|
5839
5895
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5841
5897
|
*/
|
|
5842
5898
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5843
5899
|
/**
|
|
5844
5900
|
* Disallow classes that only have static members.
|
|
5845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
|
|
5846
5902
|
*/
|
|
5847
5903
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5848
5904
|
/**
|
|
5849
5905
|
* Disallow `then` property.
|
|
5850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
|
|
5851
5907
|
*/
|
|
5852
5908
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5853
5909
|
/**
|
|
5854
5910
|
* Disallow assigning `this` to a variable.
|
|
5855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
|
|
5856
5912
|
*/
|
|
5857
5913
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5858
5914
|
/**
|
|
5859
5915
|
* Disallow comparing `undefined` using `typeof`.
|
|
5860
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
|
|
5861
5917
|
*/
|
|
5862
5918
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5863
5919
|
/**
|
|
5864
5920
|
* Disallow awaiting non-promise values.
|
|
5865
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
|
|
5866
5922
|
*/
|
|
5867
5923
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5868
5924
|
/**
|
|
5869
5925
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5870
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5871
5927
|
*/
|
|
5872
5928
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5873
5929
|
/**
|
|
5874
5930
|
* Disallow unreadable array destructuring.
|
|
5875
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5876
5932
|
*/
|
|
5877
5933
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5878
5934
|
/**
|
|
5879
5935
|
* Disallow unreadable IIFEs.
|
|
5880
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
|
|
5881
5937
|
*/
|
|
5882
5938
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5883
|
-
/**
|
|
5884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
5885
|
-
* @deprecated
|
|
5886
|
-
*/
|
|
5887
|
-
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5888
5939
|
/**
|
|
5889
5940
|
* Disallow unused object properties.
|
|
5890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
|
|
5891
5942
|
*/
|
|
5892
5943
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5893
5944
|
/**
|
|
5894
5945
|
* Disallow useless fallback when spreading in object literals.
|
|
5895
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5896
5947
|
*/
|
|
5897
5948
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5898
5949
|
/**
|
|
5899
5950
|
* Disallow useless array length check.
|
|
5900
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
|
|
5901
5952
|
*/
|
|
5902
5953
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5903
5954
|
/**
|
|
5904
5955
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5905
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5906
5957
|
*/
|
|
5907
5958
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5908
5959
|
/**
|
|
5909
5960
|
* Disallow unnecessary spread.
|
|
5910
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
|
|
5911
5962
|
*/
|
|
5912
5963
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5913
5964
|
/**
|
|
5914
5965
|
* Disallow useless case in switch statements.
|
|
5915
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
|
|
5916
5967
|
*/
|
|
5917
5968
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5918
5969
|
/**
|
|
5919
5970
|
* Disallow useless `undefined`.
|
|
5920
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
|
|
5921
5972
|
*/
|
|
5922
5973
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5923
5974
|
/**
|
|
5924
5975
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5925
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
|
|
5926
5977
|
*/
|
|
5927
5978
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5928
5979
|
/**
|
|
5929
5980
|
* Enforce proper case for numeric literals.
|
|
5930
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
|
|
5931
5982
|
*/
|
|
5932
5983
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5933
5984
|
/**
|
|
5934
5985
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5935
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
|
|
5936
5987
|
*/
|
|
5937
5988
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5938
5989
|
/**
|
|
5939
5990
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5940
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
|
|
5941
5992
|
*/
|
|
5942
5993
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5943
5994
|
/**
|
|
5944
5995
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5945
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
|
|
5946
5997
|
*/
|
|
5947
5998
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5948
5999
|
/**
|
|
5949
6000
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5950
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
|
|
5951
6002
|
*/
|
|
5952
6003
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5953
6004
|
/**
|
|
5954
6005
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5955
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
|
|
5956
6007
|
*/
|
|
5957
6008
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5958
6009
|
/**
|
|
5959
6010
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5960
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
|
|
5961
6012
|
*/
|
|
5962
6013
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5963
6014
|
/**
|
|
5964
6015
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5965
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
|
|
5966
6017
|
*/
|
|
5967
6018
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5968
6019
|
/**
|
|
5969
6020
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5970
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
|
|
5971
6022
|
*/
|
|
5972
6023
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5973
6024
|
/**
|
|
5974
6025
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5976
6027
|
*/
|
|
5977
6028
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5978
6029
|
/**
|
|
5979
6030
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
|
|
5981
6032
|
*/
|
|
5982
6033
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5983
|
-
/**
|
|
5984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
5985
|
-
* @deprecated
|
|
5986
|
-
*/
|
|
5987
|
-
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5988
6034
|
/**
|
|
5989
6035
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
|
|
5991
6037
|
*/
|
|
5992
6038
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5993
6039
|
/**
|
|
5994
6040
|
* Prefer default parameters over reassignment.
|
|
5995
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
|
|
5996
6042
|
*/
|
|
5997
6043
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5998
6044
|
/**
|
|
5999
6045
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
|
|
6001
6047
|
*/
|
|
6002
6048
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6003
6049
|
/**
|
|
6004
6050
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
6006
6052
|
*/
|
|
6007
6053
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6008
6054
|
/**
|
|
6009
6055
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
|
|
6011
6057
|
*/
|
|
6012
6058
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6013
6059
|
/**
|
|
6014
6060
|
* Prefer `.textContent` over `.innerText`.
|
|
6015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
6016
6062
|
*/
|
|
6017
6063
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6018
|
-
/**
|
|
6019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
6020
|
-
* @deprecated
|
|
6021
|
-
*/
|
|
6022
|
-
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6023
6064
|
/**
|
|
6024
6065
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-event-target.md
|
|
6026
6067
|
*/
|
|
6027
6068
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6028
|
-
/**
|
|
6029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
6030
|
-
* @deprecated
|
|
6031
|
-
*/
|
|
6032
|
-
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6033
6069
|
/**
|
|
6034
6070
|
* Prefer `export…from` when re-exporting.
|
|
6035
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
|
|
6036
6072
|
*/
|
|
6037
6073
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6038
|
-
/**
|
|
6039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
6040
|
-
* @deprecated
|
|
6041
|
-
*/
|
|
6042
|
-
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6043
6074
|
/**
|
|
6044
6075
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6045
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
|
|
6046
6077
|
*/
|
|
6047
6078
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6048
6079
|
/**
|
|
6049
6080
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
|
|
6051
6082
|
*/
|
|
6052
6083
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6053
6084
|
/**
|
|
6054
6085
|
* Prefer reading a JSON file as a buffer.
|
|
6055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
6056
6087
|
*/
|
|
6057
6088
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6058
6089
|
/**
|
|
6059
6090
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
6061
6092
|
*/
|
|
6062
6093
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6063
6094
|
/**
|
|
6064
6095
|
* Prefer using a logical operator over a ternary.
|
|
6065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6066
6097
|
*/
|
|
6067
6098
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6068
6099
|
/**
|
|
6069
6100
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6070
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
|
|
6071
6102
|
*/
|
|
6072
6103
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6073
6104
|
/**
|
|
6074
6105
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6075
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
|
|
6076
6107
|
*/
|
|
6077
6108
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6078
6109
|
/**
|
|
6079
6110
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
6081
6112
|
*/
|
|
6082
6113
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6083
6114
|
/**
|
|
6084
6115
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
|
|
6086
6117
|
*/
|
|
6087
6118
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6088
6119
|
/**
|
|
6089
6120
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
|
|
6091
6122
|
*/
|
|
6092
6123
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6093
6124
|
/**
|
|
6094
6125
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
6096
6127
|
*/
|
|
6097
6128
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6098
6129
|
/**
|
|
6099
6130
|
* Prefer negative index over `.length - index` when possible.
|
|
6100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
|
|
6101
6132
|
*/
|
|
6102
6133
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6103
|
-
/**
|
|
6104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
6105
|
-
* @deprecated
|
|
6106
|
-
*/
|
|
6107
|
-
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6108
6134
|
/**
|
|
6109
6135
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
|
|
6111
6137
|
*/
|
|
6112
6138
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6113
|
-
/**
|
|
6114
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
6115
|
-
* @deprecated
|
|
6116
|
-
*/
|
|
6117
|
-
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6118
6139
|
/**
|
|
6119
6140
|
* Prefer `Number` static properties over global ones.
|
|
6120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
|
|
6121
6142
|
*/
|
|
6122
6143
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6123
6144
|
/**
|
|
6124
6145
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
|
|
6126
6147
|
*/
|
|
6127
6148
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6128
|
-
/**
|
|
6129
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
6130
|
-
* @deprecated
|
|
6131
|
-
*/
|
|
6132
|
-
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6133
6149
|
/**
|
|
6134
6150
|
* Prefer omitting the `catch` binding parameter.
|
|
6135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
6136
6152
|
*/
|
|
6137
6153
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6138
6154
|
/**
|
|
6139
6155
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
|
|
6141
6157
|
*/
|
|
6142
6158
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6143
6159
|
/**
|
|
6144
6160
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6145
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
|
|
6146
6162
|
*/
|
|
6147
6163
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6148
6164
|
/**
|
|
6149
6165
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
|
|
6151
6167
|
*/
|
|
6152
6168
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6153
6169
|
/**
|
|
6154
6170
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6155
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
|
|
6156
6172
|
*/
|
|
6157
6173
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6158
|
-
/**
|
|
6159
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
6160
|
-
* @deprecated
|
|
6161
|
-
*/
|
|
6162
|
-
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6163
6174
|
/**
|
|
6164
6175
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6165
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
|
|
6166
6177
|
*/
|
|
6167
6178
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6168
6179
|
/**
|
|
6169
6180
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
|
|
6171
6182
|
*/
|
|
6172
6183
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6173
6184
|
/**
|
|
6174
6185
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
|
|
6176
6187
|
*/
|
|
6177
6188
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6178
|
-
/**
|
|
6179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
6180
|
-
* @deprecated
|
|
6181
|
-
*/
|
|
6182
|
-
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6183
6189
|
/**
|
|
6184
6190
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
|
|
6186
6192
|
*/
|
|
6187
6193
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6188
6194
|
/**
|
|
6189
6195
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
|
|
6191
6197
|
*/
|
|
6192
6198
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6193
6199
|
/**
|
|
6194
6200
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
|
|
6196
6202
|
*/
|
|
6197
6203
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6198
6204
|
/**
|
|
6199
6205
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6200
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
6201
6207
|
*/
|
|
6202
6208
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6203
6209
|
/**
|
|
6204
6210
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
6206
6212
|
*/
|
|
6207
6213
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6208
6214
|
/**
|
|
6209
6215
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
|
|
6211
6217
|
*/
|
|
6212
6218
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6213
6219
|
/**
|
|
6214
6220
|
* Prefer `switch` over multiple `else-if`.
|
|
6215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
|
|
6216
6222
|
*/
|
|
6217
6223
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6218
6224
|
/**
|
|
6219
6225
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
|
|
6221
6227
|
*/
|
|
6222
6228
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6223
|
-
/**
|
|
6224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
6225
|
-
* @deprecated
|
|
6226
|
-
*/
|
|
6227
|
-
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6228
6229
|
/**
|
|
6229
6230
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
|
|
6231
6232
|
*/
|
|
6232
6233
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6233
|
-
/**
|
|
6234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6235
|
-
* @deprecated
|
|
6236
|
-
*/
|
|
6237
|
-
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6238
6234
|
/**
|
|
6239
6235
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
|
|
6241
6237
|
*/
|
|
6242
6238
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6243
6239
|
/**
|
|
6244
6240
|
* Prevent abbreviations.
|
|
6245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
|
|
6246
6242
|
*/
|
|
6247
6243
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6248
|
-
/**
|
|
6249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
6250
|
-
* @deprecated
|
|
6251
|
-
*/
|
|
6252
|
-
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6253
6244
|
/**
|
|
6254
6245
|
* Enforce consistent relative URL style.
|
|
6255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
|
|
6256
6247
|
*/
|
|
6257
6248
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6258
6249
|
/**
|
|
6259
6250
|
* Enforce using the separator argument with `Array#join()`.
|
|
6260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
|
|
6261
6252
|
*/
|
|
6262
6253
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6263
6254
|
/**
|
|
6264
6255
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6266
6257
|
*/
|
|
6267
6258
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6268
6259
|
/**
|
|
6269
6260
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
|
|
6271
6262
|
*/
|
|
6272
6263
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6273
6264
|
/**
|
|
6274
6265
|
* Enforce better string content.
|
|
6275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
|
|
6276
6267
|
*/
|
|
6277
6268
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6278
6269
|
/**
|
|
6279
6270
|
* Enforce consistent brace style for `case` clauses.
|
|
6280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
|
|
6281
6272
|
*/
|
|
6282
6273
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6283
6274
|
/**
|
|
6284
6275
|
* Fix whitespace-insensitive template indentation.
|
|
6285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
|
|
6286
6277
|
*/
|
|
6287
6278
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6288
6279
|
/**
|
|
6289
6280
|
* Enforce consistent case for text encoding identifiers.
|
|
6290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
|
|
6291
6282
|
*/
|
|
6292
6283
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6293
6284
|
/**
|
|
6294
6285
|
* Require `new` when creating an error.
|
|
6295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
|
|
6296
6287
|
*/
|
|
6297
6288
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6298
6289
|
/**
|
|
@@ -11276,7 +11267,23 @@ type NodeNoSync =
|
|
|
11276
11267
|
| [
|
|
11277
11268
|
{
|
|
11278
11269
|
allowAtRootLevel?: boolean
|
|
11279
|
-
ignores?:
|
|
11270
|
+
ignores?: (
|
|
11271
|
+
| string
|
|
11272
|
+
| {
|
|
11273
|
+
from?: 'file'
|
|
11274
|
+
path?: string
|
|
11275
|
+
name?: string[]
|
|
11276
|
+
}
|
|
11277
|
+
| {
|
|
11278
|
+
from?: 'lib'
|
|
11279
|
+
name?: string[]
|
|
11280
|
+
}
|
|
11281
|
+
| {
|
|
11282
|
+
from?: 'package'
|
|
11283
|
+
package?: string
|
|
11284
|
+
name?: string[]
|
|
11285
|
+
}
|
|
11286
|
+
)[]
|
|
11280
11287
|
},
|
|
11281
11288
|
]
|
|
11282
11289
|
// ----- node/no-unpublished-bin -----
|
|
@@ -14085,6 +14092,13 @@ type PaddingLineBetweenStatements = {
|
|
|
14085
14092
|
type PerfectionistSortArrayIncludes = {
|
|
14086
14093
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14087
14094
|
|
|
14095
|
+
fallbackSort?: {
|
|
14096
|
+
order?: 'asc' | 'desc'
|
|
14097
|
+
|
|
14098
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14099
|
+
[k: string]: unknown | undefined
|
|
14100
|
+
}
|
|
14101
|
+
|
|
14088
14102
|
ignoreCase?: boolean
|
|
14089
14103
|
|
|
14090
14104
|
alphabet?: string
|
|
@@ -14093,6 +14107,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14093
14107
|
|
|
14094
14108
|
order?: 'asc' | 'desc'
|
|
14095
14109
|
|
|
14110
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14111
|
+
|
|
14096
14112
|
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
14097
14113
|
|
|
14098
14114
|
customGroups?: (
|
|
@@ -14107,7 +14123,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14107
14123
|
anyOf?: {
|
|
14108
14124
|
selector?: 'literal' | 'spread'
|
|
14109
14125
|
|
|
14110
|
-
elementNamePattern?:
|
|
14126
|
+
elementNamePattern?:
|
|
14127
|
+
| (
|
|
14128
|
+
| {
|
|
14129
|
+
pattern?: string
|
|
14130
|
+
flags?: string
|
|
14131
|
+
}
|
|
14132
|
+
| string
|
|
14133
|
+
)[]
|
|
14134
|
+
| (
|
|
14135
|
+
| {
|
|
14136
|
+
pattern?: string
|
|
14137
|
+
flags?: string
|
|
14138
|
+
}
|
|
14139
|
+
| string
|
|
14140
|
+
)
|
|
14111
14141
|
}[]
|
|
14112
14142
|
}
|
|
14113
14143
|
| {
|
|
@@ -14121,23 +14151,96 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14121
14151
|
|
|
14122
14152
|
selector?: 'literal' | 'spread'
|
|
14123
14153
|
|
|
14124
|
-
elementNamePattern?:
|
|
14154
|
+
elementNamePattern?:
|
|
14155
|
+
| (
|
|
14156
|
+
| {
|
|
14157
|
+
pattern?: string
|
|
14158
|
+
flags?: string
|
|
14159
|
+
}
|
|
14160
|
+
| string
|
|
14161
|
+
)[]
|
|
14162
|
+
| (
|
|
14163
|
+
| {
|
|
14164
|
+
pattern?: string
|
|
14165
|
+
flags?: string
|
|
14166
|
+
}
|
|
14167
|
+
| string
|
|
14168
|
+
)
|
|
14125
14169
|
}
|
|
14126
14170
|
)[]
|
|
14127
14171
|
useConfigurationIf?: {
|
|
14128
|
-
allNamesMatchPattern?:
|
|
14172
|
+
allNamesMatchPattern?:
|
|
14173
|
+
| (
|
|
14174
|
+
| {
|
|
14175
|
+
pattern?: string
|
|
14176
|
+
flags?: string
|
|
14177
|
+
}
|
|
14178
|
+
| string
|
|
14179
|
+
)[]
|
|
14180
|
+
| (
|
|
14181
|
+
| {
|
|
14182
|
+
pattern?: string
|
|
14183
|
+
flags?: string
|
|
14184
|
+
}
|
|
14185
|
+
| string
|
|
14186
|
+
)
|
|
14129
14187
|
}
|
|
14130
14188
|
|
|
14131
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14132
|
-
|
|
14133
14189
|
partitionByComment?:
|
|
14134
|
-
| string[]
|
|
14135
14190
|
| boolean
|
|
14136
|
-
|
|
|
14191
|
+
| (
|
|
14192
|
+
| (
|
|
14193
|
+
| {
|
|
14194
|
+
pattern?: string
|
|
14195
|
+
flags?: string
|
|
14196
|
+
}
|
|
14197
|
+
| string
|
|
14198
|
+
)[]
|
|
14199
|
+
| (
|
|
14200
|
+
| {
|
|
14201
|
+
pattern?: string
|
|
14202
|
+
flags?: string
|
|
14203
|
+
}
|
|
14204
|
+
| string
|
|
14205
|
+
)
|
|
14206
|
+
)
|
|
14137
14207
|
| {
|
|
14138
|
-
block?:
|
|
14139
|
-
|
|
14140
|
-
|
|
14208
|
+
block?:
|
|
14209
|
+
| boolean
|
|
14210
|
+
| (
|
|
14211
|
+
| (
|
|
14212
|
+
| {
|
|
14213
|
+
pattern?: string
|
|
14214
|
+
flags?: string
|
|
14215
|
+
}
|
|
14216
|
+
| string
|
|
14217
|
+
)[]
|
|
14218
|
+
| (
|
|
14219
|
+
| {
|
|
14220
|
+
pattern?: string
|
|
14221
|
+
flags?: string
|
|
14222
|
+
}
|
|
14223
|
+
| string
|
|
14224
|
+
)
|
|
14225
|
+
)
|
|
14226
|
+
line?:
|
|
14227
|
+
| boolean
|
|
14228
|
+
| (
|
|
14229
|
+
| (
|
|
14230
|
+
| {
|
|
14231
|
+
pattern?: string
|
|
14232
|
+
flags?: string
|
|
14233
|
+
}
|
|
14234
|
+
| string
|
|
14235
|
+
)[]
|
|
14236
|
+
| (
|
|
14237
|
+
| {
|
|
14238
|
+
pattern?: string
|
|
14239
|
+
flags?: string
|
|
14240
|
+
}
|
|
14241
|
+
| string
|
|
14242
|
+
)
|
|
14243
|
+
)
|
|
14141
14244
|
}
|
|
14142
14245
|
|
|
14143
14246
|
partitionByNewLine?: boolean
|
|
@@ -14149,7 +14252,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14149
14252
|
| string[]
|
|
14150
14253
|
| {
|
|
14151
14254
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14152
|
-
[k: string]: unknown | undefined
|
|
14153
14255
|
}
|
|
14154
14256
|
)[]
|
|
14155
14257
|
}[]
|
|
@@ -14160,6 +14262,13 @@ type PerfectionistSortClasses =
|
|
|
14160
14262
|
{
|
|
14161
14263
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14162
14264
|
|
|
14265
|
+
fallbackSort?: {
|
|
14266
|
+
order?: 'asc' | 'desc'
|
|
14267
|
+
|
|
14268
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14269
|
+
[k: string]: unknown | undefined
|
|
14270
|
+
}
|
|
14271
|
+
|
|
14163
14272
|
ignoreCase?: boolean
|
|
14164
14273
|
|
|
14165
14274
|
alphabet?: string
|
|
@@ -14168,7 +14277,7 @@ type PerfectionistSortClasses =
|
|
|
14168
14277
|
|
|
14169
14278
|
order?: 'asc' | 'desc'
|
|
14170
14279
|
|
|
14171
|
-
|
|
14280
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14172
14281
|
|
|
14173
14282
|
customGroups?: (
|
|
14174
14283
|
| {
|
|
@@ -14180,8 +14289,6 @@ type PerfectionistSortClasses =
|
|
|
14180
14289
|
|
|
14181
14290
|
newlinesInside?: 'always' | 'never'
|
|
14182
14291
|
anyOf?: {
|
|
14183
|
-
decoratorNamePattern?: string
|
|
14184
|
-
|
|
14185
14292
|
modifiers?: (
|
|
14186
14293
|
| 'async'
|
|
14187
14294
|
| 'protected'
|
|
@@ -14207,9 +14314,53 @@ type PerfectionistSortClasses =
|
|
|
14207
14314
|
| 'property'
|
|
14208
14315
|
| 'method'
|
|
14209
14316
|
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14317
|
+
decoratorNamePattern?:
|
|
14318
|
+
| (
|
|
14319
|
+
| {
|
|
14320
|
+
pattern?: string
|
|
14321
|
+
flags?: string
|
|
14322
|
+
}
|
|
14323
|
+
| string
|
|
14324
|
+
)[]
|
|
14325
|
+
| (
|
|
14326
|
+
| {
|
|
14327
|
+
pattern?: string
|
|
14328
|
+
flags?: string
|
|
14329
|
+
}
|
|
14330
|
+
| string
|
|
14331
|
+
)
|
|
14332
|
+
|
|
14333
|
+
elementValuePattern?:
|
|
14334
|
+
| (
|
|
14335
|
+
| {
|
|
14336
|
+
pattern?: string
|
|
14337
|
+
flags?: string
|
|
14338
|
+
}
|
|
14339
|
+
| string
|
|
14340
|
+
)[]
|
|
14341
|
+
| (
|
|
14342
|
+
| {
|
|
14343
|
+
pattern?: string
|
|
14344
|
+
flags?: string
|
|
14345
|
+
}
|
|
14346
|
+
| string
|
|
14347
|
+
)
|
|
14348
|
+
|
|
14349
|
+
elementNamePattern?:
|
|
14350
|
+
| (
|
|
14351
|
+
| {
|
|
14352
|
+
pattern?: string
|
|
14353
|
+
flags?: string
|
|
14354
|
+
}
|
|
14355
|
+
| string
|
|
14356
|
+
)[]
|
|
14357
|
+
| (
|
|
14358
|
+
| {
|
|
14359
|
+
pattern?: string
|
|
14360
|
+
flags?: string
|
|
14361
|
+
}
|
|
14362
|
+
| string
|
|
14363
|
+
)
|
|
14213
14364
|
}[]
|
|
14214
14365
|
}
|
|
14215
14366
|
| {
|
|
@@ -14221,8 +14372,6 @@ type PerfectionistSortClasses =
|
|
|
14221
14372
|
|
|
14222
14373
|
newlinesInside?: 'always' | 'never'
|
|
14223
14374
|
|
|
14224
|
-
decoratorNamePattern?: string
|
|
14225
|
-
|
|
14226
14375
|
modifiers?: (
|
|
14227
14376
|
| 'async'
|
|
14228
14377
|
| 'protected'
|
|
@@ -14248,34 +14397,138 @@ type PerfectionistSortClasses =
|
|
|
14248
14397
|
| 'property'
|
|
14249
14398
|
| 'method'
|
|
14250
14399
|
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14400
|
+
decoratorNamePattern?:
|
|
14401
|
+
| (
|
|
14402
|
+
| {
|
|
14403
|
+
pattern?: string
|
|
14404
|
+
flags?: string
|
|
14405
|
+
}
|
|
14406
|
+
| string
|
|
14407
|
+
)[]
|
|
14408
|
+
| (
|
|
14409
|
+
| {
|
|
14410
|
+
pattern?: string
|
|
14411
|
+
flags?: string
|
|
14412
|
+
}
|
|
14413
|
+
| string
|
|
14414
|
+
)
|
|
14415
|
+
|
|
14416
|
+
elementValuePattern?:
|
|
14417
|
+
| (
|
|
14418
|
+
| {
|
|
14419
|
+
pattern?: string
|
|
14420
|
+
flags?: string
|
|
14421
|
+
}
|
|
14422
|
+
| string
|
|
14423
|
+
)[]
|
|
14424
|
+
| (
|
|
14425
|
+
| {
|
|
14426
|
+
pattern?: string
|
|
14427
|
+
flags?: string
|
|
14428
|
+
}
|
|
14429
|
+
| string
|
|
14430
|
+
)
|
|
14431
|
+
|
|
14432
|
+
elementNamePattern?:
|
|
14433
|
+
| (
|
|
14434
|
+
| {
|
|
14435
|
+
pattern?: string
|
|
14436
|
+
flags?: string
|
|
14437
|
+
}
|
|
14438
|
+
| string
|
|
14439
|
+
)[]
|
|
14440
|
+
| (
|
|
14441
|
+
| {
|
|
14442
|
+
pattern?: string
|
|
14443
|
+
flags?: string
|
|
14444
|
+
}
|
|
14445
|
+
| string
|
|
14446
|
+
)
|
|
14254
14447
|
}
|
|
14255
14448
|
)[]
|
|
14256
14449
|
|
|
14450
|
+
ignoreCallbackDependenciesPatterns?:
|
|
14451
|
+
| (
|
|
14452
|
+
| {
|
|
14453
|
+
pattern?: string
|
|
14454
|
+
flags?: string
|
|
14455
|
+
}
|
|
14456
|
+
| string
|
|
14457
|
+
)[]
|
|
14458
|
+
| (
|
|
14459
|
+
| {
|
|
14460
|
+
pattern?: string
|
|
14461
|
+
flags?: string
|
|
14462
|
+
}
|
|
14463
|
+
| string
|
|
14464
|
+
)
|
|
14465
|
+
|
|
14257
14466
|
partitionByComment?:
|
|
14258
|
-
| string[]
|
|
14259
14467
|
| boolean
|
|
14260
|
-
|
|
|
14468
|
+
| (
|
|
14469
|
+
| (
|
|
14470
|
+
| {
|
|
14471
|
+
pattern?: string
|
|
14472
|
+
flags?: string
|
|
14473
|
+
}
|
|
14474
|
+
| string
|
|
14475
|
+
)[]
|
|
14476
|
+
| (
|
|
14477
|
+
| {
|
|
14478
|
+
pattern?: string
|
|
14479
|
+
flags?: string
|
|
14480
|
+
}
|
|
14481
|
+
| string
|
|
14482
|
+
)
|
|
14483
|
+
)
|
|
14261
14484
|
| {
|
|
14262
|
-
block?:
|
|
14263
|
-
|
|
14264
|
-
|
|
14485
|
+
block?:
|
|
14486
|
+
| boolean
|
|
14487
|
+
| (
|
|
14488
|
+
| (
|
|
14489
|
+
| {
|
|
14490
|
+
pattern?: string
|
|
14491
|
+
flags?: string
|
|
14492
|
+
}
|
|
14493
|
+
| string
|
|
14494
|
+
)[]
|
|
14495
|
+
| (
|
|
14496
|
+
| {
|
|
14497
|
+
pattern?: string
|
|
14498
|
+
flags?: string
|
|
14499
|
+
}
|
|
14500
|
+
| string
|
|
14501
|
+
)
|
|
14502
|
+
)
|
|
14503
|
+
line?:
|
|
14504
|
+
| boolean
|
|
14505
|
+
| (
|
|
14506
|
+
| (
|
|
14507
|
+
| {
|
|
14508
|
+
pattern?: string
|
|
14509
|
+
flags?: string
|
|
14510
|
+
}
|
|
14511
|
+
| string
|
|
14512
|
+
)[]
|
|
14513
|
+
| (
|
|
14514
|
+
| {
|
|
14515
|
+
pattern?: string
|
|
14516
|
+
flags?: string
|
|
14517
|
+
}
|
|
14518
|
+
| string
|
|
14519
|
+
)
|
|
14520
|
+
)
|
|
14265
14521
|
}
|
|
14266
14522
|
|
|
14267
14523
|
partitionByNewLine?: boolean
|
|
14268
14524
|
|
|
14269
14525
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14270
14526
|
|
|
14271
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14272
|
-
|
|
14273
14527
|
groups?: (
|
|
14274
14528
|
| string
|
|
14275
14529
|
| string[]
|
|
14276
14530
|
| {
|
|
14277
14531
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14278
|
-
[k: string]: unknown | undefined
|
|
14279
14532
|
}
|
|
14280
14533
|
)[]
|
|
14281
14534
|
},
|
|
@@ -14287,6 +14540,13 @@ type PerfectionistSortDecorators =
|
|
|
14287
14540
|
{
|
|
14288
14541
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14289
14542
|
|
|
14543
|
+
fallbackSort?: {
|
|
14544
|
+
order?: 'asc' | 'desc'
|
|
14545
|
+
|
|
14546
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14547
|
+
[k: string]: unknown | undefined
|
|
14548
|
+
}
|
|
14549
|
+
|
|
14290
14550
|
ignoreCase?: boolean
|
|
14291
14551
|
|
|
14292
14552
|
alphabet?: string
|
|
@@ -14295,6 +14555,8 @@ type PerfectionistSortDecorators =
|
|
|
14295
14555
|
|
|
14296
14556
|
order?: 'asc' | 'desc'
|
|
14297
14557
|
|
|
14558
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14559
|
+
|
|
14298
14560
|
sortOnParameters?: boolean
|
|
14299
14561
|
|
|
14300
14562
|
sortOnProperties?: boolean
|
|
@@ -14306,27 +14568,71 @@ type PerfectionistSortDecorators =
|
|
|
14306
14568
|
sortOnClasses?: boolean
|
|
14307
14569
|
|
|
14308
14570
|
partitionByComment?:
|
|
14309
|
-
| string[]
|
|
14310
14571
|
| boolean
|
|
14311
|
-
|
|
|
14572
|
+
| (
|
|
14573
|
+
| (
|
|
14574
|
+
| {
|
|
14575
|
+
pattern?: string
|
|
14576
|
+
flags?: string
|
|
14577
|
+
}
|
|
14578
|
+
| string
|
|
14579
|
+
)[]
|
|
14580
|
+
| (
|
|
14581
|
+
| {
|
|
14582
|
+
pattern?: string
|
|
14583
|
+
flags?: string
|
|
14584
|
+
}
|
|
14585
|
+
| string
|
|
14586
|
+
)
|
|
14587
|
+
)
|
|
14312
14588
|
| {
|
|
14313
|
-
block?:
|
|
14314
|
-
|
|
14315
|
-
|
|
14589
|
+
block?:
|
|
14590
|
+
| boolean
|
|
14591
|
+
| (
|
|
14592
|
+
| (
|
|
14593
|
+
| {
|
|
14594
|
+
pattern?: string
|
|
14595
|
+
flags?: string
|
|
14596
|
+
}
|
|
14597
|
+
| string
|
|
14598
|
+
)[]
|
|
14599
|
+
| (
|
|
14600
|
+
| {
|
|
14601
|
+
pattern?: string
|
|
14602
|
+
flags?: string
|
|
14603
|
+
}
|
|
14604
|
+
| string
|
|
14605
|
+
)
|
|
14606
|
+
)
|
|
14607
|
+
line?:
|
|
14608
|
+
| boolean
|
|
14609
|
+
| (
|
|
14610
|
+
| (
|
|
14611
|
+
| {
|
|
14612
|
+
pattern?: string
|
|
14613
|
+
flags?: string
|
|
14614
|
+
}
|
|
14615
|
+
| string
|
|
14616
|
+
)[]
|
|
14617
|
+
| (
|
|
14618
|
+
| {
|
|
14619
|
+
pattern?: string
|
|
14620
|
+
flags?: string
|
|
14621
|
+
}
|
|
14622
|
+
| string
|
|
14623
|
+
)
|
|
14624
|
+
)
|
|
14316
14625
|
}
|
|
14317
14626
|
|
|
14318
14627
|
customGroups?: {
|
|
14319
14628
|
[k: string]: (string | string[]) | undefined
|
|
14320
14629
|
}
|
|
14321
14630
|
|
|
14322
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14323
|
-
|
|
14324
14631
|
groups?: (
|
|
14325
14632
|
| string
|
|
14326
14633
|
| string[]
|
|
14327
14634
|
| {
|
|
14328
14635
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14329
|
-
[k: string]: unknown | undefined
|
|
14330
14636
|
}
|
|
14331
14637
|
)[]
|
|
14332
14638
|
},
|
|
@@ -14338,6 +14644,13 @@ type PerfectionistSortEnums =
|
|
|
14338
14644
|
{
|
|
14339
14645
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14340
14646
|
|
|
14647
|
+
fallbackSort?: {
|
|
14648
|
+
order?: 'asc' | 'desc'
|
|
14649
|
+
|
|
14650
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14651
|
+
[k: string]: unknown | undefined
|
|
14652
|
+
}
|
|
14653
|
+
|
|
14341
14654
|
ignoreCase?: boolean
|
|
14342
14655
|
|
|
14343
14656
|
alphabet?: string
|
|
@@ -14346,6 +14659,8 @@ type PerfectionistSortEnums =
|
|
|
14346
14659
|
|
|
14347
14660
|
order?: 'asc' | 'desc'
|
|
14348
14661
|
|
|
14662
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14663
|
+
|
|
14349
14664
|
forceNumericSort?: boolean
|
|
14350
14665
|
customGroups?:
|
|
14351
14666
|
| {
|
|
@@ -14361,9 +14676,37 @@ type PerfectionistSortEnums =
|
|
|
14361
14676
|
|
|
14362
14677
|
newlinesInside?: 'always' | 'never'
|
|
14363
14678
|
anyOf?: {
|
|
14364
|
-
elementValuePattern?:
|
|
14365
|
-
|
|
14366
|
-
|
|
14679
|
+
elementValuePattern?:
|
|
14680
|
+
| (
|
|
14681
|
+
| {
|
|
14682
|
+
pattern?: string
|
|
14683
|
+
flags?: string
|
|
14684
|
+
}
|
|
14685
|
+
| string
|
|
14686
|
+
)[]
|
|
14687
|
+
| (
|
|
14688
|
+
| {
|
|
14689
|
+
pattern?: string
|
|
14690
|
+
flags?: string
|
|
14691
|
+
}
|
|
14692
|
+
| string
|
|
14693
|
+
)
|
|
14694
|
+
|
|
14695
|
+
elementNamePattern?:
|
|
14696
|
+
| (
|
|
14697
|
+
| {
|
|
14698
|
+
pattern?: string
|
|
14699
|
+
flags?: string
|
|
14700
|
+
}
|
|
14701
|
+
| string
|
|
14702
|
+
)[]
|
|
14703
|
+
| (
|
|
14704
|
+
| {
|
|
14705
|
+
pattern?: string
|
|
14706
|
+
flags?: string
|
|
14707
|
+
}
|
|
14708
|
+
| string
|
|
14709
|
+
)
|
|
14367
14710
|
}[]
|
|
14368
14711
|
}
|
|
14369
14712
|
| {
|
|
@@ -14375,36 +14718,108 @@ type PerfectionistSortEnums =
|
|
|
14375
14718
|
|
|
14376
14719
|
newlinesInside?: 'always' | 'never'
|
|
14377
14720
|
|
|
14378
|
-
elementValuePattern?:
|
|
14721
|
+
elementValuePattern?:
|
|
14722
|
+
| (
|
|
14723
|
+
| {
|
|
14724
|
+
pattern?: string
|
|
14725
|
+
flags?: string
|
|
14726
|
+
}
|
|
14727
|
+
| string
|
|
14728
|
+
)[]
|
|
14729
|
+
| (
|
|
14730
|
+
| {
|
|
14731
|
+
pattern?: string
|
|
14732
|
+
flags?: string
|
|
14733
|
+
}
|
|
14734
|
+
| string
|
|
14735
|
+
)
|
|
14379
14736
|
|
|
14380
|
-
elementNamePattern?:
|
|
14737
|
+
elementNamePattern?:
|
|
14738
|
+
| (
|
|
14739
|
+
| {
|
|
14740
|
+
pattern?: string
|
|
14741
|
+
flags?: string
|
|
14742
|
+
}
|
|
14743
|
+
| string
|
|
14744
|
+
)[]
|
|
14745
|
+
| (
|
|
14746
|
+
| {
|
|
14747
|
+
pattern?: string
|
|
14748
|
+
flags?: string
|
|
14749
|
+
}
|
|
14750
|
+
| string
|
|
14751
|
+
)
|
|
14381
14752
|
}
|
|
14382
14753
|
)[]
|
|
14383
14754
|
|
|
14384
14755
|
sortByValue?: boolean
|
|
14385
14756
|
|
|
14386
14757
|
partitionByComment?:
|
|
14387
|
-
| string[]
|
|
14388
14758
|
| boolean
|
|
14389
|
-
|
|
|
14759
|
+
| (
|
|
14760
|
+
| (
|
|
14761
|
+
| {
|
|
14762
|
+
pattern?: string
|
|
14763
|
+
flags?: string
|
|
14764
|
+
}
|
|
14765
|
+
| string
|
|
14766
|
+
)[]
|
|
14767
|
+
| (
|
|
14768
|
+
| {
|
|
14769
|
+
pattern?: string
|
|
14770
|
+
flags?: string
|
|
14771
|
+
}
|
|
14772
|
+
| string
|
|
14773
|
+
)
|
|
14774
|
+
)
|
|
14390
14775
|
| {
|
|
14391
|
-
block?:
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
14395
|
-
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14776
|
+
block?:
|
|
14777
|
+
| boolean
|
|
14778
|
+
| (
|
|
14779
|
+
| (
|
|
14780
|
+
| {
|
|
14781
|
+
pattern?: string
|
|
14782
|
+
flags?: string
|
|
14783
|
+
}
|
|
14784
|
+
| string
|
|
14785
|
+
)[]
|
|
14786
|
+
| (
|
|
14787
|
+
| {
|
|
14788
|
+
pattern?: string
|
|
14789
|
+
flags?: string
|
|
14790
|
+
}
|
|
14791
|
+
| string
|
|
14792
|
+
)
|
|
14793
|
+
)
|
|
14794
|
+
line?:
|
|
14795
|
+
| boolean
|
|
14796
|
+
| (
|
|
14797
|
+
| (
|
|
14798
|
+
| {
|
|
14799
|
+
pattern?: string
|
|
14800
|
+
flags?: string
|
|
14801
|
+
}
|
|
14802
|
+
| string
|
|
14803
|
+
)[]
|
|
14804
|
+
| (
|
|
14805
|
+
| {
|
|
14806
|
+
pattern?: string
|
|
14807
|
+
flags?: string
|
|
14808
|
+
}
|
|
14809
|
+
| string
|
|
14810
|
+
)
|
|
14811
|
+
)
|
|
14812
|
+
}
|
|
14813
|
+
|
|
14814
|
+
partitionByNewLine?: boolean
|
|
14815
|
+
|
|
14816
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14401
14817
|
|
|
14402
14818
|
groups?: (
|
|
14403
14819
|
| string
|
|
14404
14820
|
| string[]
|
|
14405
14821
|
| {
|
|
14406
14822
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14407
|
-
[k: string]: unknown | undefined
|
|
14408
14823
|
}
|
|
14409
14824
|
)[]
|
|
14410
14825
|
},
|
|
@@ -14416,6 +14831,13 @@ type PerfectionistSortExports =
|
|
|
14416
14831
|
{
|
|
14417
14832
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14418
14833
|
|
|
14834
|
+
fallbackSort?: {
|
|
14835
|
+
order?: 'asc' | 'desc'
|
|
14836
|
+
|
|
14837
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14838
|
+
[k: string]: unknown | undefined
|
|
14839
|
+
}
|
|
14840
|
+
|
|
14419
14841
|
ignoreCase?: boolean
|
|
14420
14842
|
|
|
14421
14843
|
alphabet?: string
|
|
@@ -14424,21 +14846,68 @@ type PerfectionistSortExports =
|
|
|
14424
14846
|
|
|
14425
14847
|
order?: 'asc' | 'desc'
|
|
14426
14848
|
|
|
14849
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14850
|
+
|
|
14427
14851
|
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
14428
14852
|
|
|
14429
14853
|
partitionByComment?:
|
|
14430
|
-
| string[]
|
|
14431
14854
|
| boolean
|
|
14432
|
-
|
|
|
14855
|
+
| (
|
|
14856
|
+
| (
|
|
14857
|
+
| {
|
|
14858
|
+
pattern?: string
|
|
14859
|
+
flags?: string
|
|
14860
|
+
}
|
|
14861
|
+
| string
|
|
14862
|
+
)[]
|
|
14863
|
+
| (
|
|
14864
|
+
| {
|
|
14865
|
+
pattern?: string
|
|
14866
|
+
flags?: string
|
|
14867
|
+
}
|
|
14868
|
+
| string
|
|
14869
|
+
)
|
|
14870
|
+
)
|
|
14433
14871
|
| {
|
|
14434
|
-
block?:
|
|
14435
|
-
|
|
14436
|
-
|
|
14872
|
+
block?:
|
|
14873
|
+
| boolean
|
|
14874
|
+
| (
|
|
14875
|
+
| (
|
|
14876
|
+
| {
|
|
14877
|
+
pattern?: string
|
|
14878
|
+
flags?: string
|
|
14879
|
+
}
|
|
14880
|
+
| string
|
|
14881
|
+
)[]
|
|
14882
|
+
| (
|
|
14883
|
+
| {
|
|
14884
|
+
pattern?: string
|
|
14885
|
+
flags?: string
|
|
14886
|
+
}
|
|
14887
|
+
| string
|
|
14888
|
+
)
|
|
14889
|
+
)
|
|
14890
|
+
line?:
|
|
14891
|
+
| boolean
|
|
14892
|
+
| (
|
|
14893
|
+
| (
|
|
14894
|
+
| {
|
|
14895
|
+
pattern?: string
|
|
14896
|
+
flags?: string
|
|
14897
|
+
}
|
|
14898
|
+
| string
|
|
14899
|
+
)[]
|
|
14900
|
+
| (
|
|
14901
|
+
| {
|
|
14902
|
+
pattern?: string
|
|
14903
|
+
flags?: string
|
|
14904
|
+
}
|
|
14905
|
+
| string
|
|
14906
|
+
)
|
|
14907
|
+
)
|
|
14437
14908
|
}
|
|
14438
14909
|
|
|
14439
14910
|
partitionByNewLine?: boolean
|
|
14440
|
-
|
|
14441
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14442
14911
|
},
|
|
14443
14912
|
]
|
|
14444
14913
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -14448,6 +14917,13 @@ type PerfectionistSortHeritageClauses =
|
|
|
14448
14917
|
{
|
|
14449
14918
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14450
14919
|
|
|
14920
|
+
fallbackSort?: {
|
|
14921
|
+
order?: 'asc' | 'desc'
|
|
14922
|
+
|
|
14923
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14924
|
+
[k: string]: unknown | undefined
|
|
14925
|
+
}
|
|
14926
|
+
|
|
14451
14927
|
ignoreCase?: boolean
|
|
14452
14928
|
|
|
14453
14929
|
alphabet?: string
|
|
@@ -14456,18 +14932,17 @@ type PerfectionistSortHeritageClauses =
|
|
|
14456
14932
|
|
|
14457
14933
|
order?: 'asc' | 'desc'
|
|
14458
14934
|
|
|
14935
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14936
|
+
|
|
14459
14937
|
customGroups?: {
|
|
14460
14938
|
[k: string]: (string | string[]) | undefined
|
|
14461
14939
|
}
|
|
14462
14940
|
|
|
14463
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14464
|
-
|
|
14465
14941
|
groups?: (
|
|
14466
14942
|
| string
|
|
14467
14943
|
| string[]
|
|
14468
14944
|
| {
|
|
14469
14945
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14470
|
-
[k: string]: unknown | undefined
|
|
14471
14946
|
}
|
|
14472
14947
|
)[]
|
|
14473
14948
|
},
|
|
@@ -14478,6 +14953,13 @@ type _PerfectionistSortImportsSortImports =
|
|
|
14478
14953
|
_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
14479
14954
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14480
14955
|
|
|
14956
|
+
fallbackSort?: {
|
|
14957
|
+
order?: 'asc' | 'desc'
|
|
14958
|
+
|
|
14959
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14960
|
+
[k: string]: unknown | undefined
|
|
14961
|
+
}
|
|
14962
|
+
|
|
14481
14963
|
ignoreCase?: boolean
|
|
14482
14964
|
|
|
14483
14965
|
alphabet?: string
|
|
@@ -14486,6 +14968,8 @@ type _PerfectionistSortImportsSortImports =
|
|
|
14486
14968
|
|
|
14487
14969
|
order?: 'asc' | 'desc'
|
|
14488
14970
|
|
|
14971
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14972
|
+
|
|
14489
14973
|
customGroups?: {
|
|
14490
14974
|
value?: {
|
|
14491
14975
|
[k: string]: unknown | undefined
|
|
@@ -14496,8 +14980,6 @@ type _PerfectionistSortImportsSortImports =
|
|
|
14496
14980
|
}
|
|
14497
14981
|
}
|
|
14498
14982
|
|
|
14499
|
-
internalPattern?: string[]
|
|
14500
|
-
|
|
14501
14983
|
maxLineLength?: number
|
|
14502
14984
|
|
|
14503
14985
|
sortSideEffects?: boolean
|
|
@@ -14507,27 +14989,87 @@ type _PerfectionistSortImportsSortImports =
|
|
|
14507
14989
|
tsconfigRootDir?: string
|
|
14508
14990
|
|
|
14509
14991
|
partitionByComment?:
|
|
14510
|
-
| string[]
|
|
14511
14992
|
| boolean
|
|
14512
|
-
|
|
|
14993
|
+
| (
|
|
14994
|
+
| (
|
|
14995
|
+
| {
|
|
14996
|
+
pattern?: string
|
|
14997
|
+
flags?: string
|
|
14998
|
+
}
|
|
14999
|
+
| string
|
|
15000
|
+
)[]
|
|
15001
|
+
| (
|
|
15002
|
+
| {
|
|
15003
|
+
pattern?: string
|
|
15004
|
+
flags?: string
|
|
15005
|
+
}
|
|
15006
|
+
| string
|
|
15007
|
+
)
|
|
15008
|
+
)
|
|
14513
15009
|
| {
|
|
14514
|
-
block?:
|
|
14515
|
-
|
|
14516
|
-
|
|
15010
|
+
block?:
|
|
15011
|
+
| boolean
|
|
15012
|
+
| (
|
|
15013
|
+
| (
|
|
15014
|
+
| {
|
|
15015
|
+
pattern?: string
|
|
15016
|
+
flags?: string
|
|
15017
|
+
}
|
|
15018
|
+
| string
|
|
15019
|
+
)[]
|
|
15020
|
+
| (
|
|
15021
|
+
| {
|
|
15022
|
+
pattern?: string
|
|
15023
|
+
flags?: string
|
|
15024
|
+
}
|
|
15025
|
+
| string
|
|
15026
|
+
)
|
|
15027
|
+
)
|
|
15028
|
+
line?:
|
|
15029
|
+
| boolean
|
|
15030
|
+
| (
|
|
15031
|
+
| (
|
|
15032
|
+
| {
|
|
15033
|
+
pattern?: string
|
|
15034
|
+
flags?: string
|
|
15035
|
+
}
|
|
15036
|
+
| string
|
|
15037
|
+
)[]
|
|
15038
|
+
| (
|
|
15039
|
+
| {
|
|
15040
|
+
pattern?: string
|
|
15041
|
+
flags?: string
|
|
15042
|
+
}
|
|
15043
|
+
| string
|
|
15044
|
+
)
|
|
15045
|
+
)
|
|
14517
15046
|
}
|
|
14518
15047
|
|
|
14519
15048
|
partitionByNewLine?: boolean
|
|
14520
15049
|
|
|
14521
15050
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14522
15051
|
|
|
14523
|
-
|
|
15052
|
+
internalPattern?:
|
|
15053
|
+
| (
|
|
15054
|
+
| {
|
|
15055
|
+
pattern?: string
|
|
15056
|
+
flags?: string
|
|
15057
|
+
}
|
|
15058
|
+
| string
|
|
15059
|
+
)[]
|
|
15060
|
+
| (
|
|
15061
|
+
| {
|
|
15062
|
+
pattern?: string
|
|
15063
|
+
flags?: string
|
|
15064
|
+
}
|
|
15065
|
+
| string
|
|
15066
|
+
)
|
|
14524
15067
|
|
|
14525
15068
|
groups?: (
|
|
14526
15069
|
| string
|
|
14527
15070
|
| string[]
|
|
14528
15071
|
| {
|
|
14529
15072
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14530
|
-
[k: string]: unknown | undefined
|
|
14531
15073
|
}
|
|
14532
15074
|
)[]
|
|
14533
15075
|
}
|
|
@@ -14544,6 +15086,13 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
14544
15086
|
type PerfectionistSortInterfaces = {
|
|
14545
15087
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14546
15088
|
|
|
15089
|
+
fallbackSort?: {
|
|
15090
|
+
order?: 'asc' | 'desc'
|
|
15091
|
+
|
|
15092
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15093
|
+
[k: string]: unknown | undefined
|
|
15094
|
+
}
|
|
15095
|
+
|
|
14547
15096
|
ignoreCase?: boolean
|
|
14548
15097
|
|
|
14549
15098
|
alphabet?: string
|
|
@@ -14552,11 +15101,7 @@ type PerfectionistSortInterfaces = {
|
|
|
14552
15101
|
|
|
14553
15102
|
order?: 'asc' | 'desc'
|
|
14554
15103
|
|
|
14555
|
-
|
|
14556
|
-
useConfigurationIf?: {
|
|
14557
|
-
allNamesMatchPattern?: string
|
|
14558
|
-
declarationMatchesPattern?: string
|
|
14559
|
-
}
|
|
15104
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14560
15105
|
customGroups?:
|
|
14561
15106
|
| {
|
|
14562
15107
|
[k: string]: (string | string[]) | undefined
|
|
@@ -14575,7 +15120,21 @@ type PerfectionistSortInterfaces = {
|
|
|
14575
15120
|
|
|
14576
15121
|
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
14577
15122
|
|
|
14578
|
-
elementNamePattern?:
|
|
15123
|
+
elementNamePattern?:
|
|
15124
|
+
| (
|
|
15125
|
+
| {
|
|
15126
|
+
pattern?: string
|
|
15127
|
+
flags?: string
|
|
15128
|
+
}
|
|
15129
|
+
| string
|
|
15130
|
+
)[]
|
|
15131
|
+
| (
|
|
15132
|
+
| {
|
|
15133
|
+
pattern?: string
|
|
15134
|
+
flags?: string
|
|
15135
|
+
}
|
|
15136
|
+
| string
|
|
15137
|
+
)
|
|
14579
15138
|
}[]
|
|
14580
15139
|
}
|
|
14581
15140
|
| {
|
|
@@ -14591,34 +15150,141 @@ type PerfectionistSortInterfaces = {
|
|
|
14591
15150
|
|
|
14592
15151
|
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
14593
15152
|
|
|
14594
|
-
elementNamePattern?:
|
|
15153
|
+
elementNamePattern?:
|
|
15154
|
+
| (
|
|
15155
|
+
| {
|
|
15156
|
+
pattern?: string
|
|
15157
|
+
flags?: string
|
|
15158
|
+
}
|
|
15159
|
+
| string
|
|
15160
|
+
)[]
|
|
15161
|
+
| (
|
|
15162
|
+
| {
|
|
15163
|
+
pattern?: string
|
|
15164
|
+
flags?: string
|
|
15165
|
+
}
|
|
15166
|
+
| string
|
|
15167
|
+
)
|
|
14595
15168
|
}
|
|
14596
15169
|
)[]
|
|
15170
|
+
useConfigurationIf?: {
|
|
15171
|
+
allNamesMatchPattern?:
|
|
15172
|
+
| (
|
|
15173
|
+
| {
|
|
15174
|
+
pattern?: string
|
|
15175
|
+
flags?: string
|
|
15176
|
+
}
|
|
15177
|
+
| string
|
|
15178
|
+
)[]
|
|
15179
|
+
| (
|
|
15180
|
+
| {
|
|
15181
|
+
pattern?: string
|
|
15182
|
+
flags?: string
|
|
15183
|
+
}
|
|
15184
|
+
| string
|
|
15185
|
+
)
|
|
14597
15186
|
|
|
14598
|
-
|
|
15187
|
+
declarationMatchesPattern?:
|
|
15188
|
+
| (
|
|
15189
|
+
| {
|
|
15190
|
+
pattern?: string
|
|
15191
|
+
flags?: string
|
|
15192
|
+
}
|
|
15193
|
+
| string
|
|
15194
|
+
)[]
|
|
15195
|
+
| (
|
|
15196
|
+
| {
|
|
15197
|
+
pattern?: string
|
|
15198
|
+
flags?: string
|
|
15199
|
+
}
|
|
15200
|
+
| string
|
|
15201
|
+
)
|
|
15202
|
+
}
|
|
14599
15203
|
|
|
14600
|
-
|
|
15204
|
+
groupKind?: 'mixed' | 'required-first' | 'optional-first'
|
|
14601
15205
|
|
|
14602
15206
|
partitionByComment?:
|
|
14603
|
-
| string[]
|
|
14604
15207
|
| boolean
|
|
14605
|
-
|
|
|
15208
|
+
| (
|
|
15209
|
+
| (
|
|
15210
|
+
| {
|
|
15211
|
+
pattern?: string
|
|
15212
|
+
flags?: string
|
|
15213
|
+
}
|
|
15214
|
+
| string
|
|
15215
|
+
)[]
|
|
15216
|
+
| (
|
|
15217
|
+
| {
|
|
15218
|
+
pattern?: string
|
|
15219
|
+
flags?: string
|
|
15220
|
+
}
|
|
15221
|
+
| string
|
|
15222
|
+
)
|
|
15223
|
+
)
|
|
14606
15224
|
| {
|
|
14607
|
-
block?:
|
|
14608
|
-
|
|
14609
|
-
|
|
15225
|
+
block?:
|
|
15226
|
+
| boolean
|
|
15227
|
+
| (
|
|
15228
|
+
| (
|
|
15229
|
+
| {
|
|
15230
|
+
pattern?: string
|
|
15231
|
+
flags?: string
|
|
15232
|
+
}
|
|
15233
|
+
| string
|
|
15234
|
+
)[]
|
|
15235
|
+
| (
|
|
15236
|
+
| {
|
|
15237
|
+
pattern?: string
|
|
15238
|
+
flags?: string
|
|
15239
|
+
}
|
|
15240
|
+
| string
|
|
15241
|
+
)
|
|
15242
|
+
)
|
|
15243
|
+
line?:
|
|
15244
|
+
| boolean
|
|
15245
|
+
| (
|
|
15246
|
+
| (
|
|
15247
|
+
| {
|
|
15248
|
+
pattern?: string
|
|
15249
|
+
flags?: string
|
|
15250
|
+
}
|
|
15251
|
+
| string
|
|
15252
|
+
)[]
|
|
15253
|
+
| (
|
|
15254
|
+
| {
|
|
15255
|
+
pattern?: string
|
|
15256
|
+
flags?: string
|
|
15257
|
+
}
|
|
15258
|
+
| string
|
|
15259
|
+
)
|
|
15260
|
+
)
|
|
14610
15261
|
}
|
|
14611
15262
|
|
|
14612
15263
|
partitionByNewLine?: boolean
|
|
14613
15264
|
|
|
14614
15265
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14615
15266
|
|
|
15267
|
+
ignorePattern?:
|
|
15268
|
+
| (
|
|
15269
|
+
| {
|
|
15270
|
+
pattern?: string
|
|
15271
|
+
flags?: string
|
|
15272
|
+
}
|
|
15273
|
+
| string
|
|
15274
|
+
)[]
|
|
15275
|
+
| (
|
|
15276
|
+
| {
|
|
15277
|
+
pattern?: string
|
|
15278
|
+
flags?: string
|
|
15279
|
+
}
|
|
15280
|
+
| string
|
|
15281
|
+
)
|
|
15282
|
+
|
|
14616
15283
|
groups?: (
|
|
14617
15284
|
| string
|
|
14618
15285
|
| string[]
|
|
14619
15286
|
| {
|
|
14620
15287
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14621
|
-
[k: string]: unknown | undefined
|
|
14622
15288
|
}
|
|
14623
15289
|
)[]
|
|
14624
15290
|
}[]
|
|
@@ -14629,6 +15295,13 @@ type PerfectionistSortIntersectionTypes =
|
|
|
14629
15295
|
{
|
|
14630
15296
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14631
15297
|
|
|
15298
|
+
fallbackSort?: {
|
|
15299
|
+
order?: 'asc' | 'desc'
|
|
15300
|
+
|
|
15301
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15302
|
+
[k: string]: unknown | undefined
|
|
15303
|
+
}
|
|
15304
|
+
|
|
14632
15305
|
ignoreCase?: boolean
|
|
14633
15306
|
|
|
14634
15307
|
alphabet?: string
|
|
@@ -14637,73 +15310,175 @@ type PerfectionistSortIntersectionTypes =
|
|
|
14637
15310
|
|
|
14638
15311
|
order?: 'asc' | 'desc'
|
|
14639
15312
|
|
|
15313
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15314
|
+
|
|
14640
15315
|
partitionByComment?:
|
|
14641
|
-
| string[]
|
|
14642
15316
|
| boolean
|
|
14643
|
-
|
|
|
15317
|
+
| (
|
|
15318
|
+
| (
|
|
15319
|
+
| {
|
|
15320
|
+
pattern?: string
|
|
15321
|
+
flags?: string
|
|
15322
|
+
}
|
|
15323
|
+
| string
|
|
15324
|
+
)[]
|
|
15325
|
+
| (
|
|
15326
|
+
| {
|
|
15327
|
+
pattern?: string
|
|
15328
|
+
flags?: string
|
|
15329
|
+
}
|
|
15330
|
+
| string
|
|
15331
|
+
)
|
|
15332
|
+
)
|
|
14644
15333
|
| {
|
|
14645
|
-
block?:
|
|
14646
|
-
|
|
14647
|
-
|
|
15334
|
+
block?:
|
|
15335
|
+
| boolean
|
|
15336
|
+
| (
|
|
15337
|
+
| (
|
|
15338
|
+
| {
|
|
15339
|
+
pattern?: string
|
|
15340
|
+
flags?: string
|
|
15341
|
+
}
|
|
15342
|
+
| string
|
|
15343
|
+
)[]
|
|
15344
|
+
| (
|
|
15345
|
+
| {
|
|
15346
|
+
pattern?: string
|
|
15347
|
+
flags?: string
|
|
15348
|
+
}
|
|
15349
|
+
| string
|
|
15350
|
+
)
|
|
15351
|
+
)
|
|
15352
|
+
line?:
|
|
15353
|
+
| boolean
|
|
15354
|
+
| (
|
|
15355
|
+
| (
|
|
15356
|
+
| {
|
|
15357
|
+
pattern?: string
|
|
15358
|
+
flags?: string
|
|
15359
|
+
}
|
|
15360
|
+
| string
|
|
15361
|
+
)[]
|
|
15362
|
+
| (
|
|
15363
|
+
| {
|
|
15364
|
+
pattern?: string
|
|
15365
|
+
flags?: string
|
|
15366
|
+
}
|
|
15367
|
+
| string
|
|
15368
|
+
)
|
|
15369
|
+
)
|
|
14648
15370
|
}
|
|
14649
15371
|
|
|
14650
15372
|
partitionByNewLine?: boolean
|
|
14651
15373
|
|
|
14652
15374
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14653
15375
|
|
|
14654
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14655
|
-
|
|
14656
15376
|
groups?: (
|
|
14657
15377
|
| string
|
|
14658
15378
|
| string[]
|
|
14659
15379
|
| {
|
|
14660
15380
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14661
|
-
[k: string]: unknown | undefined
|
|
14662
15381
|
}
|
|
14663
15382
|
)[]
|
|
14664
15383
|
},
|
|
14665
15384
|
]
|
|
14666
15385
|
// ----- perfectionist/sort-jsx-props -----
|
|
14667
|
-
type PerfectionistSortJsxProps =
|
|
14668
|
-
|
|
|
14669
|
-
| [
|
|
14670
|
-
{
|
|
14671
|
-
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14672
|
-
|
|
14673
|
-
ignoreCase?: boolean
|
|
14674
|
-
|
|
14675
|
-
alphabet?: string
|
|
15386
|
+
type PerfectionistSortJsxProps = {
|
|
15387
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14676
15388
|
|
|
14677
|
-
|
|
15389
|
+
fallbackSort?: {
|
|
15390
|
+
order?: 'asc' | 'desc'
|
|
14678
15391
|
|
|
14679
|
-
|
|
15392
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15393
|
+
[k: string]: unknown | undefined
|
|
15394
|
+
}
|
|
14680
15395
|
|
|
14681
|
-
|
|
15396
|
+
ignoreCase?: boolean
|
|
14682
15397
|
|
|
14683
|
-
|
|
15398
|
+
alphabet?: string
|
|
14684
15399
|
|
|
14685
|
-
|
|
15400
|
+
locales?: string | string[]
|
|
14686
15401
|
|
|
14687
|
-
|
|
14688
|
-
[k: string]: (string | string[]) | undefined
|
|
14689
|
-
}
|
|
15402
|
+
order?: 'asc' | 'desc'
|
|
14690
15403
|
|
|
14691
|
-
|
|
15404
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15405
|
+
useConfigurationIf?: {
|
|
15406
|
+
allNamesMatchPattern?:
|
|
15407
|
+
| (
|
|
15408
|
+
| {
|
|
15409
|
+
pattern?: string
|
|
15410
|
+
flags?: string
|
|
15411
|
+
}
|
|
15412
|
+
| string
|
|
15413
|
+
)[]
|
|
15414
|
+
| (
|
|
15415
|
+
| {
|
|
15416
|
+
pattern?: string
|
|
15417
|
+
flags?: string
|
|
15418
|
+
}
|
|
15419
|
+
| string
|
|
15420
|
+
)
|
|
14692
15421
|
|
|
14693
|
-
|
|
15422
|
+
tagMatchesPattern?:
|
|
15423
|
+
| (
|
|
15424
|
+
| {
|
|
15425
|
+
pattern?: string
|
|
15426
|
+
flags?: string
|
|
15427
|
+
}
|
|
14694
15428
|
| string
|
|
14695
|
-
|
|
15429
|
+
)[]
|
|
15430
|
+
| (
|
|
14696
15431
|
| {
|
|
14697
|
-
|
|
14698
|
-
|
|
15432
|
+
pattern?: string
|
|
15433
|
+
flags?: string
|
|
14699
15434
|
}
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
|
|
15435
|
+
| string
|
|
15436
|
+
)
|
|
15437
|
+
}
|
|
15438
|
+
|
|
15439
|
+
partitionByNewLine?: boolean
|
|
15440
|
+
|
|
15441
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15442
|
+
|
|
15443
|
+
customGroups?: {
|
|
15444
|
+
[k: string]: (string | string[]) | undefined
|
|
15445
|
+
}
|
|
15446
|
+
|
|
15447
|
+
ignorePattern?:
|
|
15448
|
+
| (
|
|
15449
|
+
| {
|
|
15450
|
+
pattern?: string
|
|
15451
|
+
flags?: string
|
|
15452
|
+
}
|
|
15453
|
+
| string
|
|
15454
|
+
)[]
|
|
15455
|
+
| (
|
|
15456
|
+
| {
|
|
15457
|
+
pattern?: string
|
|
15458
|
+
flags?: string
|
|
15459
|
+
}
|
|
15460
|
+
| string
|
|
15461
|
+
)
|
|
15462
|
+
|
|
15463
|
+
groups?: (
|
|
15464
|
+
| string
|
|
15465
|
+
| string[]
|
|
15466
|
+
| {
|
|
15467
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15468
|
+
}
|
|
15469
|
+
)[]
|
|
15470
|
+
}[]
|
|
14703
15471
|
// ----- perfectionist/sort-maps -----
|
|
14704
15472
|
type PerfectionistSortMaps = {
|
|
14705
15473
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14706
15474
|
|
|
15475
|
+
fallbackSort?: {
|
|
15476
|
+
order?: 'asc' | 'desc'
|
|
15477
|
+
|
|
15478
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15479
|
+
[k: string]: unknown | undefined
|
|
15480
|
+
}
|
|
15481
|
+
|
|
14707
15482
|
ignoreCase?: boolean
|
|
14708
15483
|
|
|
14709
15484
|
alphabet?: string
|
|
@@ -14712,6 +15487,8 @@ type PerfectionistSortMaps = {
|
|
|
14712
15487
|
|
|
14713
15488
|
order?: 'asc' | 'desc'
|
|
14714
15489
|
|
|
15490
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15491
|
+
|
|
14715
15492
|
customGroups?: (
|
|
14716
15493
|
| {
|
|
14717
15494
|
groupName?: string
|
|
@@ -14722,7 +15499,21 @@ type PerfectionistSortMaps = {
|
|
|
14722
15499
|
|
|
14723
15500
|
newlinesInside?: 'always' | 'never'
|
|
14724
15501
|
anyOf?: {
|
|
14725
|
-
elementNamePattern?:
|
|
15502
|
+
elementNamePattern?:
|
|
15503
|
+
| (
|
|
15504
|
+
| {
|
|
15505
|
+
pattern?: string
|
|
15506
|
+
flags?: string
|
|
15507
|
+
}
|
|
15508
|
+
| string
|
|
15509
|
+
)[]
|
|
15510
|
+
| (
|
|
15511
|
+
| {
|
|
15512
|
+
pattern?: string
|
|
15513
|
+
flags?: string
|
|
15514
|
+
}
|
|
15515
|
+
| string
|
|
15516
|
+
)
|
|
14726
15517
|
}[]
|
|
14727
15518
|
}
|
|
14728
15519
|
| {
|
|
@@ -14734,35 +15525,107 @@ type PerfectionistSortMaps = {
|
|
|
14734
15525
|
|
|
14735
15526
|
newlinesInside?: 'always' | 'never'
|
|
14736
15527
|
|
|
14737
|
-
elementNamePattern?:
|
|
15528
|
+
elementNamePattern?:
|
|
15529
|
+
| (
|
|
15530
|
+
| {
|
|
15531
|
+
pattern?: string
|
|
15532
|
+
flags?: string
|
|
15533
|
+
}
|
|
15534
|
+
| string
|
|
15535
|
+
)[]
|
|
15536
|
+
| (
|
|
15537
|
+
| {
|
|
15538
|
+
pattern?: string
|
|
15539
|
+
flags?: string
|
|
15540
|
+
}
|
|
15541
|
+
| string
|
|
15542
|
+
)
|
|
14738
15543
|
}
|
|
14739
15544
|
)[]
|
|
14740
15545
|
useConfigurationIf?: {
|
|
14741
|
-
allNamesMatchPattern?:
|
|
15546
|
+
allNamesMatchPattern?:
|
|
15547
|
+
| (
|
|
15548
|
+
| {
|
|
15549
|
+
pattern?: string
|
|
15550
|
+
flags?: string
|
|
15551
|
+
}
|
|
15552
|
+
| string
|
|
15553
|
+
)[]
|
|
15554
|
+
| (
|
|
15555
|
+
| {
|
|
15556
|
+
pattern?: string
|
|
15557
|
+
flags?: string
|
|
15558
|
+
}
|
|
15559
|
+
| string
|
|
15560
|
+
)
|
|
14742
15561
|
}
|
|
14743
15562
|
|
|
14744
15563
|
partitionByComment?:
|
|
14745
|
-
| string[]
|
|
14746
15564
|
| boolean
|
|
14747
|
-
|
|
|
15565
|
+
| (
|
|
15566
|
+
| (
|
|
15567
|
+
| {
|
|
15568
|
+
pattern?: string
|
|
15569
|
+
flags?: string
|
|
15570
|
+
}
|
|
15571
|
+
| string
|
|
15572
|
+
)[]
|
|
15573
|
+
| (
|
|
15574
|
+
| {
|
|
15575
|
+
pattern?: string
|
|
15576
|
+
flags?: string
|
|
15577
|
+
}
|
|
15578
|
+
| string
|
|
15579
|
+
)
|
|
15580
|
+
)
|
|
14748
15581
|
| {
|
|
14749
|
-
block?:
|
|
14750
|
-
|
|
14751
|
-
|
|
15582
|
+
block?:
|
|
15583
|
+
| boolean
|
|
15584
|
+
| (
|
|
15585
|
+
| (
|
|
15586
|
+
| {
|
|
15587
|
+
pattern?: string
|
|
15588
|
+
flags?: string
|
|
15589
|
+
}
|
|
15590
|
+
| string
|
|
15591
|
+
)[]
|
|
15592
|
+
| (
|
|
15593
|
+
| {
|
|
15594
|
+
pattern?: string
|
|
15595
|
+
flags?: string
|
|
15596
|
+
}
|
|
15597
|
+
| string
|
|
15598
|
+
)
|
|
15599
|
+
)
|
|
15600
|
+
line?:
|
|
15601
|
+
| boolean
|
|
15602
|
+
| (
|
|
15603
|
+
| (
|
|
15604
|
+
| {
|
|
15605
|
+
pattern?: string
|
|
15606
|
+
flags?: string
|
|
15607
|
+
}
|
|
15608
|
+
| string
|
|
15609
|
+
)[]
|
|
15610
|
+
| (
|
|
15611
|
+
| {
|
|
15612
|
+
pattern?: string
|
|
15613
|
+
flags?: string
|
|
15614
|
+
}
|
|
15615
|
+
| string
|
|
15616
|
+
)
|
|
15617
|
+
)
|
|
14752
15618
|
}
|
|
14753
15619
|
|
|
14754
15620
|
partitionByNewLine?: boolean
|
|
14755
15621
|
|
|
14756
15622
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14757
15623
|
|
|
14758
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14759
|
-
|
|
14760
15624
|
groups?: (
|
|
14761
15625
|
| string
|
|
14762
15626
|
| string[]
|
|
14763
15627
|
| {
|
|
14764
15628
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14765
|
-
[k: string]: unknown | undefined
|
|
14766
15629
|
}
|
|
14767
15630
|
)[]
|
|
14768
15631
|
}[]
|
|
@@ -14773,6 +15636,13 @@ type PerfectionistSortModules =
|
|
|
14773
15636
|
{
|
|
14774
15637
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14775
15638
|
|
|
15639
|
+
fallbackSort?: {
|
|
15640
|
+
order?: 'asc' | 'desc'
|
|
15641
|
+
|
|
15642
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15643
|
+
[k: string]: unknown | undefined
|
|
15644
|
+
}
|
|
15645
|
+
|
|
14776
15646
|
ignoreCase?: boolean
|
|
14777
15647
|
|
|
14778
15648
|
alphabet?: string
|
|
@@ -14781,6 +15651,8 @@ type PerfectionistSortModules =
|
|
|
14781
15651
|
|
|
14782
15652
|
order?: 'asc' | 'desc'
|
|
14783
15653
|
|
|
15654
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15655
|
+
|
|
14784
15656
|
customGroups?: (
|
|
14785
15657
|
| {
|
|
14786
15658
|
groupName?: string
|
|
@@ -14791,13 +15663,41 @@ type PerfectionistSortModules =
|
|
|
14791
15663
|
|
|
14792
15664
|
newlinesInside?: 'always' | 'never'
|
|
14793
15665
|
anyOf?: {
|
|
14794
|
-
decoratorNamePattern?: string
|
|
14795
|
-
|
|
14796
15666
|
modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
|
|
14797
15667
|
|
|
14798
15668
|
selector?: 'enum' | 'function' | 'interface' | 'type' | 'class'
|
|
14799
15669
|
|
|
14800
|
-
|
|
15670
|
+
decoratorNamePattern?:
|
|
15671
|
+
| (
|
|
15672
|
+
| {
|
|
15673
|
+
pattern?: string
|
|
15674
|
+
flags?: string
|
|
15675
|
+
}
|
|
15676
|
+
| string
|
|
15677
|
+
)[]
|
|
15678
|
+
| (
|
|
15679
|
+
| {
|
|
15680
|
+
pattern?: string
|
|
15681
|
+
flags?: string
|
|
15682
|
+
}
|
|
15683
|
+
| string
|
|
15684
|
+
)
|
|
15685
|
+
|
|
15686
|
+
elementNamePattern?:
|
|
15687
|
+
| (
|
|
15688
|
+
| {
|
|
15689
|
+
pattern?: string
|
|
15690
|
+
flags?: string
|
|
15691
|
+
}
|
|
15692
|
+
| string
|
|
15693
|
+
)[]
|
|
15694
|
+
| (
|
|
15695
|
+
| {
|
|
15696
|
+
pattern?: string
|
|
15697
|
+
flags?: string
|
|
15698
|
+
}
|
|
15699
|
+
| string
|
|
15700
|
+
)
|
|
14801
15701
|
}[]
|
|
14802
15702
|
}
|
|
14803
15703
|
| {
|
|
@@ -14809,38 +15709,110 @@ type PerfectionistSortModules =
|
|
|
14809
15709
|
|
|
14810
15710
|
newlinesInside?: 'always' | 'never'
|
|
14811
15711
|
|
|
14812
|
-
decoratorNamePattern?: string
|
|
14813
|
-
|
|
14814
15712
|
modifiers?: ('async' | 'declare' | 'decorated' | 'default' | 'export')[]
|
|
14815
15713
|
|
|
14816
15714
|
selector?: 'enum' | 'function' | 'interface' | 'type' | 'class'
|
|
14817
15715
|
|
|
14818
|
-
|
|
15716
|
+
decoratorNamePattern?:
|
|
15717
|
+
| (
|
|
15718
|
+
| {
|
|
15719
|
+
pattern?: string
|
|
15720
|
+
flags?: string
|
|
15721
|
+
}
|
|
15722
|
+
| string
|
|
15723
|
+
)[]
|
|
15724
|
+
| (
|
|
15725
|
+
| {
|
|
15726
|
+
pattern?: string
|
|
15727
|
+
flags?: string
|
|
15728
|
+
}
|
|
15729
|
+
| string
|
|
15730
|
+
)
|
|
15731
|
+
|
|
15732
|
+
elementNamePattern?:
|
|
15733
|
+
| (
|
|
15734
|
+
| {
|
|
15735
|
+
pattern?: string
|
|
15736
|
+
flags?: string
|
|
15737
|
+
}
|
|
15738
|
+
| string
|
|
15739
|
+
)[]
|
|
15740
|
+
| (
|
|
15741
|
+
| {
|
|
15742
|
+
pattern?: string
|
|
15743
|
+
flags?: string
|
|
15744
|
+
}
|
|
15745
|
+
| string
|
|
15746
|
+
)
|
|
14819
15747
|
}
|
|
14820
15748
|
)[]
|
|
14821
15749
|
|
|
14822
15750
|
partitionByComment?:
|
|
14823
|
-
| string[]
|
|
14824
15751
|
| boolean
|
|
14825
|
-
|
|
|
15752
|
+
| (
|
|
15753
|
+
| (
|
|
15754
|
+
| {
|
|
15755
|
+
pattern?: string
|
|
15756
|
+
flags?: string
|
|
15757
|
+
}
|
|
15758
|
+
| string
|
|
15759
|
+
)[]
|
|
15760
|
+
| (
|
|
15761
|
+
| {
|
|
15762
|
+
pattern?: string
|
|
15763
|
+
flags?: string
|
|
15764
|
+
}
|
|
15765
|
+
| string
|
|
15766
|
+
)
|
|
15767
|
+
)
|
|
14826
15768
|
| {
|
|
14827
|
-
block?:
|
|
14828
|
-
|
|
14829
|
-
|
|
15769
|
+
block?:
|
|
15770
|
+
| boolean
|
|
15771
|
+
| (
|
|
15772
|
+
| (
|
|
15773
|
+
| {
|
|
15774
|
+
pattern?: string
|
|
15775
|
+
flags?: string
|
|
15776
|
+
}
|
|
15777
|
+
| string
|
|
15778
|
+
)[]
|
|
15779
|
+
| (
|
|
15780
|
+
| {
|
|
15781
|
+
pattern?: string
|
|
15782
|
+
flags?: string
|
|
15783
|
+
}
|
|
15784
|
+
| string
|
|
15785
|
+
)
|
|
15786
|
+
)
|
|
15787
|
+
line?:
|
|
15788
|
+
| boolean
|
|
15789
|
+
| (
|
|
15790
|
+
| (
|
|
15791
|
+
| {
|
|
15792
|
+
pattern?: string
|
|
15793
|
+
flags?: string
|
|
15794
|
+
}
|
|
15795
|
+
| string
|
|
15796
|
+
)[]
|
|
15797
|
+
| (
|
|
15798
|
+
| {
|
|
15799
|
+
pattern?: string
|
|
15800
|
+
flags?: string
|
|
15801
|
+
}
|
|
15802
|
+
| string
|
|
15803
|
+
)
|
|
15804
|
+
)
|
|
14830
15805
|
}
|
|
14831
15806
|
|
|
14832
15807
|
partitionByNewLine?: boolean
|
|
14833
15808
|
|
|
14834
15809
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14835
15810
|
|
|
14836
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14837
|
-
|
|
14838
15811
|
groups?: (
|
|
14839
15812
|
| string
|
|
14840
15813
|
| string[]
|
|
14841
15814
|
| {
|
|
14842
15815
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14843
|
-
[k: string]: unknown | undefined
|
|
14844
15816
|
}
|
|
14845
15817
|
)[]
|
|
14846
15818
|
},
|
|
@@ -14852,6 +15824,13 @@ type PerfectionistSortNamedExports =
|
|
|
14852
15824
|
{
|
|
14853
15825
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14854
15826
|
|
|
15827
|
+
fallbackSort?: {
|
|
15828
|
+
order?: 'asc' | 'desc'
|
|
15829
|
+
|
|
15830
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15831
|
+
[k: string]: unknown | undefined
|
|
15832
|
+
}
|
|
15833
|
+
|
|
14855
15834
|
ignoreCase?: boolean
|
|
14856
15835
|
|
|
14857
15836
|
alphabet?: string
|
|
@@ -14860,23 +15839,70 @@ type PerfectionistSortNamedExports =
|
|
|
14860
15839
|
|
|
14861
15840
|
order?: 'asc' | 'desc'
|
|
14862
15841
|
|
|
15842
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15843
|
+
|
|
14863
15844
|
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
14864
15845
|
|
|
14865
15846
|
ignoreAlias?: boolean
|
|
14866
15847
|
|
|
14867
15848
|
partitionByComment?:
|
|
14868
|
-
| string[]
|
|
14869
15849
|
| boolean
|
|
14870
|
-
|
|
|
15850
|
+
| (
|
|
15851
|
+
| (
|
|
15852
|
+
| {
|
|
15853
|
+
pattern?: string
|
|
15854
|
+
flags?: string
|
|
15855
|
+
}
|
|
15856
|
+
| string
|
|
15857
|
+
)[]
|
|
15858
|
+
| (
|
|
15859
|
+
| {
|
|
15860
|
+
pattern?: string
|
|
15861
|
+
flags?: string
|
|
15862
|
+
}
|
|
15863
|
+
| string
|
|
15864
|
+
)
|
|
15865
|
+
)
|
|
14871
15866
|
| {
|
|
14872
|
-
block?:
|
|
14873
|
-
|
|
14874
|
-
|
|
15867
|
+
block?:
|
|
15868
|
+
| boolean
|
|
15869
|
+
| (
|
|
15870
|
+
| (
|
|
15871
|
+
| {
|
|
15872
|
+
pattern?: string
|
|
15873
|
+
flags?: string
|
|
15874
|
+
}
|
|
15875
|
+
| string
|
|
15876
|
+
)[]
|
|
15877
|
+
| (
|
|
15878
|
+
| {
|
|
15879
|
+
pattern?: string
|
|
15880
|
+
flags?: string
|
|
15881
|
+
}
|
|
15882
|
+
| string
|
|
15883
|
+
)
|
|
15884
|
+
)
|
|
15885
|
+
line?:
|
|
15886
|
+
| boolean
|
|
15887
|
+
| (
|
|
15888
|
+
| (
|
|
15889
|
+
| {
|
|
15890
|
+
pattern?: string
|
|
15891
|
+
flags?: string
|
|
15892
|
+
}
|
|
15893
|
+
| string
|
|
15894
|
+
)[]
|
|
15895
|
+
| (
|
|
15896
|
+
| {
|
|
15897
|
+
pattern?: string
|
|
15898
|
+
flags?: string
|
|
15899
|
+
}
|
|
15900
|
+
| string
|
|
15901
|
+
)
|
|
15902
|
+
)
|
|
14875
15903
|
}
|
|
14876
15904
|
|
|
14877
15905
|
partitionByNewLine?: boolean
|
|
14878
|
-
|
|
14879
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14880
15906
|
},
|
|
14881
15907
|
]
|
|
14882
15908
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -14886,6 +15912,13 @@ type PerfectionistSortNamedImports =
|
|
|
14886
15912
|
{
|
|
14887
15913
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14888
15914
|
|
|
15915
|
+
fallbackSort?: {
|
|
15916
|
+
order?: 'asc' | 'desc'
|
|
15917
|
+
|
|
15918
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15919
|
+
[k: string]: unknown | undefined
|
|
15920
|
+
}
|
|
15921
|
+
|
|
14889
15922
|
ignoreCase?: boolean
|
|
14890
15923
|
|
|
14891
15924
|
alphabet?: string
|
|
@@ -14894,29 +15927,83 @@ type PerfectionistSortNamedImports =
|
|
|
14894
15927
|
|
|
14895
15928
|
order?: 'asc' | 'desc'
|
|
14896
15929
|
|
|
15930
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15931
|
+
|
|
14897
15932
|
groupKind?: 'mixed' | 'values-first' | 'types-first'
|
|
14898
15933
|
|
|
14899
15934
|
ignoreAlias?: boolean
|
|
14900
15935
|
|
|
14901
15936
|
partitionByComment?:
|
|
14902
|
-
| string[]
|
|
14903
15937
|
| boolean
|
|
14904
|
-
|
|
|
15938
|
+
| (
|
|
15939
|
+
| (
|
|
15940
|
+
| {
|
|
15941
|
+
pattern?: string
|
|
15942
|
+
flags?: string
|
|
15943
|
+
}
|
|
15944
|
+
| string
|
|
15945
|
+
)[]
|
|
15946
|
+
| (
|
|
15947
|
+
| {
|
|
15948
|
+
pattern?: string
|
|
15949
|
+
flags?: string
|
|
15950
|
+
}
|
|
15951
|
+
| string
|
|
15952
|
+
)
|
|
15953
|
+
)
|
|
14905
15954
|
| {
|
|
14906
|
-
block?:
|
|
14907
|
-
|
|
14908
|
-
|
|
15955
|
+
block?:
|
|
15956
|
+
| boolean
|
|
15957
|
+
| (
|
|
15958
|
+
| (
|
|
15959
|
+
| {
|
|
15960
|
+
pattern?: string
|
|
15961
|
+
flags?: string
|
|
15962
|
+
}
|
|
15963
|
+
| string
|
|
15964
|
+
)[]
|
|
15965
|
+
| (
|
|
15966
|
+
| {
|
|
15967
|
+
pattern?: string
|
|
15968
|
+
flags?: string
|
|
15969
|
+
}
|
|
15970
|
+
| string
|
|
15971
|
+
)
|
|
15972
|
+
)
|
|
15973
|
+
line?:
|
|
15974
|
+
| boolean
|
|
15975
|
+
| (
|
|
15976
|
+
| (
|
|
15977
|
+
| {
|
|
15978
|
+
pattern?: string
|
|
15979
|
+
flags?: string
|
|
15980
|
+
}
|
|
15981
|
+
| string
|
|
15982
|
+
)[]
|
|
15983
|
+
| (
|
|
15984
|
+
| {
|
|
15985
|
+
pattern?: string
|
|
15986
|
+
flags?: string
|
|
15987
|
+
}
|
|
15988
|
+
| string
|
|
15989
|
+
)
|
|
15990
|
+
)
|
|
14909
15991
|
}
|
|
14910
15992
|
|
|
14911
15993
|
partitionByNewLine?: boolean
|
|
14912
|
-
|
|
14913
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
14914
15994
|
},
|
|
14915
15995
|
]
|
|
14916
15996
|
// ----- perfectionist/sort-object-types -----
|
|
14917
15997
|
type PerfectionistSortObjectTypes = {
|
|
14918
15998
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
14919
15999
|
|
|
16000
|
+
fallbackSort?: {
|
|
16001
|
+
order?: 'asc' | 'desc'
|
|
16002
|
+
|
|
16003
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16004
|
+
[k: string]: unknown | undefined
|
|
16005
|
+
}
|
|
16006
|
+
|
|
14920
16007
|
ignoreCase?: boolean
|
|
14921
16008
|
|
|
14922
16009
|
alphabet?: string
|
|
@@ -14925,11 +16012,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
14925
16012
|
|
|
14926
16013
|
order?: 'asc' | 'desc'
|
|
14927
16014
|
|
|
14928
|
-
|
|
14929
|
-
useConfigurationIf?: {
|
|
14930
|
-
allNamesMatchPattern?: string
|
|
14931
|
-
declarationMatchesPattern?: string
|
|
14932
|
-
}
|
|
16015
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14933
16016
|
customGroups?:
|
|
14934
16017
|
| {
|
|
14935
16018
|
[k: string]: (string | string[]) | undefined
|
|
@@ -14948,7 +16031,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
14948
16031
|
|
|
14949
16032
|
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
14950
16033
|
|
|
14951
|
-
elementNamePattern?:
|
|
16034
|
+
elementNamePattern?:
|
|
16035
|
+
| (
|
|
16036
|
+
| {
|
|
16037
|
+
pattern?: string
|
|
16038
|
+
flags?: string
|
|
16039
|
+
}
|
|
16040
|
+
| string
|
|
16041
|
+
)[]
|
|
16042
|
+
| (
|
|
16043
|
+
| {
|
|
16044
|
+
pattern?: string
|
|
16045
|
+
flags?: string
|
|
16046
|
+
}
|
|
16047
|
+
| string
|
|
16048
|
+
)
|
|
14952
16049
|
}[]
|
|
14953
16050
|
}
|
|
14954
16051
|
| {
|
|
@@ -14964,34 +16061,141 @@ type PerfectionistSortObjectTypes = {
|
|
|
14964
16061
|
|
|
14965
16062
|
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
14966
16063
|
|
|
14967
|
-
elementNamePattern?:
|
|
16064
|
+
elementNamePattern?:
|
|
16065
|
+
| (
|
|
16066
|
+
| {
|
|
16067
|
+
pattern?: string
|
|
16068
|
+
flags?: string
|
|
16069
|
+
}
|
|
16070
|
+
| string
|
|
16071
|
+
)[]
|
|
16072
|
+
| (
|
|
16073
|
+
| {
|
|
16074
|
+
pattern?: string
|
|
16075
|
+
flags?: string
|
|
16076
|
+
}
|
|
16077
|
+
| string
|
|
16078
|
+
)
|
|
14968
16079
|
}
|
|
14969
16080
|
)[]
|
|
16081
|
+
useConfigurationIf?: {
|
|
16082
|
+
allNamesMatchPattern?:
|
|
16083
|
+
| (
|
|
16084
|
+
| {
|
|
16085
|
+
pattern?: string
|
|
16086
|
+
flags?: string
|
|
16087
|
+
}
|
|
16088
|
+
| string
|
|
16089
|
+
)[]
|
|
16090
|
+
| (
|
|
16091
|
+
| {
|
|
16092
|
+
pattern?: string
|
|
16093
|
+
flags?: string
|
|
16094
|
+
}
|
|
16095
|
+
| string
|
|
16096
|
+
)
|
|
16097
|
+
|
|
16098
|
+
declarationMatchesPattern?:
|
|
16099
|
+
| (
|
|
16100
|
+
| {
|
|
16101
|
+
pattern?: string
|
|
16102
|
+
flags?: string
|
|
16103
|
+
}
|
|
16104
|
+
| string
|
|
16105
|
+
)[]
|
|
16106
|
+
| (
|
|
16107
|
+
| {
|
|
16108
|
+
pattern?: string
|
|
16109
|
+
flags?: string
|
|
16110
|
+
}
|
|
16111
|
+
| string
|
|
16112
|
+
)
|
|
16113
|
+
}
|
|
14970
16114
|
|
|
14971
16115
|
groupKind?: 'mixed' | 'required-first' | 'optional-first'
|
|
14972
16116
|
|
|
14973
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14974
|
-
|
|
14975
16117
|
partitionByComment?:
|
|
14976
|
-
| string[]
|
|
14977
16118
|
| boolean
|
|
14978
|
-
|
|
|
16119
|
+
| (
|
|
16120
|
+
| (
|
|
16121
|
+
| {
|
|
16122
|
+
pattern?: string
|
|
16123
|
+
flags?: string
|
|
16124
|
+
}
|
|
16125
|
+
| string
|
|
16126
|
+
)[]
|
|
16127
|
+
| (
|
|
16128
|
+
| {
|
|
16129
|
+
pattern?: string
|
|
16130
|
+
flags?: string
|
|
16131
|
+
}
|
|
16132
|
+
| string
|
|
16133
|
+
)
|
|
16134
|
+
)
|
|
14979
16135
|
| {
|
|
14980
|
-
block?:
|
|
14981
|
-
|
|
14982
|
-
|
|
16136
|
+
block?:
|
|
16137
|
+
| boolean
|
|
16138
|
+
| (
|
|
16139
|
+
| (
|
|
16140
|
+
| {
|
|
16141
|
+
pattern?: string
|
|
16142
|
+
flags?: string
|
|
16143
|
+
}
|
|
16144
|
+
| string
|
|
16145
|
+
)[]
|
|
16146
|
+
| (
|
|
16147
|
+
| {
|
|
16148
|
+
pattern?: string
|
|
16149
|
+
flags?: string
|
|
16150
|
+
}
|
|
16151
|
+
| string
|
|
16152
|
+
)
|
|
16153
|
+
)
|
|
16154
|
+
line?:
|
|
16155
|
+
| boolean
|
|
16156
|
+
| (
|
|
16157
|
+
| (
|
|
16158
|
+
| {
|
|
16159
|
+
pattern?: string
|
|
16160
|
+
flags?: string
|
|
16161
|
+
}
|
|
16162
|
+
| string
|
|
16163
|
+
)[]
|
|
16164
|
+
| (
|
|
16165
|
+
| {
|
|
16166
|
+
pattern?: string
|
|
16167
|
+
flags?: string
|
|
16168
|
+
}
|
|
16169
|
+
| string
|
|
16170
|
+
)
|
|
16171
|
+
)
|
|
14983
16172
|
}
|
|
14984
16173
|
|
|
14985
16174
|
partitionByNewLine?: boolean
|
|
14986
16175
|
|
|
14987
16176
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14988
16177
|
|
|
16178
|
+
ignorePattern?:
|
|
16179
|
+
| (
|
|
16180
|
+
| {
|
|
16181
|
+
pattern?: string
|
|
16182
|
+
flags?: string
|
|
16183
|
+
}
|
|
16184
|
+
| string
|
|
16185
|
+
)[]
|
|
16186
|
+
| (
|
|
16187
|
+
| {
|
|
16188
|
+
pattern?: string
|
|
16189
|
+
flags?: string
|
|
16190
|
+
}
|
|
16191
|
+
| string
|
|
16192
|
+
)
|
|
16193
|
+
|
|
14989
16194
|
groups?: (
|
|
14990
16195
|
| string
|
|
14991
16196
|
| string[]
|
|
14992
16197
|
| {
|
|
14993
16198
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14994
|
-
[k: string]: unknown | undefined
|
|
14995
16199
|
}
|
|
14996
16200
|
)[]
|
|
14997
16201
|
}[]
|
|
@@ -14999,6 +16203,13 @@ type PerfectionistSortObjectTypes = {
|
|
|
14999
16203
|
type PerfectionistSortObjects = {
|
|
15000
16204
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15001
16205
|
|
|
16206
|
+
fallbackSort?: {
|
|
16207
|
+
order?: 'asc' | 'desc'
|
|
16208
|
+
|
|
16209
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16210
|
+
[k: string]: unknown | undefined
|
|
16211
|
+
}
|
|
16212
|
+
|
|
15002
16213
|
ignoreCase?: boolean
|
|
15003
16214
|
|
|
15004
16215
|
alphabet?: string
|
|
@@ -15007,17 +16218,13 @@ type PerfectionistSortObjects = {
|
|
|
15007
16218
|
|
|
15008
16219
|
order?: 'asc' | 'desc'
|
|
15009
16220
|
|
|
16221
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16222
|
+
|
|
15010
16223
|
destructuredObjects?:
|
|
15011
16224
|
| boolean
|
|
15012
16225
|
| {
|
|
15013
16226
|
groups?: boolean
|
|
15014
16227
|
}
|
|
15015
|
-
|
|
15016
|
-
ignorePattern?: string[]
|
|
15017
|
-
useConfigurationIf?: {
|
|
15018
|
-
allNamesMatchPattern?: string
|
|
15019
|
-
callingFunctionNamePattern?: string
|
|
15020
|
-
}
|
|
15021
16228
|
customGroups?:
|
|
15022
16229
|
| {
|
|
15023
16230
|
[k: string]: (string | string[]) | undefined
|
|
@@ -15036,9 +16243,37 @@ type PerfectionistSortObjects = {
|
|
|
15036
16243
|
|
|
15037
16244
|
selector?: 'member' | 'method' | 'multiline' | 'property'
|
|
15038
16245
|
|
|
15039
|
-
elementValuePattern?:
|
|
15040
|
-
|
|
15041
|
-
|
|
16246
|
+
elementValuePattern?:
|
|
16247
|
+
| (
|
|
16248
|
+
| {
|
|
16249
|
+
pattern?: string
|
|
16250
|
+
flags?: string
|
|
16251
|
+
}
|
|
16252
|
+
| string
|
|
16253
|
+
)[]
|
|
16254
|
+
| (
|
|
16255
|
+
| {
|
|
16256
|
+
pattern?: string
|
|
16257
|
+
flags?: string
|
|
16258
|
+
}
|
|
16259
|
+
| string
|
|
16260
|
+
)
|
|
16261
|
+
|
|
16262
|
+
elementNamePattern?:
|
|
16263
|
+
| (
|
|
16264
|
+
| {
|
|
16265
|
+
pattern?: string
|
|
16266
|
+
flags?: string
|
|
16267
|
+
}
|
|
16268
|
+
| string
|
|
16269
|
+
)[]
|
|
16270
|
+
| (
|
|
16271
|
+
| {
|
|
16272
|
+
pattern?: string
|
|
16273
|
+
flags?: string
|
|
16274
|
+
}
|
|
16275
|
+
| string
|
|
16276
|
+
)
|
|
15042
16277
|
}[]
|
|
15043
16278
|
}
|
|
15044
16279
|
| {
|
|
@@ -15054,11 +16289,72 @@ type PerfectionistSortObjects = {
|
|
|
15054
16289
|
|
|
15055
16290
|
selector?: 'member' | 'method' | 'multiline' | 'property'
|
|
15056
16291
|
|
|
15057
|
-
elementValuePattern?:
|
|
16292
|
+
elementValuePattern?:
|
|
16293
|
+
| (
|
|
16294
|
+
| {
|
|
16295
|
+
pattern?: string
|
|
16296
|
+
flags?: string
|
|
16297
|
+
}
|
|
16298
|
+
| string
|
|
16299
|
+
)[]
|
|
16300
|
+
| (
|
|
16301
|
+
| {
|
|
16302
|
+
pattern?: string
|
|
16303
|
+
flags?: string
|
|
16304
|
+
}
|
|
16305
|
+
| string
|
|
16306
|
+
)
|
|
15058
16307
|
|
|
15059
|
-
elementNamePattern?:
|
|
16308
|
+
elementNamePattern?:
|
|
16309
|
+
| (
|
|
16310
|
+
| {
|
|
16311
|
+
pattern?: string
|
|
16312
|
+
flags?: string
|
|
16313
|
+
}
|
|
16314
|
+
| string
|
|
16315
|
+
)[]
|
|
16316
|
+
| (
|
|
16317
|
+
| {
|
|
16318
|
+
pattern?: string
|
|
16319
|
+
flags?: string
|
|
16320
|
+
}
|
|
16321
|
+
| string
|
|
16322
|
+
)
|
|
15060
16323
|
}
|
|
15061
16324
|
)[]
|
|
16325
|
+
useConfigurationIf?: {
|
|
16326
|
+
allNamesMatchPattern?:
|
|
16327
|
+
| (
|
|
16328
|
+
| {
|
|
16329
|
+
pattern?: string
|
|
16330
|
+
flags?: string
|
|
16331
|
+
}
|
|
16332
|
+
| string
|
|
16333
|
+
)[]
|
|
16334
|
+
| (
|
|
16335
|
+
| {
|
|
16336
|
+
pattern?: string
|
|
16337
|
+
flags?: string
|
|
16338
|
+
}
|
|
16339
|
+
| string
|
|
16340
|
+
)
|
|
16341
|
+
|
|
16342
|
+
callingFunctionNamePattern?:
|
|
16343
|
+
| (
|
|
16344
|
+
| {
|
|
16345
|
+
pattern?: string
|
|
16346
|
+
flags?: string
|
|
16347
|
+
}
|
|
16348
|
+
| string
|
|
16349
|
+
)[]
|
|
16350
|
+
| (
|
|
16351
|
+
| {
|
|
16352
|
+
pattern?: string
|
|
16353
|
+
flags?: string
|
|
16354
|
+
}
|
|
16355
|
+
| string
|
|
16356
|
+
)
|
|
16357
|
+
}
|
|
15062
16358
|
|
|
15063
16359
|
destructureOnly?: boolean
|
|
15064
16360
|
|
|
@@ -15066,28 +16362,88 @@ type PerfectionistSortObjects = {
|
|
|
15066
16362
|
|
|
15067
16363
|
styledComponents?: boolean
|
|
15068
16364
|
|
|
15069
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15070
|
-
|
|
15071
16365
|
partitionByComment?:
|
|
15072
|
-
| string[]
|
|
15073
16366
|
| boolean
|
|
15074
|
-
|
|
|
16367
|
+
| (
|
|
16368
|
+
| (
|
|
16369
|
+
| {
|
|
16370
|
+
pattern?: string
|
|
16371
|
+
flags?: string
|
|
16372
|
+
}
|
|
16373
|
+
| string
|
|
16374
|
+
)[]
|
|
16375
|
+
| (
|
|
16376
|
+
| {
|
|
16377
|
+
pattern?: string
|
|
16378
|
+
flags?: string
|
|
16379
|
+
}
|
|
16380
|
+
| string
|
|
16381
|
+
)
|
|
16382
|
+
)
|
|
15075
16383
|
| {
|
|
15076
|
-
block?:
|
|
15077
|
-
|
|
15078
|
-
|
|
16384
|
+
block?:
|
|
16385
|
+
| boolean
|
|
16386
|
+
| (
|
|
16387
|
+
| (
|
|
16388
|
+
| {
|
|
16389
|
+
pattern?: string
|
|
16390
|
+
flags?: string
|
|
16391
|
+
}
|
|
16392
|
+
| string
|
|
16393
|
+
)[]
|
|
16394
|
+
| (
|
|
16395
|
+
| {
|
|
16396
|
+
pattern?: string
|
|
16397
|
+
flags?: string
|
|
16398
|
+
}
|
|
16399
|
+
| string
|
|
16400
|
+
)
|
|
16401
|
+
)
|
|
16402
|
+
line?:
|
|
16403
|
+
| boolean
|
|
16404
|
+
| (
|
|
16405
|
+
| (
|
|
16406
|
+
| {
|
|
16407
|
+
pattern?: string
|
|
16408
|
+
flags?: string
|
|
16409
|
+
}
|
|
16410
|
+
| string
|
|
16411
|
+
)[]
|
|
16412
|
+
| (
|
|
16413
|
+
| {
|
|
16414
|
+
pattern?: string
|
|
16415
|
+
flags?: string
|
|
16416
|
+
}
|
|
16417
|
+
| string
|
|
16418
|
+
)
|
|
16419
|
+
)
|
|
15079
16420
|
}
|
|
15080
16421
|
|
|
15081
16422
|
partitionByNewLine?: boolean
|
|
15082
16423
|
|
|
15083
16424
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15084
16425
|
|
|
16426
|
+
ignorePattern?:
|
|
16427
|
+
| (
|
|
16428
|
+
| {
|
|
16429
|
+
pattern?: string
|
|
16430
|
+
flags?: string
|
|
16431
|
+
}
|
|
16432
|
+
| string
|
|
16433
|
+
)[]
|
|
16434
|
+
| (
|
|
16435
|
+
| {
|
|
16436
|
+
pattern?: string
|
|
16437
|
+
flags?: string
|
|
16438
|
+
}
|
|
16439
|
+
| string
|
|
16440
|
+
)
|
|
16441
|
+
|
|
15085
16442
|
groups?: (
|
|
15086
16443
|
| string
|
|
15087
16444
|
| string[]
|
|
15088
16445
|
| {
|
|
15089
16446
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15090
|
-
[k: string]: unknown | undefined
|
|
15091
16447
|
}
|
|
15092
16448
|
)[]
|
|
15093
16449
|
}[]
|
|
@@ -15095,6 +16451,13 @@ type PerfectionistSortObjects = {
|
|
|
15095
16451
|
type PerfectionistSortSets = {
|
|
15096
16452
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15097
16453
|
|
|
16454
|
+
fallbackSort?: {
|
|
16455
|
+
order?: 'asc' | 'desc'
|
|
16456
|
+
|
|
16457
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16458
|
+
[k: string]: unknown | undefined
|
|
16459
|
+
}
|
|
16460
|
+
|
|
15098
16461
|
ignoreCase?: boolean
|
|
15099
16462
|
|
|
15100
16463
|
alphabet?: string
|
|
@@ -15103,6 +16466,8 @@ type PerfectionistSortSets = {
|
|
|
15103
16466
|
|
|
15104
16467
|
order?: 'asc' | 'desc'
|
|
15105
16468
|
|
|
16469
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16470
|
+
|
|
15106
16471
|
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
15107
16472
|
|
|
15108
16473
|
customGroups?: (
|
|
@@ -15117,7 +16482,21 @@ type PerfectionistSortSets = {
|
|
|
15117
16482
|
anyOf?: {
|
|
15118
16483
|
selector?: 'literal' | 'spread'
|
|
15119
16484
|
|
|
15120
|
-
elementNamePattern?:
|
|
16485
|
+
elementNamePattern?:
|
|
16486
|
+
| (
|
|
16487
|
+
| {
|
|
16488
|
+
pattern?: string
|
|
16489
|
+
flags?: string
|
|
16490
|
+
}
|
|
16491
|
+
| string
|
|
16492
|
+
)[]
|
|
16493
|
+
| (
|
|
16494
|
+
| {
|
|
16495
|
+
pattern?: string
|
|
16496
|
+
flags?: string
|
|
16497
|
+
}
|
|
16498
|
+
| string
|
|
16499
|
+
)
|
|
15121
16500
|
}[]
|
|
15122
16501
|
}
|
|
15123
16502
|
| {
|
|
@@ -15131,23 +16510,96 @@ type PerfectionistSortSets = {
|
|
|
15131
16510
|
|
|
15132
16511
|
selector?: 'literal' | 'spread'
|
|
15133
16512
|
|
|
15134
|
-
elementNamePattern?:
|
|
16513
|
+
elementNamePattern?:
|
|
16514
|
+
| (
|
|
16515
|
+
| {
|
|
16516
|
+
pattern?: string
|
|
16517
|
+
flags?: string
|
|
16518
|
+
}
|
|
16519
|
+
| string
|
|
16520
|
+
)[]
|
|
16521
|
+
| (
|
|
16522
|
+
| {
|
|
16523
|
+
pattern?: string
|
|
16524
|
+
flags?: string
|
|
16525
|
+
}
|
|
16526
|
+
| string
|
|
16527
|
+
)
|
|
15135
16528
|
}
|
|
15136
16529
|
)[]
|
|
15137
16530
|
useConfigurationIf?: {
|
|
15138
|
-
allNamesMatchPattern?:
|
|
16531
|
+
allNamesMatchPattern?:
|
|
16532
|
+
| (
|
|
16533
|
+
| {
|
|
16534
|
+
pattern?: string
|
|
16535
|
+
flags?: string
|
|
16536
|
+
}
|
|
16537
|
+
| string
|
|
16538
|
+
)[]
|
|
16539
|
+
| (
|
|
16540
|
+
| {
|
|
16541
|
+
pattern?: string
|
|
16542
|
+
flags?: string
|
|
16543
|
+
}
|
|
16544
|
+
| string
|
|
16545
|
+
)
|
|
15139
16546
|
}
|
|
15140
16547
|
|
|
15141
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15142
|
-
|
|
15143
16548
|
partitionByComment?:
|
|
15144
|
-
| string[]
|
|
15145
16549
|
| boolean
|
|
15146
|
-
|
|
|
16550
|
+
| (
|
|
16551
|
+
| (
|
|
16552
|
+
| {
|
|
16553
|
+
pattern?: string
|
|
16554
|
+
flags?: string
|
|
16555
|
+
}
|
|
16556
|
+
| string
|
|
16557
|
+
)[]
|
|
16558
|
+
| (
|
|
16559
|
+
| {
|
|
16560
|
+
pattern?: string
|
|
16561
|
+
flags?: string
|
|
16562
|
+
}
|
|
16563
|
+
| string
|
|
16564
|
+
)
|
|
16565
|
+
)
|
|
15147
16566
|
| {
|
|
15148
|
-
block?:
|
|
15149
|
-
|
|
15150
|
-
|
|
16567
|
+
block?:
|
|
16568
|
+
| boolean
|
|
16569
|
+
| (
|
|
16570
|
+
| (
|
|
16571
|
+
| {
|
|
16572
|
+
pattern?: string
|
|
16573
|
+
flags?: string
|
|
16574
|
+
}
|
|
16575
|
+
| string
|
|
16576
|
+
)[]
|
|
16577
|
+
| (
|
|
16578
|
+
| {
|
|
16579
|
+
pattern?: string
|
|
16580
|
+
flags?: string
|
|
16581
|
+
}
|
|
16582
|
+
| string
|
|
16583
|
+
)
|
|
16584
|
+
)
|
|
16585
|
+
line?:
|
|
16586
|
+
| boolean
|
|
16587
|
+
| (
|
|
16588
|
+
| (
|
|
16589
|
+
| {
|
|
16590
|
+
pattern?: string
|
|
16591
|
+
flags?: string
|
|
16592
|
+
}
|
|
16593
|
+
| string
|
|
16594
|
+
)[]
|
|
16595
|
+
| (
|
|
16596
|
+
| {
|
|
16597
|
+
pattern?: string
|
|
16598
|
+
flags?: string
|
|
16599
|
+
}
|
|
16600
|
+
| string
|
|
16601
|
+
)
|
|
16602
|
+
)
|
|
15151
16603
|
}
|
|
15152
16604
|
|
|
15153
16605
|
partitionByNewLine?: boolean
|
|
@@ -15159,7 +16611,6 @@ type PerfectionistSortSets = {
|
|
|
15159
16611
|
| string[]
|
|
15160
16612
|
| {
|
|
15161
16613
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15162
|
-
[k: string]: unknown | undefined
|
|
15163
16614
|
}
|
|
15164
16615
|
)[]
|
|
15165
16616
|
}[]
|
|
@@ -15170,6 +16621,13 @@ type PerfectionistSortSwitchCase =
|
|
|
15170
16621
|
{
|
|
15171
16622
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15172
16623
|
|
|
16624
|
+
fallbackSort?: {
|
|
16625
|
+
order?: 'asc' | 'desc'
|
|
16626
|
+
|
|
16627
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16628
|
+
[k: string]: unknown | undefined
|
|
16629
|
+
}
|
|
16630
|
+
|
|
15173
16631
|
ignoreCase?: boolean
|
|
15174
16632
|
|
|
15175
16633
|
alphabet?: string
|
|
@@ -15178,7 +16636,7 @@ type PerfectionistSortSwitchCase =
|
|
|
15178
16636
|
|
|
15179
16637
|
order?: 'asc' | 'desc'
|
|
15180
16638
|
|
|
15181
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
16639
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15182
16640
|
},
|
|
15183
16641
|
]
|
|
15184
16642
|
// ----- perfectionist/sort-union-types -----
|
|
@@ -15188,6 +16646,13 @@ type PerfectionistSortUnionTypes =
|
|
|
15188
16646
|
{
|
|
15189
16647
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15190
16648
|
|
|
16649
|
+
fallbackSort?: {
|
|
16650
|
+
order?: 'asc' | 'desc'
|
|
16651
|
+
|
|
16652
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16653
|
+
[k: string]: unknown | undefined
|
|
16654
|
+
}
|
|
16655
|
+
|
|
15191
16656
|
ignoreCase?: boolean
|
|
15192
16657
|
|
|
15193
16658
|
alphabet?: string
|
|
@@ -15196,28 +16661,74 @@ type PerfectionistSortUnionTypes =
|
|
|
15196
16661
|
|
|
15197
16662
|
order?: 'asc' | 'desc'
|
|
15198
16663
|
|
|
16664
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16665
|
+
|
|
15199
16666
|
partitionByComment?:
|
|
15200
|
-
| string[]
|
|
15201
16667
|
| boolean
|
|
15202
|
-
|
|
|
16668
|
+
| (
|
|
16669
|
+
| (
|
|
16670
|
+
| {
|
|
16671
|
+
pattern?: string
|
|
16672
|
+
flags?: string
|
|
16673
|
+
}
|
|
16674
|
+
| string
|
|
16675
|
+
)[]
|
|
16676
|
+
| (
|
|
16677
|
+
| {
|
|
16678
|
+
pattern?: string
|
|
16679
|
+
flags?: string
|
|
16680
|
+
}
|
|
16681
|
+
| string
|
|
16682
|
+
)
|
|
16683
|
+
)
|
|
15203
16684
|
| {
|
|
15204
|
-
block?:
|
|
15205
|
-
|
|
15206
|
-
|
|
16685
|
+
block?:
|
|
16686
|
+
| boolean
|
|
16687
|
+
| (
|
|
16688
|
+
| (
|
|
16689
|
+
| {
|
|
16690
|
+
pattern?: string
|
|
16691
|
+
flags?: string
|
|
16692
|
+
}
|
|
16693
|
+
| string
|
|
16694
|
+
)[]
|
|
16695
|
+
| (
|
|
16696
|
+
| {
|
|
16697
|
+
pattern?: string
|
|
16698
|
+
flags?: string
|
|
16699
|
+
}
|
|
16700
|
+
| string
|
|
16701
|
+
)
|
|
16702
|
+
)
|
|
16703
|
+
line?:
|
|
16704
|
+
| boolean
|
|
16705
|
+
| (
|
|
16706
|
+
| (
|
|
16707
|
+
| {
|
|
16708
|
+
pattern?: string
|
|
16709
|
+
flags?: string
|
|
16710
|
+
}
|
|
16711
|
+
| string
|
|
16712
|
+
)[]
|
|
16713
|
+
| (
|
|
16714
|
+
| {
|
|
16715
|
+
pattern?: string
|
|
16716
|
+
flags?: string
|
|
16717
|
+
}
|
|
16718
|
+
| string
|
|
16719
|
+
)
|
|
16720
|
+
)
|
|
15207
16721
|
}
|
|
15208
16722
|
|
|
15209
16723
|
partitionByNewLine?: boolean
|
|
15210
16724
|
|
|
15211
16725
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15212
16726
|
|
|
15213
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
15214
|
-
|
|
15215
16727
|
groups?: (
|
|
15216
16728
|
| string
|
|
15217
16729
|
| string[]
|
|
15218
16730
|
| {
|
|
15219
16731
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15220
|
-
[k: string]: unknown | undefined
|
|
15221
16732
|
}
|
|
15222
16733
|
)[]
|
|
15223
16734
|
},
|
|
@@ -15229,6 +16740,13 @@ type PerfectionistSortVariableDeclarations =
|
|
|
15229
16740
|
{
|
|
15230
16741
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15231
16742
|
|
|
16743
|
+
fallbackSort?: {
|
|
16744
|
+
order?: 'asc' | 'desc'
|
|
16745
|
+
|
|
16746
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16747
|
+
[k: string]: unknown | undefined
|
|
16748
|
+
}
|
|
16749
|
+
|
|
15232
16750
|
ignoreCase?: boolean
|
|
15233
16751
|
|
|
15234
16752
|
alphabet?: string
|
|
@@ -15237,19 +16755,66 @@ type PerfectionistSortVariableDeclarations =
|
|
|
15237
16755
|
|
|
15238
16756
|
order?: 'asc' | 'desc'
|
|
15239
16757
|
|
|
16758
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16759
|
+
|
|
15240
16760
|
partitionByComment?:
|
|
15241
|
-
| string[]
|
|
15242
16761
|
| boolean
|
|
15243
|
-
|
|
|
16762
|
+
| (
|
|
16763
|
+
| (
|
|
16764
|
+
| {
|
|
16765
|
+
pattern?: string
|
|
16766
|
+
flags?: string
|
|
16767
|
+
}
|
|
16768
|
+
| string
|
|
16769
|
+
)[]
|
|
16770
|
+
| (
|
|
16771
|
+
| {
|
|
16772
|
+
pattern?: string
|
|
16773
|
+
flags?: string
|
|
16774
|
+
}
|
|
16775
|
+
| string
|
|
16776
|
+
)
|
|
16777
|
+
)
|
|
15244
16778
|
| {
|
|
15245
|
-
block?:
|
|
15246
|
-
|
|
15247
|
-
|
|
16779
|
+
block?:
|
|
16780
|
+
| boolean
|
|
16781
|
+
| (
|
|
16782
|
+
| (
|
|
16783
|
+
| {
|
|
16784
|
+
pattern?: string
|
|
16785
|
+
flags?: string
|
|
16786
|
+
}
|
|
16787
|
+
| string
|
|
16788
|
+
)[]
|
|
16789
|
+
| (
|
|
16790
|
+
| {
|
|
16791
|
+
pattern?: string
|
|
16792
|
+
flags?: string
|
|
16793
|
+
}
|
|
16794
|
+
| string
|
|
16795
|
+
)
|
|
16796
|
+
)
|
|
16797
|
+
line?:
|
|
16798
|
+
| boolean
|
|
16799
|
+
| (
|
|
16800
|
+
| (
|
|
16801
|
+
| {
|
|
16802
|
+
pattern?: string
|
|
16803
|
+
flags?: string
|
|
16804
|
+
}
|
|
16805
|
+
| string
|
|
16806
|
+
)[]
|
|
16807
|
+
| (
|
|
16808
|
+
| {
|
|
16809
|
+
pattern?: string
|
|
16810
|
+
flags?: string
|
|
16811
|
+
}
|
|
16812
|
+
| string
|
|
16813
|
+
)
|
|
16814
|
+
)
|
|
15248
16815
|
}
|
|
15249
16816
|
|
|
15250
16817
|
partitionByNewLine?: boolean
|
|
15251
|
-
|
|
15252
|
-
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom'
|
|
15253
16818
|
},
|
|
15254
16819
|
]
|
|
15255
16820
|
// ----- prefer-arrow-callback -----
|
|
@@ -15872,6 +17437,20 @@ type SvelteCommentDirective =
|
|
|
15872
17437
|
reportUnusedDisableDirectives?: boolean
|
|
15873
17438
|
},
|
|
15874
17439
|
]
|
|
17440
|
+
// ----- svelte/consistent-selector-style -----
|
|
17441
|
+
type SvelteConsistentSelectorStyle =
|
|
17442
|
+
| []
|
|
17443
|
+
| [
|
|
17444
|
+
{
|
|
17445
|
+
checkGlobal?: boolean
|
|
17446
|
+
|
|
17447
|
+
style?:
|
|
17448
|
+
| []
|
|
17449
|
+
| ['class' | 'id' | 'type']
|
|
17450
|
+
| ['class' | 'id' | 'type', 'class' | 'id' | 'type']
|
|
17451
|
+
| ['class' | 'id' | 'type', 'class' | 'id' | 'type', 'class' | 'id' | 'type']
|
|
17452
|
+
},
|
|
17453
|
+
]
|
|
15875
17454
|
// ----- svelte/first-attribute-linebreak -----
|
|
15876
17455
|
type SvelteFirstAttributeLinebreak =
|
|
15877
17456
|
| []
|
|
@@ -15923,7 +17502,8 @@ type SvelteHtmlSelfClosing =
|
|
|
15923
17502
|
| {
|
|
15924
17503
|
void?: 'never' | 'always' | 'ignore'
|
|
15925
17504
|
normal?: 'never' | 'always' | 'ignore'
|
|
15926
|
-
|
|
17505
|
+
svg?: 'never' | 'always' | 'ignore'
|
|
17506
|
+
math?: 'never' | 'always' | 'ignore'
|
|
15927
17507
|
component?: 'never' | 'always' | 'ignore'
|
|
15928
17508
|
svelte?: 'never' | 'always' | 'ignore'
|
|
15929
17509
|
}
|
|
@@ -15986,6 +17566,17 @@ type SvelteNoInnerDeclarations =
|
|
|
15986
17566
|
blockScopedFunctions?: 'allow' | 'disallow'
|
|
15987
17567
|
},
|
|
15988
17568
|
]
|
|
17569
|
+
// ----- svelte/no-navigation-without-base -----
|
|
17570
|
+
type SvelteNoNavigationWithoutBase =
|
|
17571
|
+
| []
|
|
17572
|
+
| [
|
|
17573
|
+
{
|
|
17574
|
+
ignoreGoto?: boolean
|
|
17575
|
+
ignoreLinks?: boolean
|
|
17576
|
+
ignorePushState?: boolean
|
|
17577
|
+
ignoreReplaceState?: boolean
|
|
17578
|
+
},
|
|
17579
|
+
]
|
|
15989
17580
|
// ----- svelte/no-reactive-reassign -----
|
|
15990
17581
|
type SvelteNoReactiveReassign =
|
|
15991
17582
|
| []
|
|
@@ -16063,6 +17654,15 @@ type SveltePreferClassDirective =
|
|
|
16063
17654
|
prefer?: 'always' | 'empty'
|
|
16064
17655
|
},
|
|
16065
17656
|
]
|
|
17657
|
+
// ----- svelte/prefer-const -----
|
|
17658
|
+
type SveltePreferConst =
|
|
17659
|
+
| []
|
|
17660
|
+
| [
|
|
17661
|
+
{
|
|
17662
|
+
destructuring?: 'any' | 'all'
|
|
17663
|
+
ignoreReadBeforeAssign?: boolean
|
|
17664
|
+
},
|
|
17665
|
+
]
|
|
16066
17666
|
// ----- svelte/shorthand-attribute -----
|
|
16067
17667
|
type SvelteShorthandAttribute =
|
|
16068
17668
|
| []
|
|
@@ -19674,7 +21274,7 @@ type TsNoUnnecessaryCondition =
|
|
|
19674
21274
|
| []
|
|
19675
21275
|
| [
|
|
19676
21276
|
{
|
|
19677
|
-
allowConstantLoopConditions?: boolean
|
|
21277
|
+
allowConstantLoopConditions?: boolean | ('always' | 'never' | 'only-allowed-literals')
|
|
19678
21278
|
|
|
19679
21279
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
19680
21280
|
|
|
@@ -20266,6 +21866,17 @@ type UnicornNoArrayReduce =
|
|
|
20266
21866
|
allowSimpleOperations?: boolean
|
|
20267
21867
|
},
|
|
20268
21868
|
]
|
|
21869
|
+
// ----- unicorn/no-instanceof-builtins -----
|
|
21870
|
+
type UnicornNoInstanceofBuiltins =
|
|
21871
|
+
| []
|
|
21872
|
+
| [
|
|
21873
|
+
{
|
|
21874
|
+
useErrorIsError?: boolean
|
|
21875
|
+
strategy?: 'loose' | 'strict'
|
|
21876
|
+
include?: string[]
|
|
21877
|
+
exclude?: string[]
|
|
21878
|
+
},
|
|
21879
|
+
]
|
|
20269
21880
|
// ----- unicorn/no-keyword-prefix -----
|
|
20270
21881
|
type UnicornNoKeywordPrefix =
|
|
20271
21882
|
| []
|