@ncontiero/eslint-config 7.0.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1604 -322
- package/dist/index.js +1 -1
- package/package.json +31 -31
package/dist/index.d.ts
CHANGED
|
@@ -511,7 +511,7 @@ interface RuleOptions {
|
|
|
511
511
|
* Disallow default values that will never be used
|
|
512
512
|
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
513
513
|
*/
|
|
514
|
-
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<
|
|
514
|
+
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>
|
|
515
515
|
/**
|
|
516
516
|
* Disallow empty exports that don't change anything in a module file
|
|
517
517
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -685,6 +685,11 @@ interface RuleOptions {
|
|
|
685
685
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
686
686
|
*/
|
|
687
687
|
'@typescript-eslint/strict-boolean-expressions'?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>
|
|
688
|
+
/**
|
|
689
|
+
* Disallow passing a value-returning function in a position accepting a void function
|
|
690
|
+
* @see https://typescript-eslint.io/rules/strict-void-return
|
|
691
|
+
*/
|
|
692
|
+
'@typescript-eslint/strict-void-return'?: Linter.RuleEntry<TypescriptEslintStrictVoidReturn>
|
|
688
693
|
/**
|
|
689
694
|
* Require switch-case statements to be exhaustive
|
|
690
695
|
* @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
|
|
@@ -1081,6 +1086,10 @@ interface RuleOptions {
|
|
|
1081
1086
|
* @see https://html-eslint.org/docs/rules/class-spacing
|
|
1082
1087
|
*/
|
|
1083
1088
|
'html/class-spacing'?: Linter.RuleEntry<[]>
|
|
1089
|
+
/**
|
|
1090
|
+
* Disallows empty CSS blocks in `<style>` tags.
|
|
1091
|
+
*/
|
|
1092
|
+
'html/css-no-empty-blocks'?: Linter.RuleEntry<[]>
|
|
1084
1093
|
/**
|
|
1085
1094
|
* Enforce newline between elements.
|
|
1086
1095
|
* @see https://html-eslint.org/docs/rules/element-newline
|
|
@@ -1174,6 +1183,11 @@ interface RuleOptions {
|
|
|
1174
1183
|
* @see https://html-eslint.org/docs/rules/no-inline-styles
|
|
1175
1184
|
*/
|
|
1176
1185
|
'html/no-inline-styles'?: Linter.RuleEntry<[]>
|
|
1186
|
+
/**
|
|
1187
|
+
* Disallow invalid attribute values according to HTML standards
|
|
1188
|
+
* @see https://html-eslint.org/docs/rules/no-invalid-attr-value
|
|
1189
|
+
*/
|
|
1190
|
+
'html/no-invalid-attr-value'?: Linter.RuleEntry<HtmlNoInvalidAttrValue>
|
|
1177
1191
|
/**
|
|
1178
1192
|
* Disallows the use of invalid HTML entities
|
|
1179
1193
|
* @see https://html-eslint.org/docs/rules/no-invalid-entity
|
|
@@ -1219,6 +1233,11 @@ interface RuleOptions {
|
|
|
1219
1233
|
* @see https://html-eslint.org/docs/rules/no-positive-tabindex
|
|
1220
1234
|
*/
|
|
1221
1235
|
'html/no-positive-tabindex'?: Linter.RuleEntry<[]>
|
|
1236
|
+
/**
|
|
1237
|
+
* Disallow redundant role attributes that match the element's implicit role
|
|
1238
|
+
* @see https://html-eslint.org/docs/rules/no-redundant-role
|
|
1239
|
+
*/
|
|
1240
|
+
'html/no-redundant-role'?: Linter.RuleEntry<[]>
|
|
1222
1241
|
/**
|
|
1223
1242
|
* Disallow specified attributes
|
|
1224
1243
|
* @see https://html-eslint.org/docs/rules/no-restricted-attr-values
|
|
@@ -3739,6 +3758,11 @@ interface RuleOptions {
|
|
|
3739
3758
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
3740
3759
|
*/
|
|
3741
3760
|
'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>
|
|
3761
|
+
/**
|
|
3762
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
3763
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
3764
|
+
*/
|
|
3765
|
+
'node/prefer-global/crypto'?: Linter.RuleEntry<NodePreferGlobalCrypto>
|
|
3742
3766
|
/**
|
|
3743
3767
|
* enforce either `process` or `require("process")`
|
|
3744
3768
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -3754,6 +3778,11 @@ interface RuleOptions {
|
|
|
3754
3778
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
3755
3779
|
*/
|
|
3756
3780
|
'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>
|
|
3781
|
+
/**
|
|
3782
|
+
* enforce either global timer functions or `require("timers")`
|
|
3783
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
3784
|
+
*/
|
|
3785
|
+
'node/prefer-global/timers'?: Linter.RuleEntry<NodePreferGlobalTimers>
|
|
3757
3786
|
/**
|
|
3758
3787
|
* enforce either `URL` or `require("url").URL`
|
|
3759
3788
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -5492,725 +5521,730 @@ interface RuleOptions {
|
|
|
5492
5521
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5493
5522
|
/**
|
|
5494
5523
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
|
|
5496
5525
|
*/
|
|
5497
5526
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5498
5527
|
/**
|
|
5499
5528
|
* Enforce a specific parameter name in catch clauses.
|
|
5500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
|
|
5501
5530
|
*/
|
|
5502
5531
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5503
5532
|
/**
|
|
5504
5533
|
* Enforce consistent assertion style with `node:assert`.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
|
|
5506
5535
|
*/
|
|
5507
5536
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
5508
5537
|
/**
|
|
5509
5538
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
|
|
5511
5540
|
*/
|
|
5512
5541
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
5513
5542
|
/**
|
|
5514
5543
|
* Use destructured variables over properties.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
|
|
5516
5545
|
*/
|
|
5517
5546
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5518
5547
|
/**
|
|
5519
5548
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5521
5550
|
*/
|
|
5522
5551
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5523
5552
|
/**
|
|
5524
5553
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
|
|
5526
5555
|
*/
|
|
5527
5556
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5528
5557
|
/**
|
|
5529
5558
|
* Move function definitions to the highest possible scope.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5559
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
|
|
5531
5560
|
*/
|
|
5532
5561
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5533
5562
|
/**
|
|
5534
5563
|
* Enforce correct `Error` subclassing.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
|
|
5536
5565
|
*/
|
|
5537
5566
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5538
5567
|
/**
|
|
5539
5568
|
* Enforce no spaces between braces.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5569
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
|
|
5541
5570
|
*/
|
|
5542
5571
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5543
5572
|
/**
|
|
5544
5573
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
|
|
5546
5575
|
*/
|
|
5547
5576
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5548
5577
|
/**
|
|
5549
5578
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
|
|
5551
5580
|
*/
|
|
5552
5581
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
5553
5582
|
/**
|
|
5554
5583
|
* Add expiration conditions to TODO comments.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
|
|
5556
5585
|
*/
|
|
5557
5586
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5558
5587
|
/**
|
|
5559
5588
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
|
|
5561
5590
|
*/
|
|
5562
5591
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5563
5592
|
/**
|
|
5564
5593
|
* Enforce a case style for filenames.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
|
|
5566
5595
|
*/
|
|
5567
5596
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5568
5597
|
/**
|
|
5569
5598
|
* Enforce specific import styles per module.
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
|
|
5571
5600
|
*/
|
|
5572
5601
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5602
|
+
/**
|
|
5603
|
+
* Prevent usage of variables from outside the scope of isolated functions.
|
|
5604
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
|
|
5605
|
+
*/
|
|
5606
|
+
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>
|
|
5573
5607
|
/**
|
|
5574
5608
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5575
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
|
|
5576
5610
|
*/
|
|
5577
5611
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5578
5612
|
/**
|
|
5579
5613
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5581
5615
|
*/
|
|
5582
5616
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5583
5617
|
/**
|
|
5584
5618
|
* Disallow recursive access to `this` within getters and setters.
|
|
5585
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
|
|
5586
5620
|
*/
|
|
5587
5621
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
5588
5622
|
/**
|
|
5589
5623
|
* Disallow anonymous functions and classes as the default export.
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
|
|
5591
5625
|
*/
|
|
5592
5626
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5593
5627
|
/**
|
|
5594
5628
|
* Prevent passing a function reference directly to iterator methods.
|
|
5595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
|
|
5596
5630
|
*/
|
|
5597
5631
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5598
5632
|
/**
|
|
5599
5633
|
* Prefer `for…of` over the `forEach` method.
|
|
5600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
|
|
5601
5635
|
*/
|
|
5602
5636
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5603
5637
|
/**
|
|
5604
5638
|
* Disallow using the `this` argument in array methods.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
|
|
5606
5640
|
*/
|
|
5607
5641
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5608
5642
|
/**
|
|
5609
5643
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
5611
5645
|
* @deprecated
|
|
5612
5646
|
*/
|
|
5613
5647
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
5614
5648
|
/**
|
|
5615
5649
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
|
|
5617
5651
|
*/
|
|
5618
5652
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5619
5653
|
/**
|
|
5620
5654
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
|
|
5622
5656
|
*/
|
|
5623
5657
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
|
|
5624
5658
|
/**
|
|
5625
5659
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
|
|
5627
5661
|
*/
|
|
5628
5662
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
|
|
5629
5663
|
/**
|
|
5630
5664
|
* Disallow member access from await expression.
|
|
5631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
|
|
5632
5666
|
*/
|
|
5633
5667
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5634
5668
|
/**
|
|
5635
5669
|
* Disallow using `await` in `Promise` method parameters.
|
|
5636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5637
5671
|
*/
|
|
5638
5672
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5639
5673
|
/**
|
|
5640
5674
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
|
|
5642
5676
|
*/
|
|
5643
5677
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5644
5678
|
/**
|
|
5645
5679
|
* Do not use `document.cookie` directly.
|
|
5646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
|
|
5647
5681
|
*/
|
|
5648
5682
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5649
5683
|
/**
|
|
5650
5684
|
* Disallow empty files.
|
|
5651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
|
|
5652
5686
|
*/
|
|
5653
5687
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5654
5688
|
/**
|
|
5655
5689
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
|
|
5657
5691
|
*/
|
|
5658
5692
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5659
5693
|
/**
|
|
5660
5694
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
|
|
5662
5696
|
*/
|
|
5663
5697
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5664
5698
|
/**
|
|
5665
5699
|
* Disallow immediate mutation after variable assignment.
|
|
5666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
|
|
5667
5701
|
*/
|
|
5668
5702
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>
|
|
5669
5703
|
/**
|
|
5670
5704
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
5672
5706
|
* @deprecated
|
|
5673
5707
|
*/
|
|
5674
5708
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5675
5709
|
/**
|
|
5676
5710
|
* Disallow `instanceof` with built-in objects
|
|
5677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
|
|
5678
5712
|
*/
|
|
5679
5713
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
5680
5714
|
/**
|
|
5681
5715
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5683
5717
|
*/
|
|
5684
5718
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5685
5719
|
/**
|
|
5686
5720
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5688
5722
|
*/
|
|
5689
5723
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5690
5724
|
/**
|
|
5691
5725
|
* Disallow identifiers starting with `new` or `class`.
|
|
5692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
|
|
5693
5727
|
*/
|
|
5694
5728
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5695
5729
|
/**
|
|
5696
5730
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
5698
5732
|
* @deprecated
|
|
5699
5733
|
*/
|
|
5700
5734
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5701
5735
|
/**
|
|
5702
5736
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
|
|
5704
5738
|
*/
|
|
5705
5739
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5706
5740
|
/**
|
|
5707
5741
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5708
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5709
5743
|
*/
|
|
5710
5744
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5711
5745
|
/**
|
|
5712
5746
|
* Disallow named usage of default import and export.
|
|
5713
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
|
|
5714
5748
|
*/
|
|
5715
5749
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
5716
5750
|
/**
|
|
5717
5751
|
* Disallow negated conditions.
|
|
5718
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
|
|
5719
5753
|
*/
|
|
5720
5754
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5721
5755
|
/**
|
|
5722
5756
|
* Disallow negated expression in equality check.
|
|
5723
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5724
5758
|
*/
|
|
5725
5759
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5726
5760
|
/**
|
|
5727
5761
|
* Disallow nested ternary expressions.
|
|
5728
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
|
|
5729
5763
|
*/
|
|
5730
5764
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5731
5765
|
/**
|
|
5732
5766
|
* Disallow `new Array()`.
|
|
5733
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
|
|
5734
5768
|
*/
|
|
5735
5769
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5736
5770
|
/**
|
|
5737
5771
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5738
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
|
|
5739
5773
|
*/
|
|
5740
5774
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5741
5775
|
/**
|
|
5742
5776
|
* Disallow the use of the `null` literal.
|
|
5743
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
|
|
5744
5778
|
*/
|
|
5745
5779
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5746
5780
|
/**
|
|
5747
5781
|
* Disallow the use of objects as default parameters.
|
|
5748
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5749
5783
|
*/
|
|
5750
5784
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5751
5785
|
/**
|
|
5752
5786
|
* Disallow `process.exit()`.
|
|
5753
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
|
|
5754
5788
|
*/
|
|
5755
5789
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5756
5790
|
/**
|
|
5757
5791
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5758
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5759
5793
|
*/
|
|
5760
5794
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5761
5795
|
/**
|
|
5762
5796
|
* Disallow classes that only have static members.
|
|
5763
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
|
|
5764
5798
|
*/
|
|
5765
5799
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5766
5800
|
/**
|
|
5767
5801
|
* Disallow `then` property.
|
|
5768
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
|
|
5769
5803
|
*/
|
|
5770
5804
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5771
5805
|
/**
|
|
5772
5806
|
* Disallow assigning `this` to a variable.
|
|
5773
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
|
|
5774
5808
|
*/
|
|
5775
5809
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5776
5810
|
/**
|
|
5777
5811
|
* Disallow comparing `undefined` using `typeof`.
|
|
5778
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
|
|
5779
5813
|
*/
|
|
5780
5814
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5781
5815
|
/**
|
|
5782
5816
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5784
5818
|
*/
|
|
5785
5819
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5786
5820
|
/**
|
|
5787
5821
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5788
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
5789
5823
|
*/
|
|
5790
5824
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
5791
5825
|
/**
|
|
5792
5826
|
* Disallow awaiting non-promise values.
|
|
5793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
|
|
5794
5828
|
*/
|
|
5795
5829
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5796
5830
|
/**
|
|
5797
5831
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5799
5833
|
*/
|
|
5800
5834
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5801
5835
|
/**
|
|
5802
5836
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
5804
5838
|
*/
|
|
5805
5839
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
5806
5840
|
/**
|
|
5807
5841
|
* Disallow unreadable array destructuring.
|
|
5808
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5809
5843
|
*/
|
|
5810
5844
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5811
5845
|
/**
|
|
5812
5846
|
* Disallow unreadable IIFEs.
|
|
5813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
|
|
5814
5848
|
*/
|
|
5815
5849
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5816
5850
|
/**
|
|
5817
5851
|
* Disallow unused object properties.
|
|
5818
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
|
|
5819
5853
|
*/
|
|
5820
5854
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5821
5855
|
/**
|
|
5822
5856
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
5823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
|
|
5824
5858
|
*/
|
|
5825
5859
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>
|
|
5826
5860
|
/**
|
|
5827
5861
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5829
5863
|
*/
|
|
5830
5864
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
|
|
5831
5865
|
/**
|
|
5832
5866
|
* Disallow useless fallback when spreading in object literals.
|
|
5833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5834
5868
|
*/
|
|
5835
5869
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5836
5870
|
/**
|
|
5837
5871
|
* Disallow useless array length check.
|
|
5838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
|
|
5839
5873
|
*/
|
|
5840
5874
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5841
5875
|
/**
|
|
5842
5876
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5843
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5844
5878
|
*/
|
|
5845
5879
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5846
5880
|
/**
|
|
5847
5881
|
* Disallow unnecessary spread.
|
|
5848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
|
|
5849
5883
|
*/
|
|
5850
5884
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5851
5885
|
/**
|
|
5852
5886
|
* Disallow useless case in switch statements.
|
|
5853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
|
|
5854
5888
|
*/
|
|
5855
5889
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5856
5890
|
/**
|
|
5857
5891
|
* Disallow useless `undefined`.
|
|
5858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
|
|
5859
5893
|
*/
|
|
5860
5894
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5861
5895
|
/**
|
|
5862
5896
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
|
|
5864
5898
|
*/
|
|
5865
5899
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5866
5900
|
/**
|
|
5867
5901
|
* Enforce proper case for numeric literals.
|
|
5868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
|
|
5869
5903
|
*/
|
|
5870
5904
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
5871
5905
|
/**
|
|
5872
5906
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
|
|
5874
5908
|
*/
|
|
5875
5909
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5876
5910
|
/**
|
|
5877
5911
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
|
|
5879
5913
|
*/
|
|
5880
5914
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5881
5915
|
/**
|
|
5882
5916
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
|
|
5884
5918
|
*/
|
|
5885
5919
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5886
5920
|
/**
|
|
5887
5921
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
|
|
5889
5923
|
*/
|
|
5890
5924
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5891
5925
|
/**
|
|
5892
5926
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
|
|
5894
5928
|
*/
|
|
5895
5929
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5896
5930
|
/**
|
|
5897
5931
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
|
|
5899
5933
|
*/
|
|
5900
5934
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5901
5935
|
/**
|
|
5902
5936
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
|
|
5904
5938
|
*/
|
|
5905
5939
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5906
5940
|
/**
|
|
5907
5941
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
|
|
5909
5943
|
*/
|
|
5910
5944
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5911
5945
|
/**
|
|
5912
5946
|
* Prefer `BigInt` literals over the constructor.
|
|
5913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
|
|
5914
5948
|
*/
|
|
5915
5949
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
|
|
5916
5950
|
/**
|
|
5917
5951
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5919
5953
|
*/
|
|
5920
5954
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5921
5955
|
/**
|
|
5922
5956
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
|
|
5924
5958
|
*/
|
|
5925
5959
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
|
|
5926
5960
|
/**
|
|
5927
5961
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
|
|
5929
5963
|
*/
|
|
5930
5964
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
|
|
5931
5965
|
/**
|
|
5932
5966
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
|
|
5934
5968
|
*/
|
|
5935
5969
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5936
5970
|
/**
|
|
5937
5971
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5972
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
|
|
5939
5973
|
*/
|
|
5940
5974
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5941
5975
|
/**
|
|
5942
5976
|
* Prefer default parameters over reassignment.
|
|
5943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5977
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
|
|
5944
5978
|
*/
|
|
5945
5979
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5946
5980
|
/**
|
|
5947
5981
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5982
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
|
|
5949
5983
|
*/
|
|
5950
5984
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5951
5985
|
/**
|
|
5952
5986
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5987
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5954
5988
|
*/
|
|
5955
5989
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5956
5990
|
/**
|
|
5957
5991
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5992
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5959
5993
|
*/
|
|
5960
5994
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5961
5995
|
/**
|
|
5962
5996
|
* Prefer `.textContent` over `.innerText`.
|
|
5963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5997
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5964
5998
|
*/
|
|
5965
5999
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5966
6000
|
/**
|
|
5967
6001
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6002
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
|
|
5969
6003
|
*/
|
|
5970
6004
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5971
6005
|
/**
|
|
5972
6006
|
* Prefer `export…from` when re-exporting.
|
|
5973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
|
|
5974
6008
|
*/
|
|
5975
6009
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5976
6010
|
/**
|
|
5977
6011
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
|
|
5979
6013
|
*/
|
|
5980
6014
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
5981
6015
|
/**
|
|
5982
6016
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
|
|
5984
6018
|
*/
|
|
5985
6019
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
5986
6020
|
/**
|
|
5987
6021
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6022
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
|
|
5989
6023
|
*/
|
|
5990
6024
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5991
6025
|
/**
|
|
5992
6026
|
* Prefer reading a JSON file as a buffer.
|
|
5993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6027
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5994
6028
|
*/
|
|
5995
6029
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5996
6030
|
/**
|
|
5997
6031
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5999
6033
|
*/
|
|
6000
6034
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6001
6035
|
/**
|
|
6002
6036
|
* Prefer using a logical operator over a ternary.
|
|
6003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6004
6038
|
*/
|
|
6005
6039
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6006
6040
|
/**
|
|
6007
6041
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
|
|
6009
6043
|
*/
|
|
6010
6044
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6011
6045
|
/**
|
|
6012
6046
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
|
|
6014
6048
|
*/
|
|
6015
6049
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6016
6050
|
/**
|
|
6017
6051
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
6019
6053
|
*/
|
|
6020
6054
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6021
6055
|
/**
|
|
6022
6056
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
|
|
6024
6058
|
*/
|
|
6025
6059
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6026
6060
|
/**
|
|
6027
6061
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
|
|
6029
6063
|
*/
|
|
6030
6064
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6031
6065
|
/**
|
|
6032
6066
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
6034
6068
|
*/
|
|
6035
6069
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6036
6070
|
/**
|
|
6037
6071
|
* Prefer negative index over `.length - index` when possible.
|
|
6038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
|
|
6039
6073
|
*/
|
|
6040
6074
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6041
6075
|
/**
|
|
6042
6076
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
|
|
6044
6078
|
*/
|
|
6045
6079
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6046
6080
|
/**
|
|
6047
6081
|
* Prefer `Number` static properties over global ones.
|
|
6048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
|
|
6049
6083
|
*/
|
|
6050
6084
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6051
6085
|
/**
|
|
6052
6086
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
|
|
6054
6088
|
*/
|
|
6055
6089
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6056
6090
|
/**
|
|
6057
6091
|
* Prefer omitting the `catch` binding parameter.
|
|
6058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6092
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
6059
6093
|
*/
|
|
6060
6094
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6061
6095
|
/**
|
|
6062
6096
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
|
|
6064
6098
|
*/
|
|
6065
6099
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6066
6100
|
/**
|
|
6067
6101
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
|
|
6069
6103
|
*/
|
|
6070
6104
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6071
6105
|
/**
|
|
6072
6106
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6107
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
|
|
6074
6108
|
*/
|
|
6075
6109
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6076
6110
|
/**
|
|
6077
6111
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
|
|
6079
6113
|
*/
|
|
6080
6114
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6081
6115
|
/**
|
|
6082
6116
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
6083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
|
|
6084
6118
|
*/
|
|
6085
6119
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>
|
|
6086
6120
|
/**
|
|
6087
6121
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
|
|
6089
6123
|
*/
|
|
6090
6124
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6091
6125
|
/**
|
|
6092
6126
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6127
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
|
|
6094
6128
|
*/
|
|
6095
6129
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6096
6130
|
/**
|
|
6097
6131
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
6098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
|
|
6099
6133
|
*/
|
|
6100
6134
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
6101
6135
|
/**
|
|
6102
6136
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
|
|
6104
6138
|
*/
|
|
6105
6139
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6106
6140
|
/**
|
|
6107
6141
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
|
|
6109
6143
|
*/
|
|
6110
6144
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6111
6145
|
/**
|
|
6112
6146
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
|
|
6114
6148
|
*/
|
|
6115
6149
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6116
6150
|
/**
|
|
6117
6151
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
|
|
6119
6153
|
*/
|
|
6120
6154
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6121
6155
|
/**
|
|
6122
6156
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
6124
6158
|
*/
|
|
6125
6159
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6126
6160
|
/**
|
|
6127
6161
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
6129
6163
|
*/
|
|
6130
6164
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6131
6165
|
/**
|
|
6132
6166
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
|
|
6134
6168
|
*/
|
|
6135
6169
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6136
6170
|
/**
|
|
6137
6171
|
* Prefer `switch` over multiple `else-if`.
|
|
6138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
|
|
6139
6173
|
*/
|
|
6140
6174
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6141
6175
|
/**
|
|
6142
6176
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
|
|
6144
6178
|
*/
|
|
6145
6179
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6146
6180
|
/**
|
|
6147
6181
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
|
|
6149
6183
|
*/
|
|
6150
6184
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6151
6185
|
/**
|
|
6152
6186
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
|
|
6154
6188
|
*/
|
|
6155
6189
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6156
6190
|
/**
|
|
6157
6191
|
* Prevent abbreviations.
|
|
6158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
|
|
6159
6193
|
*/
|
|
6160
6194
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6161
6195
|
/**
|
|
6162
6196
|
* Enforce consistent relative URL style.
|
|
6163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
|
|
6164
6198
|
*/
|
|
6165
6199
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6166
6200
|
/**
|
|
6167
6201
|
* Enforce using the separator argument with `Array#join()`.
|
|
6168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
|
|
6169
6203
|
*/
|
|
6170
6204
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6171
6205
|
/**
|
|
6172
6206
|
* Require non-empty module attributes for imports and exports
|
|
6173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
|
|
6174
6208
|
*/
|
|
6175
6209
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
|
|
6176
6210
|
/**
|
|
6177
6211
|
* Require non-empty specifier list in import and export statements.
|
|
6178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
|
|
6179
6213
|
*/
|
|
6180
6214
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
|
|
6181
6215
|
/**
|
|
6182
6216
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6184
6218
|
*/
|
|
6185
6219
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6186
6220
|
/**
|
|
6187
6221
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
|
|
6189
6223
|
*/
|
|
6190
6224
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6191
6225
|
/**
|
|
6192
6226
|
* Enforce better string content.
|
|
6193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
|
|
6194
6228
|
*/
|
|
6195
6229
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6196
6230
|
/**
|
|
6197
6231
|
* Enforce consistent brace style for `case` clauses.
|
|
6198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
|
|
6199
6233
|
*/
|
|
6200
6234
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6201
6235
|
/**
|
|
6202
6236
|
* Fix whitespace-insensitive template indentation.
|
|
6203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
|
|
6204
6238
|
*/
|
|
6205
6239
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6206
6240
|
/**
|
|
6207
6241
|
* Enforce consistent case for text encoding identifiers.
|
|
6208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
|
|
6209
6243
|
*/
|
|
6210
6244
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>
|
|
6211
6245
|
/**
|
|
6212
6246
|
* Require `new` when creating an error.
|
|
6213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
|
|
6214
6248
|
*/
|
|
6215
6249
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6216
6250
|
/**
|
|
@@ -7264,6 +7298,11 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
|
7264
7298
|
|
|
7265
7299
|
destructuredArrayIgnorePattern?: string
|
|
7266
7300
|
|
|
7301
|
+
enableAutofixRemoval?: {
|
|
7302
|
+
|
|
7303
|
+
imports?: boolean
|
|
7304
|
+
}
|
|
7305
|
+
|
|
7267
7306
|
ignoreClassWithStaticInitBlock?: boolean
|
|
7268
7307
|
|
|
7269
7308
|
ignoreRestSiblings?: boolean
|
|
@@ -7293,6 +7332,11 @@ type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
|
7293
7332
|
|
|
7294
7333
|
variables?: boolean
|
|
7295
7334
|
})]
|
|
7335
|
+
// ----- @typescript-eslint/no-useless-default-assignment -----
|
|
7336
|
+
type TypescriptEslintNoUselessDefaultAssignment = []|[{
|
|
7337
|
+
|
|
7338
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
7339
|
+
}]
|
|
7296
7340
|
// ----- @typescript-eslint/no-var-requires -----
|
|
7297
7341
|
type TypescriptEslintNoVarRequires = []|[{
|
|
7298
7342
|
|
|
@@ -7548,6 +7592,11 @@ type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
|
7548
7592
|
|
|
7549
7593
|
allowString?: boolean
|
|
7550
7594
|
}]
|
|
7595
|
+
// ----- @typescript-eslint/strict-void-return -----
|
|
7596
|
+
type TypescriptEslintStrictVoidReturn = []|[{
|
|
7597
|
+
|
|
7598
|
+
allowReturnAny?: boolean
|
|
7599
|
+
}]
|
|
7551
7600
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
7552
7601
|
type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
7553
7602
|
|
|
@@ -7620,6 +7669,7 @@ type AntfuConsistentListNewline = []|[{
|
|
|
7620
7669
|
ExportNamedDeclaration?: boolean
|
|
7621
7670
|
FunctionDeclaration?: boolean
|
|
7622
7671
|
FunctionExpression?: boolean
|
|
7672
|
+
IfStatement?: boolean
|
|
7623
7673
|
ImportDeclaration?: boolean
|
|
7624
7674
|
JSONArrayExpression?: boolean
|
|
7625
7675
|
JSONObjectExpression?: boolean
|
|
@@ -7886,6 +7936,14 @@ type HtmlNoExtraSpacingAttrs = []|[{
|
|
|
7886
7936
|
type HtmlNoExtraSpacingText = []|[{
|
|
7887
7937
|
skip?: string[]
|
|
7888
7938
|
}]
|
|
7939
|
+
// ----- html/no-invalid-attr-value -----
|
|
7940
|
+
type HtmlNoInvalidAttrValue = []|[{
|
|
7941
|
+
allow?: {
|
|
7942
|
+
tag: string
|
|
7943
|
+
attr: string
|
|
7944
|
+
valuePattern?: string
|
|
7945
|
+
}[]
|
|
7946
|
+
}]
|
|
7889
7947
|
// ----- html/no-multiple-empty-lines -----
|
|
7890
7948
|
type HtmlNoMultipleEmptyLines = []|[{
|
|
7891
7949
|
max: number
|
|
@@ -8991,6 +9049,8 @@ type JsdocTagLines = []|[("always" | "any" | "never")]|[("always" | "any" | "nev
|
|
|
8991
9049
|
|
|
8992
9050
|
startLines?: (number | null)
|
|
8993
9051
|
|
|
9052
|
+
startLinesWithNoTags?: number
|
|
9053
|
+
|
|
8994
9054
|
tags?: {
|
|
8995
9055
|
[k: string]: {
|
|
8996
9056
|
count?: number
|
|
@@ -9065,6 +9125,8 @@ type JsdocTypeFormatting = []|[{
|
|
|
9065
9125
|
|
|
9066
9126
|
objectFieldSeparatorTrailingPunctuation?: boolean
|
|
9067
9127
|
|
|
9128
|
+
objectTypeBracketSpacing?: string
|
|
9129
|
+
|
|
9068
9130
|
parameterDefaultValueSpacing?: string
|
|
9069
9131
|
|
|
9070
9132
|
postMethodNameSpacing?: string
|
|
@@ -9075,6 +9137,8 @@ type JsdocTypeFormatting = []|[{
|
|
|
9075
9137
|
|
|
9076
9138
|
stringQuotes?: ("double" | "single")
|
|
9077
9139
|
|
|
9140
|
+
trailingPunctuationMultilineOnly?: boolean
|
|
9141
|
+
|
|
9078
9142
|
typeBracketSpacing?: string
|
|
9079
9143
|
|
|
9080
9144
|
unionSpacing?: string
|
|
@@ -10811,12 +10875,16 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
|
10811
10875
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
10812
10876
|
// ----- node/prefer-global/console -----
|
|
10813
10877
|
type NodePreferGlobalConsole = []|[("always" | "never")]
|
|
10878
|
+
// ----- node/prefer-global/crypto -----
|
|
10879
|
+
type NodePreferGlobalCrypto = []|[("always" | "never")]
|
|
10814
10880
|
// ----- node/prefer-global/process -----
|
|
10815
10881
|
type NodePreferGlobalProcess = []|[("always" | "never")]
|
|
10816
10882
|
// ----- node/prefer-global/text-decoder -----
|
|
10817
10883
|
type NodePreferGlobalTextDecoder = []|[("always" | "never")]
|
|
10818
10884
|
// ----- node/prefer-global/text-encoder -----
|
|
10819
10885
|
type NodePreferGlobalTextEncoder = []|[("always" | "never")]
|
|
10886
|
+
// ----- node/prefer-global/timers -----
|
|
10887
|
+
type NodePreferGlobalTimers = []|[("always" | "never")]
|
|
10820
10888
|
// ----- node/prefer-global/url -----
|
|
10821
10889
|
type NodePreferGlobalUrl = []|[("always" | "never")]
|
|
10822
10890
|
// ----- node/prefer-global/url-search-params -----
|
|
@@ -10999,7 +11067,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10999
11067
|
flags?: string
|
|
11000
11068
|
} | string))
|
|
11001
11069
|
|
|
11002
|
-
selector?:
|
|
11070
|
+
selector?: "literal"
|
|
11003
11071
|
}, ...({
|
|
11004
11072
|
|
|
11005
11073
|
elementNamePattern?: (({
|
|
@@ -11014,7 +11082,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11014
11082
|
flags?: string
|
|
11015
11083
|
} | string))
|
|
11016
11084
|
|
|
11017
|
-
selector?:
|
|
11085
|
+
selector?: "literal"
|
|
11018
11086
|
})[]]
|
|
11019
11087
|
} | {
|
|
11020
11088
|
|
|
@@ -11044,7 +11112,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11044
11112
|
flags?: string
|
|
11045
11113
|
} | string))
|
|
11046
11114
|
|
|
11047
|
-
selector?:
|
|
11115
|
+
selector?: "literal"
|
|
11048
11116
|
})[]
|
|
11049
11117
|
newlinesInside?: (("ignore" | number) | "newlinesBetween")
|
|
11050
11118
|
|
|
@@ -11323,6 +11391,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11323
11391
|
})[]
|
|
11324
11392
|
newlinesBetween?: ("ignore" | number)
|
|
11325
11393
|
|
|
11394
|
+
useExperimentalDependencyDetection?: boolean
|
|
11395
|
+
|
|
11326
11396
|
ignoreCallbackDependenciesPatterns?: (({
|
|
11327
11397
|
|
|
11328
11398
|
pattern: string
|
|
@@ -11693,6 +11763,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
11693
11763
|
|
|
11694
11764
|
sortByValue?: ("always" | "ifNumericEnum" | "never")
|
|
11695
11765
|
|
|
11766
|
+
useExperimentalDependencyDetection?: boolean
|
|
11767
|
+
|
|
11696
11768
|
partitionByComment?: (boolean | (({
|
|
11697
11769
|
|
|
11698
11770
|
pattern: string
|
|
@@ -12512,6 +12584,8 @@ type PerfectionistSortImports = {
|
|
|
12512
12584
|
|
|
12513
12585
|
environment?: ("node" | "bun")
|
|
12514
12586
|
|
|
12587
|
+
useExperimentalDependencyDetection?: boolean
|
|
12588
|
+
|
|
12515
12589
|
partitionByComment?: (boolean | (({
|
|
12516
12590
|
|
|
12517
12591
|
pattern: string
|
|
@@ -13507,6 +13581,8 @@ type PerfectionistSortModules = []|[{
|
|
|
13507
13581
|
})[]
|
|
13508
13582
|
newlinesBetween?: ("ignore" | number)
|
|
13509
13583
|
|
|
13584
|
+
useExperimentalDependencyDetection?: boolean
|
|
13585
|
+
|
|
13510
13586
|
partitionByComment?: (boolean | (({
|
|
13511
13587
|
|
|
13512
13588
|
pattern: string
|
|
@@ -14148,6 +14224,7 @@ type PerfectionistSortObjects = {
|
|
|
14148
14224
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
14149
14225
|
|
|
14150
14226
|
order?: ("asc" | "desc")
|
|
14227
|
+
sortBy?: ("name" | "value")
|
|
14151
14228
|
}
|
|
14152
14229
|
|
|
14153
14230
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
@@ -14161,6 +14238,7 @@ type PerfectionistSortObjects = {
|
|
|
14161
14238
|
locales?: (string | string[])
|
|
14162
14239
|
|
|
14163
14240
|
order?: ("asc" | "desc")
|
|
14241
|
+
sortBy?: ("name" | "value")
|
|
14164
14242
|
|
|
14165
14243
|
customGroups?: ({
|
|
14166
14244
|
|
|
@@ -14169,6 +14247,7 @@ type PerfectionistSortObjects = {
|
|
|
14169
14247
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
14170
14248
|
|
|
14171
14249
|
order?: ("asc" | "desc")
|
|
14250
|
+
sortBy?: ("name" | "value")
|
|
14172
14251
|
}
|
|
14173
14252
|
|
|
14174
14253
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
@@ -14177,6 +14256,7 @@ type PerfectionistSortObjects = {
|
|
|
14177
14256
|
newlinesInside?: ("ignore" | number)
|
|
14178
14257
|
|
|
14179
14258
|
order?: ("asc" | "desc")
|
|
14259
|
+
sortBy?: ("name" | "value")
|
|
14180
14260
|
|
|
14181
14261
|
anyOf: [{
|
|
14182
14262
|
|
|
@@ -14244,6 +14324,7 @@ type PerfectionistSortObjects = {
|
|
|
14244
14324
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
14245
14325
|
|
|
14246
14326
|
order?: ("asc" | "desc")
|
|
14327
|
+
sortBy?: ("name" | "value")
|
|
14247
14328
|
}
|
|
14248
14329
|
|
|
14249
14330
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
@@ -14252,6 +14333,7 @@ type PerfectionistSortObjects = {
|
|
|
14252
14333
|
newlinesInside?: ("ignore" | number)
|
|
14253
14334
|
|
|
14254
14335
|
order?: ("asc" | "desc")
|
|
14336
|
+
sortBy?: ("name" | "value")
|
|
14255
14337
|
|
|
14256
14338
|
elementNamePattern?: (({
|
|
14257
14339
|
|
|
@@ -14293,6 +14375,7 @@ type PerfectionistSortObjects = {
|
|
|
14293
14375
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
14294
14376
|
|
|
14295
14377
|
order?: ("asc" | "desc")
|
|
14378
|
+
sortBy?: ("name" | "value")
|
|
14296
14379
|
}
|
|
14297
14380
|
|
|
14298
14381
|
commentAbove?: string
|
|
@@ -14301,6 +14384,7 @@ type PerfectionistSortObjects = {
|
|
|
14301
14384
|
newlinesInside?: ("ignore" | number)
|
|
14302
14385
|
|
|
14303
14386
|
order?: ("asc" | "desc")
|
|
14387
|
+
sortBy?: ("name" | "value")
|
|
14304
14388
|
})[]
|
|
14305
14389
|
newlinesBetween?: ("ignore" | number)
|
|
14306
14390
|
|
|
@@ -14367,6 +14451,8 @@ type PerfectionistSortObjects = {
|
|
|
14367
14451
|
|
|
14368
14452
|
styledComponents?: boolean
|
|
14369
14453
|
|
|
14454
|
+
useExperimentalDependencyDetection?: boolean
|
|
14455
|
+
|
|
14370
14456
|
partitionByComment?: (boolean | (({
|
|
14371
14457
|
|
|
14372
14458
|
pattern: string
|
|
@@ -14458,7 +14544,7 @@ type PerfectionistSortSets = {
|
|
|
14458
14544
|
flags?: string
|
|
14459
14545
|
} | string))
|
|
14460
14546
|
|
|
14461
|
-
selector?:
|
|
14547
|
+
selector?: "literal"
|
|
14462
14548
|
}, ...({
|
|
14463
14549
|
|
|
14464
14550
|
elementNamePattern?: (({
|
|
@@ -14473,7 +14559,7 @@ type PerfectionistSortSets = {
|
|
|
14473
14559
|
flags?: string
|
|
14474
14560
|
} | string))
|
|
14475
14561
|
|
|
14476
|
-
selector?:
|
|
14562
|
+
selector?: "literal"
|
|
14477
14563
|
})[]]
|
|
14478
14564
|
} | {
|
|
14479
14565
|
|
|
@@ -14503,7 +14589,7 @@ type PerfectionistSortSets = {
|
|
|
14503
14589
|
flags?: string
|
|
14504
14590
|
} | string))
|
|
14505
14591
|
|
|
14506
|
-
selector?:
|
|
14592
|
+
selector?: "literal"
|
|
14507
14593
|
})[]
|
|
14508
14594
|
newlinesInside?: (("ignore" | number) | "newlinesBetween")
|
|
14509
14595
|
|
|
@@ -14887,6 +14973,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
14887
14973
|
})[]
|
|
14888
14974
|
newlinesBetween?: ("ignore" | number)
|
|
14889
14975
|
|
|
14976
|
+
useExperimentalDependencyDetection?: boolean
|
|
14977
|
+
|
|
14890
14978
|
partitionByComment?: (boolean | (({
|
|
14891
14979
|
|
|
14892
14980
|
pattern: string
|
|
@@ -15165,9 +15253,9 @@ type ReactHooksVoidUseMemo = []|[{
|
|
|
15165
15253
|
}]
|
|
15166
15254
|
// ----- react-refresh/only-export-components -----
|
|
15167
15255
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
15256
|
+
extraHOCs?: string[]
|
|
15168
15257
|
allowExportNames?: string[]
|
|
15169
15258
|
allowConstantExport?: boolean
|
|
15170
|
-
customHOCs?: string[]
|
|
15171
15259
|
checkJS?: boolean
|
|
15172
15260
|
}]
|
|
15173
15261
|
// ----- react/boolean-prop-naming -----
|
|
@@ -15853,76 +15941,174 @@ type SwitchColonSpacing = []|[{
|
|
|
15853
15941
|
// ----- tailwindcss/enforce-canonical-classes -----
|
|
15854
15942
|
type TailwindcssEnforceCanonicalClasses = []|[{
|
|
15855
15943
|
|
|
15944
|
+
selectors?: ({
|
|
15945
|
+
|
|
15946
|
+
kind: "attribute"
|
|
15947
|
+
|
|
15948
|
+
match?: ({
|
|
15949
|
+
|
|
15950
|
+
type: "strings"
|
|
15951
|
+
} | {
|
|
15952
|
+
|
|
15953
|
+
path?: string
|
|
15954
|
+
|
|
15955
|
+
type: "objectKeys"
|
|
15956
|
+
} | {
|
|
15957
|
+
|
|
15958
|
+
path?: string
|
|
15959
|
+
|
|
15960
|
+
type: "objectValues"
|
|
15961
|
+
})[]
|
|
15962
|
+
|
|
15963
|
+
name: string
|
|
15964
|
+
} | ({
|
|
15965
|
+
|
|
15966
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
15967
|
+
|
|
15968
|
+
kind: "callee"
|
|
15969
|
+
|
|
15970
|
+
match?: ({
|
|
15971
|
+
|
|
15972
|
+
type: "strings"
|
|
15973
|
+
} | {
|
|
15974
|
+
|
|
15975
|
+
path?: string
|
|
15976
|
+
|
|
15977
|
+
type: "objectKeys"
|
|
15978
|
+
} | {
|
|
15979
|
+
|
|
15980
|
+
path?: string
|
|
15981
|
+
|
|
15982
|
+
type: "objectValues"
|
|
15983
|
+
})[]
|
|
15984
|
+
|
|
15985
|
+
name: string
|
|
15986
|
+
|
|
15987
|
+
path?: string
|
|
15988
|
+
} | {
|
|
15989
|
+
|
|
15990
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
15991
|
+
|
|
15992
|
+
kind: "callee"
|
|
15993
|
+
|
|
15994
|
+
match?: ({
|
|
15995
|
+
|
|
15996
|
+
type: "strings"
|
|
15997
|
+
} | {
|
|
15998
|
+
|
|
15999
|
+
path?: string
|
|
16000
|
+
|
|
16001
|
+
type: "objectKeys"
|
|
16002
|
+
} | {
|
|
16003
|
+
|
|
16004
|
+
path?: string
|
|
16005
|
+
|
|
16006
|
+
type: "objectValues"
|
|
16007
|
+
})[]
|
|
16008
|
+
|
|
16009
|
+
name?: string
|
|
16010
|
+
|
|
16011
|
+
path: string
|
|
16012
|
+
}) | {
|
|
16013
|
+
|
|
16014
|
+
kind: "tag"
|
|
16015
|
+
|
|
16016
|
+
match?: ({
|
|
16017
|
+
|
|
16018
|
+
type: "strings"
|
|
16019
|
+
} | {
|
|
16020
|
+
|
|
16021
|
+
path?: string
|
|
16022
|
+
|
|
16023
|
+
type: "objectKeys"
|
|
16024
|
+
} | {
|
|
16025
|
+
|
|
16026
|
+
path?: string
|
|
16027
|
+
|
|
16028
|
+
type: "objectValues"
|
|
16029
|
+
})[]
|
|
16030
|
+
|
|
16031
|
+
name: string
|
|
16032
|
+
} | {
|
|
16033
|
+
|
|
16034
|
+
kind: "variable"
|
|
16035
|
+
|
|
16036
|
+
match?: ({
|
|
16037
|
+
|
|
16038
|
+
type: "strings"
|
|
16039
|
+
} | {
|
|
16040
|
+
|
|
16041
|
+
path?: string
|
|
16042
|
+
|
|
16043
|
+
type: "objectKeys"
|
|
16044
|
+
} | {
|
|
16045
|
+
|
|
16046
|
+
path?: string
|
|
16047
|
+
|
|
16048
|
+
type: "objectValues"
|
|
16049
|
+
})[]
|
|
16050
|
+
|
|
16051
|
+
name: string
|
|
16052
|
+
})[]
|
|
16053
|
+
|
|
15856
16054
|
callees?: ([string, ({
|
|
15857
16055
|
|
|
15858
16056
|
match: "strings"
|
|
15859
|
-
[k: string]: unknown | undefined
|
|
15860
16057
|
} | {
|
|
15861
16058
|
|
|
15862
16059
|
match: "objectKeys"
|
|
15863
16060
|
|
|
15864
16061
|
pathPattern?: string
|
|
15865
|
-
[k: string]: unknown | undefined
|
|
15866
16062
|
} | {
|
|
15867
16063
|
|
|
15868
16064
|
match: "objectValues"
|
|
15869
16065
|
|
|
15870
16066
|
pathPattern?: string
|
|
15871
|
-
[k: string]: unknown | undefined
|
|
15872
16067
|
})[]] | string)[]
|
|
15873
16068
|
|
|
15874
16069
|
attributes?: (string | [string, ({
|
|
15875
16070
|
|
|
15876
16071
|
match: "strings"
|
|
15877
|
-
[k: string]: unknown | undefined
|
|
15878
16072
|
} | {
|
|
15879
16073
|
|
|
15880
16074
|
match: "objectKeys"
|
|
15881
16075
|
|
|
15882
16076
|
pathPattern?: string
|
|
15883
|
-
[k: string]: unknown | undefined
|
|
15884
16077
|
} | {
|
|
15885
16078
|
|
|
15886
16079
|
match: "objectValues"
|
|
15887
16080
|
|
|
15888
16081
|
pathPattern?: string
|
|
15889
|
-
[k: string]: unknown | undefined
|
|
15890
16082
|
})[]])[]
|
|
15891
16083
|
|
|
15892
16084
|
variables?: ([string, ({
|
|
15893
16085
|
|
|
15894
16086
|
match: "strings"
|
|
15895
|
-
[k: string]: unknown | undefined
|
|
15896
16087
|
} | {
|
|
15897
16088
|
|
|
15898
16089
|
match: "objectKeys"
|
|
15899
16090
|
|
|
15900
16091
|
pathPattern?: string
|
|
15901
|
-
[k: string]: unknown | undefined
|
|
15902
16092
|
} | {
|
|
15903
16093
|
|
|
15904
16094
|
match: "objectValues"
|
|
15905
16095
|
|
|
15906
16096
|
pathPattern?: string
|
|
15907
|
-
[k: string]: unknown | undefined
|
|
15908
16097
|
})[]] | string)[]
|
|
15909
16098
|
|
|
15910
16099
|
tags?: ([string, ({
|
|
15911
16100
|
|
|
15912
16101
|
match: "strings"
|
|
15913
|
-
[k: string]: unknown | undefined
|
|
15914
16102
|
} | {
|
|
15915
16103
|
|
|
15916
16104
|
match: "objectKeys"
|
|
15917
16105
|
|
|
15918
16106
|
pathPattern?: string
|
|
15919
|
-
[k: string]: unknown | undefined
|
|
15920
16107
|
} | {
|
|
15921
16108
|
|
|
15922
16109
|
match: "objectValues"
|
|
15923
16110
|
|
|
15924
16111
|
pathPattern?: string
|
|
15925
|
-
[k: string]: unknown | undefined
|
|
15926
16112
|
})[]] | string)[]
|
|
15927
16113
|
|
|
15928
16114
|
entryPoint?: string
|
|
@@ -15944,76 +16130,174 @@ type TailwindcssEnforceCanonicalClasses = []|[{
|
|
|
15944
16130
|
// ----- tailwindcss/enforce-consistent-class-order -----
|
|
15945
16131
|
type TailwindcssEnforceConsistentClassOrder = []|[{
|
|
15946
16132
|
|
|
16133
|
+
selectors?: ({
|
|
16134
|
+
|
|
16135
|
+
kind: "attribute"
|
|
16136
|
+
|
|
16137
|
+
match?: ({
|
|
16138
|
+
|
|
16139
|
+
type: "strings"
|
|
16140
|
+
} | {
|
|
16141
|
+
|
|
16142
|
+
path?: string
|
|
16143
|
+
|
|
16144
|
+
type: "objectKeys"
|
|
16145
|
+
} | {
|
|
16146
|
+
|
|
16147
|
+
path?: string
|
|
16148
|
+
|
|
16149
|
+
type: "objectValues"
|
|
16150
|
+
})[]
|
|
16151
|
+
|
|
16152
|
+
name: string
|
|
16153
|
+
} | ({
|
|
16154
|
+
|
|
16155
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16156
|
+
|
|
16157
|
+
kind: "callee"
|
|
16158
|
+
|
|
16159
|
+
match?: ({
|
|
16160
|
+
|
|
16161
|
+
type: "strings"
|
|
16162
|
+
} | {
|
|
16163
|
+
|
|
16164
|
+
path?: string
|
|
16165
|
+
|
|
16166
|
+
type: "objectKeys"
|
|
16167
|
+
} | {
|
|
16168
|
+
|
|
16169
|
+
path?: string
|
|
16170
|
+
|
|
16171
|
+
type: "objectValues"
|
|
16172
|
+
})[]
|
|
16173
|
+
|
|
16174
|
+
name: string
|
|
16175
|
+
|
|
16176
|
+
path?: string
|
|
16177
|
+
} | {
|
|
16178
|
+
|
|
16179
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16180
|
+
|
|
16181
|
+
kind: "callee"
|
|
16182
|
+
|
|
16183
|
+
match?: ({
|
|
16184
|
+
|
|
16185
|
+
type: "strings"
|
|
16186
|
+
} | {
|
|
16187
|
+
|
|
16188
|
+
path?: string
|
|
16189
|
+
|
|
16190
|
+
type: "objectKeys"
|
|
16191
|
+
} | {
|
|
16192
|
+
|
|
16193
|
+
path?: string
|
|
16194
|
+
|
|
16195
|
+
type: "objectValues"
|
|
16196
|
+
})[]
|
|
16197
|
+
|
|
16198
|
+
name?: string
|
|
16199
|
+
|
|
16200
|
+
path: string
|
|
16201
|
+
}) | {
|
|
16202
|
+
|
|
16203
|
+
kind: "tag"
|
|
16204
|
+
|
|
16205
|
+
match?: ({
|
|
16206
|
+
|
|
16207
|
+
type: "strings"
|
|
16208
|
+
} | {
|
|
16209
|
+
|
|
16210
|
+
path?: string
|
|
16211
|
+
|
|
16212
|
+
type: "objectKeys"
|
|
16213
|
+
} | {
|
|
16214
|
+
|
|
16215
|
+
path?: string
|
|
16216
|
+
|
|
16217
|
+
type: "objectValues"
|
|
16218
|
+
})[]
|
|
16219
|
+
|
|
16220
|
+
name: string
|
|
16221
|
+
} | {
|
|
16222
|
+
|
|
16223
|
+
kind: "variable"
|
|
16224
|
+
|
|
16225
|
+
match?: ({
|
|
16226
|
+
|
|
16227
|
+
type: "strings"
|
|
16228
|
+
} | {
|
|
16229
|
+
|
|
16230
|
+
path?: string
|
|
16231
|
+
|
|
16232
|
+
type: "objectKeys"
|
|
16233
|
+
} | {
|
|
16234
|
+
|
|
16235
|
+
path?: string
|
|
16236
|
+
|
|
16237
|
+
type: "objectValues"
|
|
16238
|
+
})[]
|
|
16239
|
+
|
|
16240
|
+
name: string
|
|
16241
|
+
})[]
|
|
16242
|
+
|
|
15947
16243
|
callees?: ([string, ({
|
|
15948
16244
|
|
|
15949
16245
|
match: "strings"
|
|
15950
|
-
[k: string]: unknown | undefined
|
|
15951
16246
|
} | {
|
|
15952
16247
|
|
|
15953
16248
|
match: "objectKeys"
|
|
15954
16249
|
|
|
15955
16250
|
pathPattern?: string
|
|
15956
|
-
[k: string]: unknown | undefined
|
|
15957
16251
|
} | {
|
|
15958
16252
|
|
|
15959
16253
|
match: "objectValues"
|
|
15960
16254
|
|
|
15961
16255
|
pathPattern?: string
|
|
15962
|
-
[k: string]: unknown | undefined
|
|
15963
16256
|
})[]] | string)[]
|
|
15964
16257
|
|
|
15965
16258
|
attributes?: (string | [string, ({
|
|
15966
16259
|
|
|
15967
16260
|
match: "strings"
|
|
15968
|
-
[k: string]: unknown | undefined
|
|
15969
16261
|
} | {
|
|
15970
16262
|
|
|
15971
16263
|
match: "objectKeys"
|
|
15972
16264
|
|
|
15973
16265
|
pathPattern?: string
|
|
15974
|
-
[k: string]: unknown | undefined
|
|
15975
16266
|
} | {
|
|
15976
16267
|
|
|
15977
16268
|
match: "objectValues"
|
|
15978
16269
|
|
|
15979
16270
|
pathPattern?: string
|
|
15980
|
-
[k: string]: unknown | undefined
|
|
15981
16271
|
})[]])[]
|
|
15982
16272
|
|
|
15983
16273
|
variables?: ([string, ({
|
|
15984
16274
|
|
|
15985
16275
|
match: "strings"
|
|
15986
|
-
[k: string]: unknown | undefined
|
|
15987
16276
|
} | {
|
|
15988
16277
|
|
|
15989
16278
|
match: "objectKeys"
|
|
15990
16279
|
|
|
15991
16280
|
pathPattern?: string
|
|
15992
|
-
[k: string]: unknown | undefined
|
|
15993
16281
|
} | {
|
|
15994
16282
|
|
|
15995
16283
|
match: "objectValues"
|
|
15996
16284
|
|
|
15997
16285
|
pathPattern?: string
|
|
15998
|
-
[k: string]: unknown | undefined
|
|
15999
16286
|
})[]] | string)[]
|
|
16000
16287
|
|
|
16001
16288
|
tags?: ([string, ({
|
|
16002
16289
|
|
|
16003
16290
|
match: "strings"
|
|
16004
|
-
[k: string]: unknown | undefined
|
|
16005
16291
|
} | {
|
|
16006
16292
|
|
|
16007
16293
|
match: "objectKeys"
|
|
16008
16294
|
|
|
16009
16295
|
pathPattern?: string
|
|
16010
|
-
[k: string]: unknown | undefined
|
|
16011
16296
|
} | {
|
|
16012
16297
|
|
|
16013
16298
|
match: "objectValues"
|
|
16014
16299
|
|
|
16015
16300
|
pathPattern?: string
|
|
16016
|
-
[k: string]: unknown | undefined
|
|
16017
16301
|
})[]] | string)[]
|
|
16018
16302
|
|
|
16019
16303
|
entryPoint?: string
|
|
@@ -16041,76 +16325,174 @@ type TailwindcssEnforceConsistentClassOrder = []|[{
|
|
|
16041
16325
|
// ----- tailwindcss/enforce-consistent-important-position -----
|
|
16042
16326
|
type TailwindcssEnforceConsistentImportantPosition = []|[{
|
|
16043
16327
|
|
|
16328
|
+
selectors?: ({
|
|
16329
|
+
|
|
16330
|
+
kind: "attribute"
|
|
16331
|
+
|
|
16332
|
+
match?: ({
|
|
16333
|
+
|
|
16334
|
+
type: "strings"
|
|
16335
|
+
} | {
|
|
16336
|
+
|
|
16337
|
+
path?: string
|
|
16338
|
+
|
|
16339
|
+
type: "objectKeys"
|
|
16340
|
+
} | {
|
|
16341
|
+
|
|
16342
|
+
path?: string
|
|
16343
|
+
|
|
16344
|
+
type: "objectValues"
|
|
16345
|
+
})[]
|
|
16346
|
+
|
|
16347
|
+
name: string
|
|
16348
|
+
} | ({
|
|
16349
|
+
|
|
16350
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16351
|
+
|
|
16352
|
+
kind: "callee"
|
|
16353
|
+
|
|
16354
|
+
match?: ({
|
|
16355
|
+
|
|
16356
|
+
type: "strings"
|
|
16357
|
+
} | {
|
|
16358
|
+
|
|
16359
|
+
path?: string
|
|
16360
|
+
|
|
16361
|
+
type: "objectKeys"
|
|
16362
|
+
} | {
|
|
16363
|
+
|
|
16364
|
+
path?: string
|
|
16365
|
+
|
|
16366
|
+
type: "objectValues"
|
|
16367
|
+
})[]
|
|
16368
|
+
|
|
16369
|
+
name: string
|
|
16370
|
+
|
|
16371
|
+
path?: string
|
|
16372
|
+
} | {
|
|
16373
|
+
|
|
16374
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16375
|
+
|
|
16376
|
+
kind: "callee"
|
|
16377
|
+
|
|
16378
|
+
match?: ({
|
|
16379
|
+
|
|
16380
|
+
type: "strings"
|
|
16381
|
+
} | {
|
|
16382
|
+
|
|
16383
|
+
path?: string
|
|
16384
|
+
|
|
16385
|
+
type: "objectKeys"
|
|
16386
|
+
} | {
|
|
16387
|
+
|
|
16388
|
+
path?: string
|
|
16389
|
+
|
|
16390
|
+
type: "objectValues"
|
|
16391
|
+
})[]
|
|
16392
|
+
|
|
16393
|
+
name?: string
|
|
16394
|
+
|
|
16395
|
+
path: string
|
|
16396
|
+
}) | {
|
|
16397
|
+
|
|
16398
|
+
kind: "tag"
|
|
16399
|
+
|
|
16400
|
+
match?: ({
|
|
16401
|
+
|
|
16402
|
+
type: "strings"
|
|
16403
|
+
} | {
|
|
16404
|
+
|
|
16405
|
+
path?: string
|
|
16406
|
+
|
|
16407
|
+
type: "objectKeys"
|
|
16408
|
+
} | {
|
|
16409
|
+
|
|
16410
|
+
path?: string
|
|
16411
|
+
|
|
16412
|
+
type: "objectValues"
|
|
16413
|
+
})[]
|
|
16414
|
+
|
|
16415
|
+
name: string
|
|
16416
|
+
} | {
|
|
16417
|
+
|
|
16418
|
+
kind: "variable"
|
|
16419
|
+
|
|
16420
|
+
match?: ({
|
|
16421
|
+
|
|
16422
|
+
type: "strings"
|
|
16423
|
+
} | {
|
|
16424
|
+
|
|
16425
|
+
path?: string
|
|
16426
|
+
|
|
16427
|
+
type: "objectKeys"
|
|
16428
|
+
} | {
|
|
16429
|
+
|
|
16430
|
+
path?: string
|
|
16431
|
+
|
|
16432
|
+
type: "objectValues"
|
|
16433
|
+
})[]
|
|
16434
|
+
|
|
16435
|
+
name: string
|
|
16436
|
+
})[]
|
|
16437
|
+
|
|
16044
16438
|
callees?: ([string, ({
|
|
16045
16439
|
|
|
16046
16440
|
match: "strings"
|
|
16047
|
-
[k: string]: unknown | undefined
|
|
16048
16441
|
} | {
|
|
16049
16442
|
|
|
16050
16443
|
match: "objectKeys"
|
|
16051
16444
|
|
|
16052
16445
|
pathPattern?: string
|
|
16053
|
-
[k: string]: unknown | undefined
|
|
16054
16446
|
} | {
|
|
16055
16447
|
|
|
16056
16448
|
match: "objectValues"
|
|
16057
16449
|
|
|
16058
16450
|
pathPattern?: string
|
|
16059
|
-
[k: string]: unknown | undefined
|
|
16060
16451
|
})[]] | string)[]
|
|
16061
16452
|
|
|
16062
16453
|
attributes?: (string | [string, ({
|
|
16063
16454
|
|
|
16064
16455
|
match: "strings"
|
|
16065
|
-
[k: string]: unknown | undefined
|
|
16066
16456
|
} | {
|
|
16067
16457
|
|
|
16068
16458
|
match: "objectKeys"
|
|
16069
16459
|
|
|
16070
16460
|
pathPattern?: string
|
|
16071
|
-
[k: string]: unknown | undefined
|
|
16072
16461
|
} | {
|
|
16073
16462
|
|
|
16074
16463
|
match: "objectValues"
|
|
16075
16464
|
|
|
16076
16465
|
pathPattern?: string
|
|
16077
|
-
[k: string]: unknown | undefined
|
|
16078
16466
|
})[]])[]
|
|
16079
16467
|
|
|
16080
16468
|
variables?: ([string, ({
|
|
16081
16469
|
|
|
16082
16470
|
match: "strings"
|
|
16083
|
-
[k: string]: unknown | undefined
|
|
16084
16471
|
} | {
|
|
16085
16472
|
|
|
16086
16473
|
match: "objectKeys"
|
|
16087
16474
|
|
|
16088
16475
|
pathPattern?: string
|
|
16089
|
-
[k: string]: unknown | undefined
|
|
16090
16476
|
} | {
|
|
16091
16477
|
|
|
16092
16478
|
match: "objectValues"
|
|
16093
16479
|
|
|
16094
16480
|
pathPattern?: string
|
|
16095
|
-
[k: string]: unknown | undefined
|
|
16096
16481
|
})[]] | string)[]
|
|
16097
16482
|
|
|
16098
16483
|
tags?: ([string, ({
|
|
16099
16484
|
|
|
16100
16485
|
match: "strings"
|
|
16101
|
-
[k: string]: unknown | undefined
|
|
16102
16486
|
} | {
|
|
16103
16487
|
|
|
16104
16488
|
match: "objectKeys"
|
|
16105
16489
|
|
|
16106
16490
|
pathPattern?: string
|
|
16107
|
-
[k: string]: unknown | undefined
|
|
16108
16491
|
} | {
|
|
16109
16492
|
|
|
16110
16493
|
match: "objectValues"
|
|
16111
16494
|
|
|
16112
16495
|
pathPattern?: string
|
|
16113
|
-
[k: string]: unknown | undefined
|
|
16114
16496
|
})[]] | string)[]
|
|
16115
16497
|
|
|
16116
16498
|
entryPoint?: string
|
|
@@ -16130,76 +16512,174 @@ type TailwindcssEnforceConsistentImportantPosition = []|[{
|
|
|
16130
16512
|
// ----- tailwindcss/enforce-consistent-line-wrapping -----
|
|
16131
16513
|
type TailwindcssEnforceConsistentLineWrapping = []|[{
|
|
16132
16514
|
|
|
16133
|
-
|
|
16515
|
+
selectors?: ({
|
|
16134
16516
|
|
|
16135
|
-
|
|
16136
|
-
[k: string]: unknown | undefined
|
|
16137
|
-
} | {
|
|
16517
|
+
kind: "attribute"
|
|
16138
16518
|
|
|
16139
|
-
match
|
|
16519
|
+
match?: ({
|
|
16520
|
+
|
|
16521
|
+
type: "strings"
|
|
16522
|
+
} | {
|
|
16523
|
+
|
|
16524
|
+
path?: string
|
|
16525
|
+
|
|
16526
|
+
type: "objectKeys"
|
|
16527
|
+
} | {
|
|
16528
|
+
|
|
16529
|
+
path?: string
|
|
16530
|
+
|
|
16531
|
+
type: "objectValues"
|
|
16532
|
+
})[]
|
|
16140
16533
|
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16534
|
+
name: string
|
|
16535
|
+
} | ({
|
|
16536
|
+
|
|
16537
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16538
|
+
|
|
16539
|
+
kind: "callee"
|
|
16540
|
+
|
|
16541
|
+
match?: ({
|
|
16542
|
+
|
|
16543
|
+
type: "strings"
|
|
16544
|
+
} | {
|
|
16545
|
+
|
|
16546
|
+
path?: string
|
|
16547
|
+
|
|
16548
|
+
type: "objectKeys"
|
|
16549
|
+
} | {
|
|
16550
|
+
|
|
16551
|
+
path?: string
|
|
16552
|
+
|
|
16553
|
+
type: "objectValues"
|
|
16554
|
+
})[]
|
|
16555
|
+
|
|
16556
|
+
name: string
|
|
16557
|
+
|
|
16558
|
+
path?: string
|
|
16559
|
+
} | {
|
|
16560
|
+
|
|
16561
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16562
|
+
|
|
16563
|
+
kind: "callee"
|
|
16564
|
+
|
|
16565
|
+
match?: ({
|
|
16566
|
+
|
|
16567
|
+
type: "strings"
|
|
16568
|
+
} | {
|
|
16569
|
+
|
|
16570
|
+
path?: string
|
|
16571
|
+
|
|
16572
|
+
type: "objectKeys"
|
|
16573
|
+
} | {
|
|
16574
|
+
|
|
16575
|
+
path?: string
|
|
16576
|
+
|
|
16577
|
+
type: "objectValues"
|
|
16578
|
+
})[]
|
|
16579
|
+
|
|
16580
|
+
name?: string
|
|
16581
|
+
|
|
16582
|
+
path: string
|
|
16583
|
+
}) | {
|
|
16584
|
+
|
|
16585
|
+
kind: "tag"
|
|
16586
|
+
|
|
16587
|
+
match?: ({
|
|
16588
|
+
|
|
16589
|
+
type: "strings"
|
|
16590
|
+
} | {
|
|
16591
|
+
|
|
16592
|
+
path?: string
|
|
16593
|
+
|
|
16594
|
+
type: "objectKeys"
|
|
16595
|
+
} | {
|
|
16596
|
+
|
|
16597
|
+
path?: string
|
|
16598
|
+
|
|
16599
|
+
type: "objectValues"
|
|
16600
|
+
})[]
|
|
16601
|
+
|
|
16602
|
+
name: string
|
|
16603
|
+
} | {
|
|
16604
|
+
|
|
16605
|
+
kind: "variable"
|
|
16606
|
+
|
|
16607
|
+
match?: ({
|
|
16608
|
+
|
|
16609
|
+
type: "strings"
|
|
16610
|
+
} | {
|
|
16611
|
+
|
|
16612
|
+
path?: string
|
|
16613
|
+
|
|
16614
|
+
type: "objectKeys"
|
|
16615
|
+
} | {
|
|
16616
|
+
|
|
16617
|
+
path?: string
|
|
16618
|
+
|
|
16619
|
+
type: "objectValues"
|
|
16620
|
+
})[]
|
|
16621
|
+
|
|
16622
|
+
name: string
|
|
16623
|
+
})[]
|
|
16624
|
+
|
|
16625
|
+
callees?: ([string, ({
|
|
16626
|
+
|
|
16627
|
+
match: "strings"
|
|
16628
|
+
} | {
|
|
16629
|
+
|
|
16630
|
+
match: "objectKeys"
|
|
16631
|
+
|
|
16632
|
+
pathPattern?: string
|
|
16633
|
+
} | {
|
|
16144
16634
|
|
|
16145
16635
|
match: "objectValues"
|
|
16146
16636
|
|
|
16147
16637
|
pathPattern?: string
|
|
16148
|
-
[k: string]: unknown | undefined
|
|
16149
16638
|
})[]] | string)[]
|
|
16150
16639
|
|
|
16151
16640
|
attributes?: (string | [string, ({
|
|
16152
16641
|
|
|
16153
16642
|
match: "strings"
|
|
16154
|
-
[k: string]: unknown | undefined
|
|
16155
16643
|
} | {
|
|
16156
16644
|
|
|
16157
16645
|
match: "objectKeys"
|
|
16158
16646
|
|
|
16159
16647
|
pathPattern?: string
|
|
16160
|
-
[k: string]: unknown | undefined
|
|
16161
16648
|
} | {
|
|
16162
16649
|
|
|
16163
16650
|
match: "objectValues"
|
|
16164
16651
|
|
|
16165
16652
|
pathPattern?: string
|
|
16166
|
-
[k: string]: unknown | undefined
|
|
16167
16653
|
})[]])[]
|
|
16168
16654
|
|
|
16169
16655
|
variables?: ([string, ({
|
|
16170
16656
|
|
|
16171
16657
|
match: "strings"
|
|
16172
|
-
[k: string]: unknown | undefined
|
|
16173
16658
|
} | {
|
|
16174
16659
|
|
|
16175
16660
|
match: "objectKeys"
|
|
16176
16661
|
|
|
16177
16662
|
pathPattern?: string
|
|
16178
|
-
[k: string]: unknown | undefined
|
|
16179
16663
|
} | {
|
|
16180
16664
|
|
|
16181
16665
|
match: "objectValues"
|
|
16182
16666
|
|
|
16183
16667
|
pathPattern?: string
|
|
16184
|
-
[k: string]: unknown | undefined
|
|
16185
16668
|
})[]] | string)[]
|
|
16186
16669
|
|
|
16187
16670
|
tags?: ([string, ({
|
|
16188
16671
|
|
|
16189
16672
|
match: "strings"
|
|
16190
|
-
[k: string]: unknown | undefined
|
|
16191
16673
|
} | {
|
|
16192
16674
|
|
|
16193
16675
|
match: "objectKeys"
|
|
16194
16676
|
|
|
16195
16677
|
pathPattern?: string
|
|
16196
|
-
[k: string]: unknown | undefined
|
|
16197
16678
|
} | {
|
|
16198
16679
|
|
|
16199
16680
|
match: "objectValues"
|
|
16200
16681
|
|
|
16201
16682
|
pathPattern?: string
|
|
16202
|
-
[k: string]: unknown | undefined
|
|
16203
16683
|
})[]] | string)[]
|
|
16204
16684
|
|
|
16205
16685
|
entryPoint?: string
|
|
@@ -16231,76 +16711,174 @@ type TailwindcssEnforceConsistentLineWrapping = []|[{
|
|
|
16231
16711
|
// ----- tailwindcss/enforce-consistent-variable-syntax -----
|
|
16232
16712
|
type TailwindcssEnforceConsistentVariableSyntax = []|[{
|
|
16233
16713
|
|
|
16714
|
+
selectors?: ({
|
|
16715
|
+
|
|
16716
|
+
kind: "attribute"
|
|
16717
|
+
|
|
16718
|
+
match?: ({
|
|
16719
|
+
|
|
16720
|
+
type: "strings"
|
|
16721
|
+
} | {
|
|
16722
|
+
|
|
16723
|
+
path?: string
|
|
16724
|
+
|
|
16725
|
+
type: "objectKeys"
|
|
16726
|
+
} | {
|
|
16727
|
+
|
|
16728
|
+
path?: string
|
|
16729
|
+
|
|
16730
|
+
type: "objectValues"
|
|
16731
|
+
})[]
|
|
16732
|
+
|
|
16733
|
+
name: string
|
|
16734
|
+
} | ({
|
|
16735
|
+
|
|
16736
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16737
|
+
|
|
16738
|
+
kind: "callee"
|
|
16739
|
+
|
|
16740
|
+
match?: ({
|
|
16741
|
+
|
|
16742
|
+
type: "strings"
|
|
16743
|
+
} | {
|
|
16744
|
+
|
|
16745
|
+
path?: string
|
|
16746
|
+
|
|
16747
|
+
type: "objectKeys"
|
|
16748
|
+
} | {
|
|
16749
|
+
|
|
16750
|
+
path?: string
|
|
16751
|
+
|
|
16752
|
+
type: "objectValues"
|
|
16753
|
+
})[]
|
|
16754
|
+
|
|
16755
|
+
name: string
|
|
16756
|
+
|
|
16757
|
+
path?: string
|
|
16758
|
+
} | {
|
|
16759
|
+
|
|
16760
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16761
|
+
|
|
16762
|
+
kind: "callee"
|
|
16763
|
+
|
|
16764
|
+
match?: ({
|
|
16765
|
+
|
|
16766
|
+
type: "strings"
|
|
16767
|
+
} | {
|
|
16768
|
+
|
|
16769
|
+
path?: string
|
|
16770
|
+
|
|
16771
|
+
type: "objectKeys"
|
|
16772
|
+
} | {
|
|
16773
|
+
|
|
16774
|
+
path?: string
|
|
16775
|
+
|
|
16776
|
+
type: "objectValues"
|
|
16777
|
+
})[]
|
|
16778
|
+
|
|
16779
|
+
name?: string
|
|
16780
|
+
|
|
16781
|
+
path: string
|
|
16782
|
+
}) | {
|
|
16783
|
+
|
|
16784
|
+
kind: "tag"
|
|
16785
|
+
|
|
16786
|
+
match?: ({
|
|
16787
|
+
|
|
16788
|
+
type: "strings"
|
|
16789
|
+
} | {
|
|
16790
|
+
|
|
16791
|
+
path?: string
|
|
16792
|
+
|
|
16793
|
+
type: "objectKeys"
|
|
16794
|
+
} | {
|
|
16795
|
+
|
|
16796
|
+
path?: string
|
|
16797
|
+
|
|
16798
|
+
type: "objectValues"
|
|
16799
|
+
})[]
|
|
16800
|
+
|
|
16801
|
+
name: string
|
|
16802
|
+
} | {
|
|
16803
|
+
|
|
16804
|
+
kind: "variable"
|
|
16805
|
+
|
|
16806
|
+
match?: ({
|
|
16807
|
+
|
|
16808
|
+
type: "strings"
|
|
16809
|
+
} | {
|
|
16810
|
+
|
|
16811
|
+
path?: string
|
|
16812
|
+
|
|
16813
|
+
type: "objectKeys"
|
|
16814
|
+
} | {
|
|
16815
|
+
|
|
16816
|
+
path?: string
|
|
16817
|
+
|
|
16818
|
+
type: "objectValues"
|
|
16819
|
+
})[]
|
|
16820
|
+
|
|
16821
|
+
name: string
|
|
16822
|
+
})[]
|
|
16823
|
+
|
|
16234
16824
|
callees?: ([string, ({
|
|
16235
16825
|
|
|
16236
16826
|
match: "strings"
|
|
16237
|
-
[k: string]: unknown | undefined
|
|
16238
16827
|
} | {
|
|
16239
16828
|
|
|
16240
16829
|
match: "objectKeys"
|
|
16241
16830
|
|
|
16242
16831
|
pathPattern?: string
|
|
16243
|
-
[k: string]: unknown | undefined
|
|
16244
16832
|
} | {
|
|
16245
16833
|
|
|
16246
16834
|
match: "objectValues"
|
|
16247
16835
|
|
|
16248
16836
|
pathPattern?: string
|
|
16249
|
-
[k: string]: unknown | undefined
|
|
16250
16837
|
})[]] | string)[]
|
|
16251
16838
|
|
|
16252
16839
|
attributes?: (string | [string, ({
|
|
16253
16840
|
|
|
16254
16841
|
match: "strings"
|
|
16255
|
-
[k: string]: unknown | undefined
|
|
16256
16842
|
} | {
|
|
16257
16843
|
|
|
16258
16844
|
match: "objectKeys"
|
|
16259
16845
|
|
|
16260
16846
|
pathPattern?: string
|
|
16261
|
-
[k: string]: unknown | undefined
|
|
16262
16847
|
} | {
|
|
16263
16848
|
|
|
16264
16849
|
match: "objectValues"
|
|
16265
16850
|
|
|
16266
16851
|
pathPattern?: string
|
|
16267
|
-
[k: string]: unknown | undefined
|
|
16268
16852
|
})[]])[]
|
|
16269
16853
|
|
|
16270
16854
|
variables?: ([string, ({
|
|
16271
16855
|
|
|
16272
16856
|
match: "strings"
|
|
16273
|
-
[k: string]: unknown | undefined
|
|
16274
16857
|
} | {
|
|
16275
16858
|
|
|
16276
16859
|
match: "objectKeys"
|
|
16277
16860
|
|
|
16278
16861
|
pathPattern?: string
|
|
16279
|
-
[k: string]: unknown | undefined
|
|
16280
16862
|
} | {
|
|
16281
16863
|
|
|
16282
16864
|
match: "objectValues"
|
|
16283
16865
|
|
|
16284
16866
|
pathPattern?: string
|
|
16285
|
-
[k: string]: unknown | undefined
|
|
16286
16867
|
})[]] | string)[]
|
|
16287
16868
|
|
|
16288
16869
|
tags?: ([string, ({
|
|
16289
16870
|
|
|
16290
16871
|
match: "strings"
|
|
16291
|
-
[k: string]: unknown | undefined
|
|
16292
16872
|
} | {
|
|
16293
16873
|
|
|
16294
16874
|
match: "objectKeys"
|
|
16295
16875
|
|
|
16296
16876
|
pathPattern?: string
|
|
16297
|
-
[k: string]: unknown | undefined
|
|
16298
16877
|
} | {
|
|
16299
16878
|
|
|
16300
16879
|
match: "objectValues"
|
|
16301
16880
|
|
|
16302
16881
|
pathPattern?: string
|
|
16303
|
-
[k: string]: unknown | undefined
|
|
16304
16882
|
})[]] | string)[]
|
|
16305
16883
|
|
|
16306
16884
|
entryPoint?: string
|
|
@@ -16320,76 +16898,174 @@ type TailwindcssEnforceConsistentVariableSyntax = []|[{
|
|
|
16320
16898
|
// ----- tailwindcss/enforce-shorthand-classes -----
|
|
16321
16899
|
type TailwindcssEnforceShorthandClasses = []|[{
|
|
16322
16900
|
|
|
16901
|
+
selectors?: ({
|
|
16902
|
+
|
|
16903
|
+
kind: "attribute"
|
|
16904
|
+
|
|
16905
|
+
match?: ({
|
|
16906
|
+
|
|
16907
|
+
type: "strings"
|
|
16908
|
+
} | {
|
|
16909
|
+
|
|
16910
|
+
path?: string
|
|
16911
|
+
|
|
16912
|
+
type: "objectKeys"
|
|
16913
|
+
} | {
|
|
16914
|
+
|
|
16915
|
+
path?: string
|
|
16916
|
+
|
|
16917
|
+
type: "objectValues"
|
|
16918
|
+
})[]
|
|
16919
|
+
|
|
16920
|
+
name: string
|
|
16921
|
+
} | ({
|
|
16922
|
+
|
|
16923
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16924
|
+
|
|
16925
|
+
kind: "callee"
|
|
16926
|
+
|
|
16927
|
+
match?: ({
|
|
16928
|
+
|
|
16929
|
+
type: "strings"
|
|
16930
|
+
} | {
|
|
16931
|
+
|
|
16932
|
+
path?: string
|
|
16933
|
+
|
|
16934
|
+
type: "objectKeys"
|
|
16935
|
+
} | {
|
|
16936
|
+
|
|
16937
|
+
path?: string
|
|
16938
|
+
|
|
16939
|
+
type: "objectValues"
|
|
16940
|
+
})[]
|
|
16941
|
+
|
|
16942
|
+
name: string
|
|
16943
|
+
|
|
16944
|
+
path?: string
|
|
16945
|
+
} | {
|
|
16946
|
+
|
|
16947
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
16948
|
+
|
|
16949
|
+
kind: "callee"
|
|
16950
|
+
|
|
16951
|
+
match?: ({
|
|
16952
|
+
|
|
16953
|
+
type: "strings"
|
|
16954
|
+
} | {
|
|
16955
|
+
|
|
16956
|
+
path?: string
|
|
16957
|
+
|
|
16958
|
+
type: "objectKeys"
|
|
16959
|
+
} | {
|
|
16960
|
+
|
|
16961
|
+
path?: string
|
|
16962
|
+
|
|
16963
|
+
type: "objectValues"
|
|
16964
|
+
})[]
|
|
16965
|
+
|
|
16966
|
+
name?: string
|
|
16967
|
+
|
|
16968
|
+
path: string
|
|
16969
|
+
}) | {
|
|
16970
|
+
|
|
16971
|
+
kind: "tag"
|
|
16972
|
+
|
|
16973
|
+
match?: ({
|
|
16974
|
+
|
|
16975
|
+
type: "strings"
|
|
16976
|
+
} | {
|
|
16977
|
+
|
|
16978
|
+
path?: string
|
|
16979
|
+
|
|
16980
|
+
type: "objectKeys"
|
|
16981
|
+
} | {
|
|
16982
|
+
|
|
16983
|
+
path?: string
|
|
16984
|
+
|
|
16985
|
+
type: "objectValues"
|
|
16986
|
+
})[]
|
|
16987
|
+
|
|
16988
|
+
name: string
|
|
16989
|
+
} | {
|
|
16990
|
+
|
|
16991
|
+
kind: "variable"
|
|
16992
|
+
|
|
16993
|
+
match?: ({
|
|
16994
|
+
|
|
16995
|
+
type: "strings"
|
|
16996
|
+
} | {
|
|
16997
|
+
|
|
16998
|
+
path?: string
|
|
16999
|
+
|
|
17000
|
+
type: "objectKeys"
|
|
17001
|
+
} | {
|
|
17002
|
+
|
|
17003
|
+
path?: string
|
|
17004
|
+
|
|
17005
|
+
type: "objectValues"
|
|
17006
|
+
})[]
|
|
17007
|
+
|
|
17008
|
+
name: string
|
|
17009
|
+
})[]
|
|
17010
|
+
|
|
16323
17011
|
callees?: ([string, ({
|
|
16324
17012
|
|
|
16325
17013
|
match: "strings"
|
|
16326
|
-
[k: string]: unknown | undefined
|
|
16327
17014
|
} | {
|
|
16328
17015
|
|
|
16329
17016
|
match: "objectKeys"
|
|
16330
17017
|
|
|
16331
17018
|
pathPattern?: string
|
|
16332
|
-
[k: string]: unknown | undefined
|
|
16333
17019
|
} | {
|
|
16334
17020
|
|
|
16335
17021
|
match: "objectValues"
|
|
16336
17022
|
|
|
16337
17023
|
pathPattern?: string
|
|
16338
|
-
[k: string]: unknown | undefined
|
|
16339
17024
|
})[]] | string)[]
|
|
16340
17025
|
|
|
16341
17026
|
attributes?: (string | [string, ({
|
|
16342
17027
|
|
|
16343
17028
|
match: "strings"
|
|
16344
|
-
[k: string]: unknown | undefined
|
|
16345
17029
|
} | {
|
|
16346
17030
|
|
|
16347
17031
|
match: "objectKeys"
|
|
16348
17032
|
|
|
16349
17033
|
pathPattern?: string
|
|
16350
|
-
[k: string]: unknown | undefined
|
|
16351
17034
|
} | {
|
|
16352
17035
|
|
|
16353
17036
|
match: "objectValues"
|
|
16354
17037
|
|
|
16355
17038
|
pathPattern?: string
|
|
16356
|
-
[k: string]: unknown | undefined
|
|
16357
17039
|
})[]])[]
|
|
16358
17040
|
|
|
16359
17041
|
variables?: ([string, ({
|
|
16360
17042
|
|
|
16361
17043
|
match: "strings"
|
|
16362
|
-
[k: string]: unknown | undefined
|
|
16363
17044
|
} | {
|
|
16364
17045
|
|
|
16365
17046
|
match: "objectKeys"
|
|
16366
17047
|
|
|
16367
17048
|
pathPattern?: string
|
|
16368
|
-
[k: string]: unknown | undefined
|
|
16369
17049
|
} | {
|
|
16370
17050
|
|
|
16371
17051
|
match: "objectValues"
|
|
16372
17052
|
|
|
16373
17053
|
pathPattern?: string
|
|
16374
|
-
[k: string]: unknown | undefined
|
|
16375
17054
|
})[]] | string)[]
|
|
16376
17055
|
|
|
16377
17056
|
tags?: ([string, ({
|
|
16378
17057
|
|
|
16379
17058
|
match: "strings"
|
|
16380
|
-
[k: string]: unknown | undefined
|
|
16381
17059
|
} | {
|
|
16382
17060
|
|
|
16383
17061
|
match: "objectKeys"
|
|
16384
17062
|
|
|
16385
17063
|
pathPattern?: string
|
|
16386
|
-
[k: string]: unknown | undefined
|
|
16387
17064
|
} | {
|
|
16388
17065
|
|
|
16389
17066
|
match: "objectValues"
|
|
16390
17067
|
|
|
16391
17068
|
pathPattern?: string
|
|
16392
|
-
[k: string]: unknown | undefined
|
|
16393
17069
|
})[]] | string)[]
|
|
16394
17070
|
|
|
16395
17071
|
entryPoint?: string
|
|
@@ -16407,76 +17083,174 @@ type TailwindcssEnforceShorthandClasses = []|[{
|
|
|
16407
17083
|
// ----- tailwindcss/no-conflicting-classes -----
|
|
16408
17084
|
type TailwindcssNoConflictingClasses = []|[{
|
|
16409
17085
|
|
|
17086
|
+
selectors?: ({
|
|
17087
|
+
|
|
17088
|
+
kind: "attribute"
|
|
17089
|
+
|
|
17090
|
+
match?: ({
|
|
17091
|
+
|
|
17092
|
+
type: "strings"
|
|
17093
|
+
} | {
|
|
17094
|
+
|
|
17095
|
+
path?: string
|
|
17096
|
+
|
|
17097
|
+
type: "objectKeys"
|
|
17098
|
+
} | {
|
|
17099
|
+
|
|
17100
|
+
path?: string
|
|
17101
|
+
|
|
17102
|
+
type: "objectValues"
|
|
17103
|
+
})[]
|
|
17104
|
+
|
|
17105
|
+
name: string
|
|
17106
|
+
} | ({
|
|
17107
|
+
|
|
17108
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17109
|
+
|
|
17110
|
+
kind: "callee"
|
|
17111
|
+
|
|
17112
|
+
match?: ({
|
|
17113
|
+
|
|
17114
|
+
type: "strings"
|
|
17115
|
+
} | {
|
|
17116
|
+
|
|
17117
|
+
path?: string
|
|
17118
|
+
|
|
17119
|
+
type: "objectKeys"
|
|
17120
|
+
} | {
|
|
17121
|
+
|
|
17122
|
+
path?: string
|
|
17123
|
+
|
|
17124
|
+
type: "objectValues"
|
|
17125
|
+
})[]
|
|
17126
|
+
|
|
17127
|
+
name: string
|
|
17128
|
+
|
|
17129
|
+
path?: string
|
|
17130
|
+
} | {
|
|
17131
|
+
|
|
17132
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17133
|
+
|
|
17134
|
+
kind: "callee"
|
|
17135
|
+
|
|
17136
|
+
match?: ({
|
|
17137
|
+
|
|
17138
|
+
type: "strings"
|
|
17139
|
+
} | {
|
|
17140
|
+
|
|
17141
|
+
path?: string
|
|
17142
|
+
|
|
17143
|
+
type: "objectKeys"
|
|
17144
|
+
} | {
|
|
17145
|
+
|
|
17146
|
+
path?: string
|
|
17147
|
+
|
|
17148
|
+
type: "objectValues"
|
|
17149
|
+
})[]
|
|
17150
|
+
|
|
17151
|
+
name?: string
|
|
17152
|
+
|
|
17153
|
+
path: string
|
|
17154
|
+
}) | {
|
|
17155
|
+
|
|
17156
|
+
kind: "tag"
|
|
17157
|
+
|
|
17158
|
+
match?: ({
|
|
17159
|
+
|
|
17160
|
+
type: "strings"
|
|
17161
|
+
} | {
|
|
17162
|
+
|
|
17163
|
+
path?: string
|
|
17164
|
+
|
|
17165
|
+
type: "objectKeys"
|
|
17166
|
+
} | {
|
|
17167
|
+
|
|
17168
|
+
path?: string
|
|
17169
|
+
|
|
17170
|
+
type: "objectValues"
|
|
17171
|
+
})[]
|
|
17172
|
+
|
|
17173
|
+
name: string
|
|
17174
|
+
} | {
|
|
17175
|
+
|
|
17176
|
+
kind: "variable"
|
|
17177
|
+
|
|
17178
|
+
match?: ({
|
|
17179
|
+
|
|
17180
|
+
type: "strings"
|
|
17181
|
+
} | {
|
|
17182
|
+
|
|
17183
|
+
path?: string
|
|
17184
|
+
|
|
17185
|
+
type: "objectKeys"
|
|
17186
|
+
} | {
|
|
17187
|
+
|
|
17188
|
+
path?: string
|
|
17189
|
+
|
|
17190
|
+
type: "objectValues"
|
|
17191
|
+
})[]
|
|
17192
|
+
|
|
17193
|
+
name: string
|
|
17194
|
+
})[]
|
|
17195
|
+
|
|
16410
17196
|
callees?: ([string, ({
|
|
16411
17197
|
|
|
16412
17198
|
match: "strings"
|
|
16413
|
-
[k: string]: unknown | undefined
|
|
16414
17199
|
} | {
|
|
16415
17200
|
|
|
16416
17201
|
match: "objectKeys"
|
|
16417
17202
|
|
|
16418
17203
|
pathPattern?: string
|
|
16419
|
-
[k: string]: unknown | undefined
|
|
16420
17204
|
} | {
|
|
16421
17205
|
|
|
16422
17206
|
match: "objectValues"
|
|
16423
17207
|
|
|
16424
17208
|
pathPattern?: string
|
|
16425
|
-
[k: string]: unknown | undefined
|
|
16426
17209
|
})[]] | string)[]
|
|
16427
17210
|
|
|
16428
17211
|
attributes?: (string | [string, ({
|
|
16429
17212
|
|
|
16430
17213
|
match: "strings"
|
|
16431
|
-
[k: string]: unknown | undefined
|
|
16432
17214
|
} | {
|
|
16433
17215
|
|
|
16434
17216
|
match: "objectKeys"
|
|
16435
17217
|
|
|
16436
17218
|
pathPattern?: string
|
|
16437
|
-
[k: string]: unknown | undefined
|
|
16438
17219
|
} | {
|
|
16439
17220
|
|
|
16440
17221
|
match: "objectValues"
|
|
16441
17222
|
|
|
16442
17223
|
pathPattern?: string
|
|
16443
|
-
[k: string]: unknown | undefined
|
|
16444
17224
|
})[]])[]
|
|
16445
17225
|
|
|
16446
17226
|
variables?: ([string, ({
|
|
16447
17227
|
|
|
16448
17228
|
match: "strings"
|
|
16449
|
-
[k: string]: unknown | undefined
|
|
16450
17229
|
} | {
|
|
16451
17230
|
|
|
16452
17231
|
match: "objectKeys"
|
|
16453
17232
|
|
|
16454
17233
|
pathPattern?: string
|
|
16455
|
-
[k: string]: unknown | undefined
|
|
16456
17234
|
} | {
|
|
16457
17235
|
|
|
16458
17236
|
match: "objectValues"
|
|
16459
17237
|
|
|
16460
17238
|
pathPattern?: string
|
|
16461
|
-
[k: string]: unknown | undefined
|
|
16462
17239
|
})[]] | string)[]
|
|
16463
17240
|
|
|
16464
17241
|
tags?: ([string, ({
|
|
16465
17242
|
|
|
16466
17243
|
match: "strings"
|
|
16467
|
-
[k: string]: unknown | undefined
|
|
16468
17244
|
} | {
|
|
16469
17245
|
|
|
16470
17246
|
match: "objectKeys"
|
|
16471
17247
|
|
|
16472
17248
|
pathPattern?: string
|
|
16473
|
-
[k: string]: unknown | undefined
|
|
16474
17249
|
} | {
|
|
16475
17250
|
|
|
16476
17251
|
match: "objectValues"
|
|
16477
17252
|
|
|
16478
17253
|
pathPattern?: string
|
|
16479
|
-
[k: string]: unknown | undefined
|
|
16480
17254
|
})[]] | string)[]
|
|
16481
17255
|
|
|
16482
17256
|
entryPoint?: string
|
|
@@ -16494,163 +17268,359 @@ type TailwindcssNoConflictingClasses = []|[{
|
|
|
16494
17268
|
// ----- tailwindcss/no-deprecated-classes -----
|
|
16495
17269
|
type TailwindcssNoDeprecatedClasses = []|[{
|
|
16496
17270
|
|
|
17271
|
+
selectors?: ({
|
|
17272
|
+
|
|
17273
|
+
kind: "attribute"
|
|
17274
|
+
|
|
17275
|
+
match?: ({
|
|
17276
|
+
|
|
17277
|
+
type: "strings"
|
|
17278
|
+
} | {
|
|
17279
|
+
|
|
17280
|
+
path?: string
|
|
17281
|
+
|
|
17282
|
+
type: "objectKeys"
|
|
17283
|
+
} | {
|
|
17284
|
+
|
|
17285
|
+
path?: string
|
|
17286
|
+
|
|
17287
|
+
type: "objectValues"
|
|
17288
|
+
})[]
|
|
17289
|
+
|
|
17290
|
+
name: string
|
|
17291
|
+
} | ({
|
|
17292
|
+
|
|
17293
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17294
|
+
|
|
17295
|
+
kind: "callee"
|
|
17296
|
+
|
|
17297
|
+
match?: ({
|
|
17298
|
+
|
|
17299
|
+
type: "strings"
|
|
17300
|
+
} | {
|
|
17301
|
+
|
|
17302
|
+
path?: string
|
|
17303
|
+
|
|
17304
|
+
type: "objectKeys"
|
|
17305
|
+
} | {
|
|
17306
|
+
|
|
17307
|
+
path?: string
|
|
17308
|
+
|
|
17309
|
+
type: "objectValues"
|
|
17310
|
+
})[]
|
|
17311
|
+
|
|
17312
|
+
name: string
|
|
17313
|
+
|
|
17314
|
+
path?: string
|
|
17315
|
+
} | {
|
|
17316
|
+
|
|
17317
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17318
|
+
|
|
17319
|
+
kind: "callee"
|
|
17320
|
+
|
|
17321
|
+
match?: ({
|
|
17322
|
+
|
|
17323
|
+
type: "strings"
|
|
17324
|
+
} | {
|
|
17325
|
+
|
|
17326
|
+
path?: string
|
|
17327
|
+
|
|
17328
|
+
type: "objectKeys"
|
|
17329
|
+
} | {
|
|
17330
|
+
|
|
17331
|
+
path?: string
|
|
17332
|
+
|
|
17333
|
+
type: "objectValues"
|
|
17334
|
+
})[]
|
|
17335
|
+
|
|
17336
|
+
name?: string
|
|
17337
|
+
|
|
17338
|
+
path: string
|
|
17339
|
+
}) | {
|
|
17340
|
+
|
|
17341
|
+
kind: "tag"
|
|
17342
|
+
|
|
17343
|
+
match?: ({
|
|
17344
|
+
|
|
17345
|
+
type: "strings"
|
|
17346
|
+
} | {
|
|
17347
|
+
|
|
17348
|
+
path?: string
|
|
17349
|
+
|
|
17350
|
+
type: "objectKeys"
|
|
17351
|
+
} | {
|
|
17352
|
+
|
|
17353
|
+
path?: string
|
|
17354
|
+
|
|
17355
|
+
type: "objectValues"
|
|
17356
|
+
})[]
|
|
17357
|
+
|
|
17358
|
+
name: string
|
|
17359
|
+
} | {
|
|
17360
|
+
|
|
17361
|
+
kind: "variable"
|
|
17362
|
+
|
|
17363
|
+
match?: ({
|
|
17364
|
+
|
|
17365
|
+
type: "strings"
|
|
17366
|
+
} | {
|
|
17367
|
+
|
|
17368
|
+
path?: string
|
|
17369
|
+
|
|
17370
|
+
type: "objectKeys"
|
|
17371
|
+
} | {
|
|
17372
|
+
|
|
17373
|
+
path?: string
|
|
17374
|
+
|
|
17375
|
+
type: "objectValues"
|
|
17376
|
+
})[]
|
|
17377
|
+
|
|
17378
|
+
name: string
|
|
17379
|
+
})[]
|
|
17380
|
+
|
|
16497
17381
|
callees?: ([string, ({
|
|
16498
17382
|
|
|
16499
17383
|
match: "strings"
|
|
16500
|
-
[k: string]: unknown | undefined
|
|
16501
17384
|
} | {
|
|
16502
17385
|
|
|
16503
17386
|
match: "objectKeys"
|
|
16504
17387
|
|
|
16505
17388
|
pathPattern?: string
|
|
16506
|
-
[k: string]: unknown | undefined
|
|
16507
17389
|
} | {
|
|
16508
17390
|
|
|
16509
17391
|
match: "objectValues"
|
|
16510
17392
|
|
|
16511
17393
|
pathPattern?: string
|
|
16512
|
-
[k: string]: unknown | undefined
|
|
16513
17394
|
})[]] | string)[]
|
|
16514
17395
|
|
|
16515
17396
|
attributes?: (string | [string, ({
|
|
16516
17397
|
|
|
16517
17398
|
match: "strings"
|
|
16518
|
-
[k: string]: unknown | undefined
|
|
16519
17399
|
} | {
|
|
16520
17400
|
|
|
16521
17401
|
match: "objectKeys"
|
|
16522
17402
|
|
|
16523
17403
|
pathPattern?: string
|
|
16524
|
-
[k: string]: unknown | undefined
|
|
16525
17404
|
} | {
|
|
16526
17405
|
|
|
16527
17406
|
match: "objectValues"
|
|
16528
17407
|
|
|
16529
17408
|
pathPattern?: string
|
|
16530
|
-
[k: string]: unknown | undefined
|
|
16531
17409
|
})[]])[]
|
|
16532
17410
|
|
|
16533
17411
|
variables?: ([string, ({
|
|
16534
17412
|
|
|
16535
17413
|
match: "strings"
|
|
16536
|
-
[k: string]: unknown | undefined
|
|
16537
17414
|
} | {
|
|
16538
17415
|
|
|
16539
17416
|
match: "objectKeys"
|
|
16540
17417
|
|
|
16541
17418
|
pathPattern?: string
|
|
16542
|
-
[k: string]: unknown | undefined
|
|
16543
17419
|
} | {
|
|
16544
17420
|
|
|
16545
17421
|
match: "objectValues"
|
|
16546
17422
|
|
|
16547
17423
|
pathPattern?: string
|
|
16548
|
-
[k: string]: unknown | undefined
|
|
16549
17424
|
})[]] | string)[]
|
|
16550
17425
|
|
|
16551
17426
|
tags?: ([string, ({
|
|
16552
17427
|
|
|
16553
17428
|
match: "strings"
|
|
16554
|
-
[k: string]: unknown | undefined
|
|
16555
17429
|
} | {
|
|
16556
17430
|
|
|
16557
17431
|
match: "objectKeys"
|
|
16558
17432
|
|
|
16559
|
-
pathPattern?: string
|
|
16560
|
-
|
|
17433
|
+
pathPattern?: string
|
|
17434
|
+
} | {
|
|
17435
|
+
|
|
17436
|
+
match: "objectValues"
|
|
17437
|
+
|
|
17438
|
+
pathPattern?: string
|
|
17439
|
+
})[]] | string)[]
|
|
17440
|
+
|
|
17441
|
+
entryPoint?: string
|
|
17442
|
+
|
|
17443
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
17444
|
+
|
|
17445
|
+
tailwindConfig?: string
|
|
17446
|
+
|
|
17447
|
+
tsconfig?: string
|
|
17448
|
+
|
|
17449
|
+
detectComponentClasses?: boolean
|
|
17450
|
+
|
|
17451
|
+
rootFontSize?: number
|
|
17452
|
+
}]
|
|
17453
|
+
// ----- tailwindcss/no-duplicate-classes -----
|
|
17454
|
+
type TailwindcssNoDuplicateClasses = []|[{
|
|
17455
|
+
|
|
17456
|
+
selectors?: ({
|
|
17457
|
+
|
|
17458
|
+
kind: "attribute"
|
|
17459
|
+
|
|
17460
|
+
match?: ({
|
|
17461
|
+
|
|
17462
|
+
type: "strings"
|
|
17463
|
+
} | {
|
|
17464
|
+
|
|
17465
|
+
path?: string
|
|
17466
|
+
|
|
17467
|
+
type: "objectKeys"
|
|
17468
|
+
} | {
|
|
17469
|
+
|
|
17470
|
+
path?: string
|
|
17471
|
+
|
|
17472
|
+
type: "objectValues"
|
|
17473
|
+
})[]
|
|
17474
|
+
|
|
17475
|
+
name: string
|
|
17476
|
+
} | ({
|
|
17477
|
+
|
|
17478
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17479
|
+
|
|
17480
|
+
kind: "callee"
|
|
17481
|
+
|
|
17482
|
+
match?: ({
|
|
17483
|
+
|
|
17484
|
+
type: "strings"
|
|
17485
|
+
} | {
|
|
17486
|
+
|
|
17487
|
+
path?: string
|
|
17488
|
+
|
|
17489
|
+
type: "objectKeys"
|
|
17490
|
+
} | {
|
|
17491
|
+
|
|
17492
|
+
path?: string
|
|
17493
|
+
|
|
17494
|
+
type: "objectValues"
|
|
17495
|
+
})[]
|
|
17496
|
+
|
|
17497
|
+
name: string
|
|
17498
|
+
|
|
17499
|
+
path?: string
|
|
17500
|
+
} | {
|
|
17501
|
+
|
|
17502
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17503
|
+
|
|
17504
|
+
kind: "callee"
|
|
17505
|
+
|
|
17506
|
+
match?: ({
|
|
17507
|
+
|
|
17508
|
+
type: "strings"
|
|
17509
|
+
} | {
|
|
17510
|
+
|
|
17511
|
+
path?: string
|
|
17512
|
+
|
|
17513
|
+
type: "objectKeys"
|
|
17514
|
+
} | {
|
|
17515
|
+
|
|
17516
|
+
path?: string
|
|
17517
|
+
|
|
17518
|
+
type: "objectValues"
|
|
17519
|
+
})[]
|
|
17520
|
+
|
|
17521
|
+
name?: string
|
|
17522
|
+
|
|
17523
|
+
path: string
|
|
17524
|
+
}) | {
|
|
17525
|
+
|
|
17526
|
+
kind: "tag"
|
|
17527
|
+
|
|
17528
|
+
match?: ({
|
|
17529
|
+
|
|
17530
|
+
type: "strings"
|
|
17531
|
+
} | {
|
|
17532
|
+
|
|
17533
|
+
path?: string
|
|
17534
|
+
|
|
17535
|
+
type: "objectKeys"
|
|
17536
|
+
} | {
|
|
17537
|
+
|
|
17538
|
+
path?: string
|
|
17539
|
+
|
|
17540
|
+
type: "objectValues"
|
|
17541
|
+
})[]
|
|
17542
|
+
|
|
17543
|
+
name: string
|
|
16561
17544
|
} | {
|
|
16562
17545
|
|
|
16563
|
-
|
|
17546
|
+
kind: "variable"
|
|
16564
17547
|
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16568
|
-
|
|
16569
|
-
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
type TailwindcssNoDuplicateClasses = []|[{
|
|
17548
|
+
match?: ({
|
|
17549
|
+
|
|
17550
|
+
type: "strings"
|
|
17551
|
+
} | {
|
|
17552
|
+
|
|
17553
|
+
path?: string
|
|
17554
|
+
|
|
17555
|
+
type: "objectKeys"
|
|
17556
|
+
} | {
|
|
17557
|
+
|
|
17558
|
+
path?: string
|
|
17559
|
+
|
|
17560
|
+
type: "objectValues"
|
|
17561
|
+
})[]
|
|
17562
|
+
|
|
17563
|
+
name: string
|
|
17564
|
+
})[]
|
|
16583
17565
|
|
|
16584
17566
|
callees?: ([string, ({
|
|
16585
17567
|
|
|
16586
17568
|
match: "strings"
|
|
16587
|
-
[k: string]: unknown | undefined
|
|
16588
17569
|
} | {
|
|
16589
17570
|
|
|
16590
17571
|
match: "objectKeys"
|
|
16591
17572
|
|
|
16592
17573
|
pathPattern?: string
|
|
16593
|
-
[k: string]: unknown | undefined
|
|
16594
17574
|
} | {
|
|
16595
17575
|
|
|
16596
17576
|
match: "objectValues"
|
|
16597
17577
|
|
|
16598
17578
|
pathPattern?: string
|
|
16599
|
-
[k: string]: unknown | undefined
|
|
16600
17579
|
})[]] | string)[]
|
|
16601
17580
|
|
|
16602
17581
|
attributes?: (string | [string, ({
|
|
16603
17582
|
|
|
16604
17583
|
match: "strings"
|
|
16605
|
-
[k: string]: unknown | undefined
|
|
16606
17584
|
} | {
|
|
16607
17585
|
|
|
16608
17586
|
match: "objectKeys"
|
|
16609
17587
|
|
|
16610
17588
|
pathPattern?: string
|
|
16611
|
-
[k: string]: unknown | undefined
|
|
16612
17589
|
} | {
|
|
16613
17590
|
|
|
16614
17591
|
match: "objectValues"
|
|
16615
17592
|
|
|
16616
17593
|
pathPattern?: string
|
|
16617
|
-
[k: string]: unknown | undefined
|
|
16618
17594
|
})[]])[]
|
|
16619
17595
|
|
|
16620
17596
|
variables?: ([string, ({
|
|
16621
17597
|
|
|
16622
17598
|
match: "strings"
|
|
16623
|
-
[k: string]: unknown | undefined
|
|
16624
17599
|
} | {
|
|
16625
17600
|
|
|
16626
17601
|
match: "objectKeys"
|
|
16627
17602
|
|
|
16628
17603
|
pathPattern?: string
|
|
16629
|
-
[k: string]: unknown | undefined
|
|
16630
17604
|
} | {
|
|
16631
17605
|
|
|
16632
17606
|
match: "objectValues"
|
|
16633
17607
|
|
|
16634
17608
|
pathPattern?: string
|
|
16635
|
-
[k: string]: unknown | undefined
|
|
16636
17609
|
})[]] | string)[]
|
|
16637
17610
|
|
|
16638
17611
|
tags?: ([string, ({
|
|
16639
17612
|
|
|
16640
17613
|
match: "strings"
|
|
16641
|
-
[k: string]: unknown | undefined
|
|
16642
17614
|
} | {
|
|
16643
17615
|
|
|
16644
17616
|
match: "objectKeys"
|
|
16645
17617
|
|
|
16646
17618
|
pathPattern?: string
|
|
16647
|
-
[k: string]: unknown | undefined
|
|
16648
17619
|
} | {
|
|
16649
17620
|
|
|
16650
17621
|
match: "objectValues"
|
|
16651
17622
|
|
|
16652
17623
|
pathPattern?: string
|
|
16653
|
-
[k: string]: unknown | undefined
|
|
16654
17624
|
})[]] | string)[]
|
|
16655
17625
|
|
|
16656
17626
|
entryPoint?: string
|
|
@@ -16668,76 +17638,174 @@ type TailwindcssNoDuplicateClasses = []|[{
|
|
|
16668
17638
|
// ----- tailwindcss/no-restricted-classes -----
|
|
16669
17639
|
type TailwindcssNoRestrictedClasses = []|[{
|
|
16670
17640
|
|
|
17641
|
+
selectors?: ({
|
|
17642
|
+
|
|
17643
|
+
kind: "attribute"
|
|
17644
|
+
|
|
17645
|
+
match?: ({
|
|
17646
|
+
|
|
17647
|
+
type: "strings"
|
|
17648
|
+
} | {
|
|
17649
|
+
|
|
17650
|
+
path?: string
|
|
17651
|
+
|
|
17652
|
+
type: "objectKeys"
|
|
17653
|
+
} | {
|
|
17654
|
+
|
|
17655
|
+
path?: string
|
|
17656
|
+
|
|
17657
|
+
type: "objectValues"
|
|
17658
|
+
})[]
|
|
17659
|
+
|
|
17660
|
+
name: string
|
|
17661
|
+
} | ({
|
|
17662
|
+
|
|
17663
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17664
|
+
|
|
17665
|
+
kind: "callee"
|
|
17666
|
+
|
|
17667
|
+
match?: ({
|
|
17668
|
+
|
|
17669
|
+
type: "strings"
|
|
17670
|
+
} | {
|
|
17671
|
+
|
|
17672
|
+
path?: string
|
|
17673
|
+
|
|
17674
|
+
type: "objectKeys"
|
|
17675
|
+
} | {
|
|
17676
|
+
|
|
17677
|
+
path?: string
|
|
17678
|
+
|
|
17679
|
+
type: "objectValues"
|
|
17680
|
+
})[]
|
|
17681
|
+
|
|
17682
|
+
name: string
|
|
17683
|
+
|
|
17684
|
+
path?: string
|
|
17685
|
+
} | {
|
|
17686
|
+
|
|
17687
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17688
|
+
|
|
17689
|
+
kind: "callee"
|
|
17690
|
+
|
|
17691
|
+
match?: ({
|
|
17692
|
+
|
|
17693
|
+
type: "strings"
|
|
17694
|
+
} | {
|
|
17695
|
+
|
|
17696
|
+
path?: string
|
|
17697
|
+
|
|
17698
|
+
type: "objectKeys"
|
|
17699
|
+
} | {
|
|
17700
|
+
|
|
17701
|
+
path?: string
|
|
17702
|
+
|
|
17703
|
+
type: "objectValues"
|
|
17704
|
+
})[]
|
|
17705
|
+
|
|
17706
|
+
name?: string
|
|
17707
|
+
|
|
17708
|
+
path: string
|
|
17709
|
+
}) | {
|
|
17710
|
+
|
|
17711
|
+
kind: "tag"
|
|
17712
|
+
|
|
17713
|
+
match?: ({
|
|
17714
|
+
|
|
17715
|
+
type: "strings"
|
|
17716
|
+
} | {
|
|
17717
|
+
|
|
17718
|
+
path?: string
|
|
17719
|
+
|
|
17720
|
+
type: "objectKeys"
|
|
17721
|
+
} | {
|
|
17722
|
+
|
|
17723
|
+
path?: string
|
|
17724
|
+
|
|
17725
|
+
type: "objectValues"
|
|
17726
|
+
})[]
|
|
17727
|
+
|
|
17728
|
+
name: string
|
|
17729
|
+
} | {
|
|
17730
|
+
|
|
17731
|
+
kind: "variable"
|
|
17732
|
+
|
|
17733
|
+
match?: ({
|
|
17734
|
+
|
|
17735
|
+
type: "strings"
|
|
17736
|
+
} | {
|
|
17737
|
+
|
|
17738
|
+
path?: string
|
|
17739
|
+
|
|
17740
|
+
type: "objectKeys"
|
|
17741
|
+
} | {
|
|
17742
|
+
|
|
17743
|
+
path?: string
|
|
17744
|
+
|
|
17745
|
+
type: "objectValues"
|
|
17746
|
+
})[]
|
|
17747
|
+
|
|
17748
|
+
name: string
|
|
17749
|
+
})[]
|
|
17750
|
+
|
|
16671
17751
|
callees?: ([string, ({
|
|
16672
17752
|
|
|
16673
17753
|
match: "strings"
|
|
16674
|
-
[k: string]: unknown | undefined
|
|
16675
17754
|
} | {
|
|
16676
17755
|
|
|
16677
17756
|
match: "objectKeys"
|
|
16678
17757
|
|
|
16679
17758
|
pathPattern?: string
|
|
16680
|
-
[k: string]: unknown | undefined
|
|
16681
17759
|
} | {
|
|
16682
17760
|
|
|
16683
17761
|
match: "objectValues"
|
|
16684
17762
|
|
|
16685
17763
|
pathPattern?: string
|
|
16686
|
-
[k: string]: unknown | undefined
|
|
16687
17764
|
})[]] | string)[]
|
|
16688
17765
|
|
|
16689
17766
|
attributes?: (string | [string, ({
|
|
16690
17767
|
|
|
16691
17768
|
match: "strings"
|
|
16692
|
-
[k: string]: unknown | undefined
|
|
16693
17769
|
} | {
|
|
16694
17770
|
|
|
16695
17771
|
match: "objectKeys"
|
|
16696
17772
|
|
|
16697
17773
|
pathPattern?: string
|
|
16698
|
-
[k: string]: unknown | undefined
|
|
16699
17774
|
} | {
|
|
16700
17775
|
|
|
16701
17776
|
match: "objectValues"
|
|
16702
17777
|
|
|
16703
17778
|
pathPattern?: string
|
|
16704
|
-
[k: string]: unknown | undefined
|
|
16705
17779
|
})[]])[]
|
|
16706
17780
|
|
|
16707
17781
|
variables?: ([string, ({
|
|
16708
17782
|
|
|
16709
17783
|
match: "strings"
|
|
16710
|
-
[k: string]: unknown | undefined
|
|
16711
17784
|
} | {
|
|
16712
17785
|
|
|
16713
17786
|
match: "objectKeys"
|
|
16714
17787
|
|
|
16715
17788
|
pathPattern?: string
|
|
16716
|
-
[k: string]: unknown | undefined
|
|
16717
17789
|
} | {
|
|
16718
17790
|
|
|
16719
17791
|
match: "objectValues"
|
|
16720
17792
|
|
|
16721
17793
|
pathPattern?: string
|
|
16722
|
-
[k: string]: unknown | undefined
|
|
16723
17794
|
})[]] | string)[]
|
|
16724
17795
|
|
|
16725
17796
|
tags?: ([string, ({
|
|
16726
17797
|
|
|
16727
17798
|
match: "strings"
|
|
16728
|
-
[k: string]: unknown | undefined
|
|
16729
17799
|
} | {
|
|
16730
17800
|
|
|
16731
17801
|
match: "objectKeys"
|
|
16732
17802
|
|
|
16733
17803
|
pathPattern?: string
|
|
16734
|
-
[k: string]: unknown | undefined
|
|
16735
17804
|
} | {
|
|
16736
17805
|
|
|
16737
17806
|
match: "objectValues"
|
|
16738
17807
|
|
|
16739
17808
|
pathPattern?: string
|
|
16740
|
-
[k: string]: unknown | undefined
|
|
16741
17809
|
})[]] | string)[]
|
|
16742
17810
|
|
|
16743
17811
|
entryPoint?: string
|
|
@@ -16758,82 +17826,179 @@ type TailwindcssNoRestrictedClasses = []|[{
|
|
|
16758
17826
|
message?: string
|
|
16759
17827
|
|
|
16760
17828
|
pattern: string
|
|
16761
|
-
[k: string]: unknown | undefined
|
|
16762
17829
|
} | string)[]
|
|
16763
17830
|
}]
|
|
16764
17831
|
// ----- tailwindcss/no-unknown-classes -----
|
|
16765
17832
|
type TailwindcssNoUnknownClasses = []|[{
|
|
16766
17833
|
|
|
17834
|
+
selectors?: ({
|
|
17835
|
+
|
|
17836
|
+
kind: "attribute"
|
|
17837
|
+
|
|
17838
|
+
match?: ({
|
|
17839
|
+
|
|
17840
|
+
type: "strings"
|
|
17841
|
+
} | {
|
|
17842
|
+
|
|
17843
|
+
path?: string
|
|
17844
|
+
|
|
17845
|
+
type: "objectKeys"
|
|
17846
|
+
} | {
|
|
17847
|
+
|
|
17848
|
+
path?: string
|
|
17849
|
+
|
|
17850
|
+
type: "objectValues"
|
|
17851
|
+
})[]
|
|
17852
|
+
|
|
17853
|
+
name: string
|
|
17854
|
+
} | ({
|
|
17855
|
+
|
|
17856
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17857
|
+
|
|
17858
|
+
kind: "callee"
|
|
17859
|
+
|
|
17860
|
+
match?: ({
|
|
17861
|
+
|
|
17862
|
+
type: "strings"
|
|
17863
|
+
} | {
|
|
17864
|
+
|
|
17865
|
+
path?: string
|
|
17866
|
+
|
|
17867
|
+
type: "objectKeys"
|
|
17868
|
+
} | {
|
|
17869
|
+
|
|
17870
|
+
path?: string
|
|
17871
|
+
|
|
17872
|
+
type: "objectValues"
|
|
17873
|
+
})[]
|
|
17874
|
+
|
|
17875
|
+
name: string
|
|
17876
|
+
|
|
17877
|
+
path?: string
|
|
17878
|
+
} | {
|
|
17879
|
+
|
|
17880
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
17881
|
+
|
|
17882
|
+
kind: "callee"
|
|
17883
|
+
|
|
17884
|
+
match?: ({
|
|
17885
|
+
|
|
17886
|
+
type: "strings"
|
|
17887
|
+
} | {
|
|
17888
|
+
|
|
17889
|
+
path?: string
|
|
17890
|
+
|
|
17891
|
+
type: "objectKeys"
|
|
17892
|
+
} | {
|
|
17893
|
+
|
|
17894
|
+
path?: string
|
|
17895
|
+
|
|
17896
|
+
type: "objectValues"
|
|
17897
|
+
})[]
|
|
17898
|
+
|
|
17899
|
+
name?: string
|
|
17900
|
+
|
|
17901
|
+
path: string
|
|
17902
|
+
}) | {
|
|
17903
|
+
|
|
17904
|
+
kind: "tag"
|
|
17905
|
+
|
|
17906
|
+
match?: ({
|
|
17907
|
+
|
|
17908
|
+
type: "strings"
|
|
17909
|
+
} | {
|
|
17910
|
+
|
|
17911
|
+
path?: string
|
|
17912
|
+
|
|
17913
|
+
type: "objectKeys"
|
|
17914
|
+
} | {
|
|
17915
|
+
|
|
17916
|
+
path?: string
|
|
17917
|
+
|
|
17918
|
+
type: "objectValues"
|
|
17919
|
+
})[]
|
|
17920
|
+
|
|
17921
|
+
name: string
|
|
17922
|
+
} | {
|
|
17923
|
+
|
|
17924
|
+
kind: "variable"
|
|
17925
|
+
|
|
17926
|
+
match?: ({
|
|
17927
|
+
|
|
17928
|
+
type: "strings"
|
|
17929
|
+
} | {
|
|
17930
|
+
|
|
17931
|
+
path?: string
|
|
17932
|
+
|
|
17933
|
+
type: "objectKeys"
|
|
17934
|
+
} | {
|
|
17935
|
+
|
|
17936
|
+
path?: string
|
|
17937
|
+
|
|
17938
|
+
type: "objectValues"
|
|
17939
|
+
})[]
|
|
17940
|
+
|
|
17941
|
+
name: string
|
|
17942
|
+
})[]
|
|
17943
|
+
|
|
16767
17944
|
callees?: ([string, ({
|
|
16768
17945
|
|
|
16769
17946
|
match: "strings"
|
|
16770
|
-
[k: string]: unknown | undefined
|
|
16771
17947
|
} | {
|
|
16772
17948
|
|
|
16773
17949
|
match: "objectKeys"
|
|
16774
17950
|
|
|
16775
17951
|
pathPattern?: string
|
|
16776
|
-
[k: string]: unknown | undefined
|
|
16777
17952
|
} | {
|
|
16778
17953
|
|
|
16779
17954
|
match: "objectValues"
|
|
16780
17955
|
|
|
16781
17956
|
pathPattern?: string
|
|
16782
|
-
[k: string]: unknown | undefined
|
|
16783
17957
|
})[]] | string)[]
|
|
16784
17958
|
|
|
16785
17959
|
attributes?: (string | [string, ({
|
|
16786
17960
|
|
|
16787
17961
|
match: "strings"
|
|
16788
|
-
[k: string]: unknown | undefined
|
|
16789
17962
|
} | {
|
|
16790
17963
|
|
|
16791
17964
|
match: "objectKeys"
|
|
16792
17965
|
|
|
16793
17966
|
pathPattern?: string
|
|
16794
|
-
[k: string]: unknown | undefined
|
|
16795
17967
|
} | {
|
|
16796
17968
|
|
|
16797
17969
|
match: "objectValues"
|
|
16798
17970
|
|
|
16799
17971
|
pathPattern?: string
|
|
16800
|
-
[k: string]: unknown | undefined
|
|
16801
17972
|
})[]])[]
|
|
16802
17973
|
|
|
16803
17974
|
variables?: ([string, ({
|
|
16804
17975
|
|
|
16805
17976
|
match: "strings"
|
|
16806
|
-
[k: string]: unknown | undefined
|
|
16807
17977
|
} | {
|
|
16808
17978
|
|
|
16809
17979
|
match: "objectKeys"
|
|
16810
17980
|
|
|
16811
17981
|
pathPattern?: string
|
|
16812
|
-
[k: string]: unknown | undefined
|
|
16813
17982
|
} | {
|
|
16814
17983
|
|
|
16815
17984
|
match: "objectValues"
|
|
16816
17985
|
|
|
16817
17986
|
pathPattern?: string
|
|
16818
|
-
[k: string]: unknown | undefined
|
|
16819
17987
|
})[]] | string)[]
|
|
16820
17988
|
|
|
16821
17989
|
tags?: ([string, ({
|
|
16822
17990
|
|
|
16823
17991
|
match: "strings"
|
|
16824
|
-
[k: string]: unknown | undefined
|
|
16825
17992
|
} | {
|
|
16826
17993
|
|
|
16827
17994
|
match: "objectKeys"
|
|
16828
17995
|
|
|
16829
17996
|
pathPattern?: string
|
|
16830
|
-
[k: string]: unknown | undefined
|
|
16831
17997
|
} | {
|
|
16832
17998
|
|
|
16833
17999
|
match: "objectValues"
|
|
16834
18000
|
|
|
16835
18001
|
pathPattern?: string
|
|
16836
|
-
[k: string]: unknown | undefined
|
|
16837
18002
|
})[]] | string)[]
|
|
16838
18003
|
|
|
16839
18004
|
entryPoint?: string
|
|
@@ -16853,76 +18018,174 @@ type TailwindcssNoUnknownClasses = []|[{
|
|
|
16853
18018
|
// ----- tailwindcss/no-unnecessary-whitespace -----
|
|
16854
18019
|
type TailwindcssNoUnnecessaryWhitespace = []|[{
|
|
16855
18020
|
|
|
18021
|
+
selectors?: ({
|
|
18022
|
+
|
|
18023
|
+
kind: "attribute"
|
|
18024
|
+
|
|
18025
|
+
match?: ({
|
|
18026
|
+
|
|
18027
|
+
type: "strings"
|
|
18028
|
+
} | {
|
|
18029
|
+
|
|
18030
|
+
path?: string
|
|
18031
|
+
|
|
18032
|
+
type: "objectKeys"
|
|
18033
|
+
} | {
|
|
18034
|
+
|
|
18035
|
+
path?: string
|
|
18036
|
+
|
|
18037
|
+
type: "objectValues"
|
|
18038
|
+
})[]
|
|
18039
|
+
|
|
18040
|
+
name: string
|
|
18041
|
+
} | ({
|
|
18042
|
+
|
|
18043
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
18044
|
+
|
|
18045
|
+
kind: "callee"
|
|
18046
|
+
|
|
18047
|
+
match?: ({
|
|
18048
|
+
|
|
18049
|
+
type: "strings"
|
|
18050
|
+
} | {
|
|
18051
|
+
|
|
18052
|
+
path?: string
|
|
18053
|
+
|
|
18054
|
+
type: "objectKeys"
|
|
18055
|
+
} | {
|
|
18056
|
+
|
|
18057
|
+
path?: string
|
|
18058
|
+
|
|
18059
|
+
type: "objectValues"
|
|
18060
|
+
})[]
|
|
18061
|
+
|
|
18062
|
+
name: string
|
|
18063
|
+
|
|
18064
|
+
path?: string
|
|
18065
|
+
} | {
|
|
18066
|
+
|
|
18067
|
+
callTarget?: ("all" | "first" | "last" | number)
|
|
18068
|
+
|
|
18069
|
+
kind: "callee"
|
|
18070
|
+
|
|
18071
|
+
match?: ({
|
|
18072
|
+
|
|
18073
|
+
type: "strings"
|
|
18074
|
+
} | {
|
|
18075
|
+
|
|
18076
|
+
path?: string
|
|
18077
|
+
|
|
18078
|
+
type: "objectKeys"
|
|
18079
|
+
} | {
|
|
18080
|
+
|
|
18081
|
+
path?: string
|
|
18082
|
+
|
|
18083
|
+
type: "objectValues"
|
|
18084
|
+
})[]
|
|
18085
|
+
|
|
18086
|
+
name?: string
|
|
18087
|
+
|
|
18088
|
+
path: string
|
|
18089
|
+
}) | {
|
|
18090
|
+
|
|
18091
|
+
kind: "tag"
|
|
18092
|
+
|
|
18093
|
+
match?: ({
|
|
18094
|
+
|
|
18095
|
+
type: "strings"
|
|
18096
|
+
} | {
|
|
18097
|
+
|
|
18098
|
+
path?: string
|
|
18099
|
+
|
|
18100
|
+
type: "objectKeys"
|
|
18101
|
+
} | {
|
|
18102
|
+
|
|
18103
|
+
path?: string
|
|
18104
|
+
|
|
18105
|
+
type: "objectValues"
|
|
18106
|
+
})[]
|
|
18107
|
+
|
|
18108
|
+
name: string
|
|
18109
|
+
} | {
|
|
18110
|
+
|
|
18111
|
+
kind: "variable"
|
|
18112
|
+
|
|
18113
|
+
match?: ({
|
|
18114
|
+
|
|
18115
|
+
type: "strings"
|
|
18116
|
+
} | {
|
|
18117
|
+
|
|
18118
|
+
path?: string
|
|
18119
|
+
|
|
18120
|
+
type: "objectKeys"
|
|
18121
|
+
} | {
|
|
18122
|
+
|
|
18123
|
+
path?: string
|
|
18124
|
+
|
|
18125
|
+
type: "objectValues"
|
|
18126
|
+
})[]
|
|
18127
|
+
|
|
18128
|
+
name: string
|
|
18129
|
+
})[]
|
|
18130
|
+
|
|
16856
18131
|
callees?: ([string, ({
|
|
16857
18132
|
|
|
16858
18133
|
match: "strings"
|
|
16859
|
-
[k: string]: unknown | undefined
|
|
16860
18134
|
} | {
|
|
16861
18135
|
|
|
16862
18136
|
match: "objectKeys"
|
|
16863
18137
|
|
|
16864
18138
|
pathPattern?: string
|
|
16865
|
-
[k: string]: unknown | undefined
|
|
16866
18139
|
} | {
|
|
16867
18140
|
|
|
16868
18141
|
match: "objectValues"
|
|
16869
18142
|
|
|
16870
18143
|
pathPattern?: string
|
|
16871
|
-
[k: string]: unknown | undefined
|
|
16872
18144
|
})[]] | string)[]
|
|
16873
18145
|
|
|
16874
18146
|
attributes?: (string | [string, ({
|
|
16875
18147
|
|
|
16876
18148
|
match: "strings"
|
|
16877
|
-
[k: string]: unknown | undefined
|
|
16878
18149
|
} | {
|
|
16879
18150
|
|
|
16880
18151
|
match: "objectKeys"
|
|
16881
18152
|
|
|
16882
18153
|
pathPattern?: string
|
|
16883
|
-
[k: string]: unknown | undefined
|
|
16884
18154
|
} | {
|
|
16885
18155
|
|
|
16886
18156
|
match: "objectValues"
|
|
16887
18157
|
|
|
16888
18158
|
pathPattern?: string
|
|
16889
|
-
[k: string]: unknown | undefined
|
|
16890
18159
|
})[]])[]
|
|
16891
18160
|
|
|
16892
18161
|
variables?: ([string, ({
|
|
16893
18162
|
|
|
16894
18163
|
match: "strings"
|
|
16895
|
-
[k: string]: unknown | undefined
|
|
16896
18164
|
} | {
|
|
16897
18165
|
|
|
16898
18166
|
match: "objectKeys"
|
|
16899
18167
|
|
|
16900
18168
|
pathPattern?: string
|
|
16901
|
-
[k: string]: unknown | undefined
|
|
16902
18169
|
} | {
|
|
16903
18170
|
|
|
16904
18171
|
match: "objectValues"
|
|
16905
18172
|
|
|
16906
18173
|
pathPattern?: string
|
|
16907
|
-
[k: string]: unknown | undefined
|
|
16908
18174
|
})[]] | string)[]
|
|
16909
18175
|
|
|
16910
18176
|
tags?: ([string, ({
|
|
16911
18177
|
|
|
16912
18178
|
match: "strings"
|
|
16913
|
-
[k: string]: unknown | undefined
|
|
16914
18179
|
} | {
|
|
16915
18180
|
|
|
16916
18181
|
match: "objectKeys"
|
|
16917
18182
|
|
|
16918
18183
|
pathPattern?: string
|
|
16919
|
-
[k: string]: unknown | undefined
|
|
16920
18184
|
} | {
|
|
16921
18185
|
|
|
16922
18186
|
match: "objectValues"
|
|
16923
18187
|
|
|
16924
18188
|
pathPattern?: string
|
|
16925
|
-
[k: string]: unknown | undefined
|
|
16926
18189
|
})[]] | string)[]
|
|
16927
18190
|
|
|
16928
18191
|
entryPoint?: string
|
|
@@ -17127,6 +18390,15 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
17127
18390
|
interface _UnicornImportStyle_BooleanObject {
|
|
17128
18391
|
[k: string]: boolean | undefined
|
|
17129
18392
|
}
|
|
18393
|
+
// ----- unicorn/isolated-functions -----
|
|
18394
|
+
type UnicornIsolatedFunctions = []|[{
|
|
18395
|
+
overrideGlobals?: {
|
|
18396
|
+
[k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined
|
|
18397
|
+
}
|
|
18398
|
+
functions?: string[]
|
|
18399
|
+
selectors?: string[]
|
|
18400
|
+
comments?: string[]
|
|
18401
|
+
}]
|
|
17130
18402
|
// ----- unicorn/no-array-reduce -----
|
|
17131
18403
|
type UnicornNoArrayReduce = []|[{
|
|
17132
18404
|
allowSimpleOperations?: boolean
|
|
@@ -17305,6 +18577,11 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
17305
18577
|
|
|
17306
18578
|
destructuredArrayIgnorePattern?: string
|
|
17307
18579
|
|
|
18580
|
+
enableAutofixRemoval?: {
|
|
18581
|
+
|
|
18582
|
+
imports?: boolean
|
|
18583
|
+
}
|
|
18584
|
+
|
|
17308
18585
|
ignoreClassWithStaticInitBlock?: boolean
|
|
17309
18586
|
|
|
17310
18587
|
ignoreRestSiblings?: boolean
|
|
@@ -17330,6 +18607,11 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
17330
18607
|
|
|
17331
18608
|
destructuredArrayIgnorePattern?: string
|
|
17332
18609
|
|
|
18610
|
+
enableAutofixRemoval?: {
|
|
18611
|
+
|
|
18612
|
+
imports?: boolean
|
|
18613
|
+
}
|
|
18614
|
+
|
|
17333
18615
|
ignoreClassWithStaticInitBlock?: boolean
|
|
17334
18616
|
|
|
17335
18617
|
ignoreRestSiblings?: boolean
|