@biomejs/wasm-bundler 2.2.2 → 2.2.5
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/biome_wasm.d.ts +227 -14
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -753,7 +753,7 @@ interface Source {
|
|
|
753
753
|
*/
|
|
754
754
|
organizeImports?: RuleAssistConfiguration_for_OrganizeImportsOptions;
|
|
755
755
|
/**
|
|
756
|
-
*
|
|
756
|
+
* Enables the recommended rules for this group
|
|
757
757
|
*/
|
|
758
758
|
recommended?: boolean;
|
|
759
759
|
/**
|
|
@@ -761,7 +761,7 @@ interface Source {
|
|
|
761
761
|
*/
|
|
762
762
|
useSortedAttributes?: RuleAssistConfiguration_for_UseSortedAttributesOptions;
|
|
763
763
|
/**
|
|
764
|
-
*
|
|
764
|
+
* Sort the keys of a JSON object in natural order.
|
|
765
765
|
*/
|
|
766
766
|
useSortedKeys?: RuleAssistConfiguration_for_UseSortedKeysOptions;
|
|
767
767
|
/**
|
|
@@ -951,7 +951,7 @@ interface A11y {
|
|
|
951
951
|
*/
|
|
952
952
|
noSvgWithoutTitle?: RuleConfiguration_for_NoSvgWithoutTitleOptions;
|
|
953
953
|
/**
|
|
954
|
-
*
|
|
954
|
+
* Enables the recommended rules for this group
|
|
955
955
|
*/
|
|
956
956
|
recommended?: boolean;
|
|
957
957
|
/**
|
|
@@ -1169,7 +1169,7 @@ interface Complexity {
|
|
|
1169
1169
|
*/
|
|
1170
1170
|
noVoid?: RuleConfiguration_for_NoVoidOptions;
|
|
1171
1171
|
/**
|
|
1172
|
-
*
|
|
1172
|
+
* Enables the recommended rules for this group
|
|
1173
1173
|
*/
|
|
1174
1174
|
recommended?: boolean;
|
|
1175
1175
|
/**
|
|
@@ -1427,7 +1427,7 @@ interface Correctness {
|
|
|
1427
1427
|
*/
|
|
1428
1428
|
noVoidTypeReturn?: RuleConfiguration_for_NoVoidTypeReturnOptions;
|
|
1429
1429
|
/**
|
|
1430
|
-
*
|
|
1430
|
+
* Enables the recommended rules for this group
|
|
1431
1431
|
*/
|
|
1432
1432
|
recommended?: boolean;
|
|
1433
1433
|
/**
|
|
@@ -1484,6 +1484,14 @@ interface Correctness {
|
|
|
1484
1484
|
useYield?: RuleConfiguration_for_UseYieldOptions;
|
|
1485
1485
|
}
|
|
1486
1486
|
interface Nursery {
|
|
1487
|
+
/**
|
|
1488
|
+
* Restrict imports of deprecated exports.
|
|
1489
|
+
*/
|
|
1490
|
+
noDeprecatedImports?: RuleConfiguration_for_NoDeprecatedImportsOptions;
|
|
1491
|
+
/**
|
|
1492
|
+
* Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
|
|
1493
|
+
*/
|
|
1494
|
+
noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
|
|
1487
1495
|
/**
|
|
1488
1496
|
* Require Promise-like statements to be handled appropriately.
|
|
1489
1497
|
*/
|
|
@@ -1492,6 +1500,10 @@ interface Nursery {
|
|
|
1492
1500
|
* Prevent import cycles.
|
|
1493
1501
|
*/
|
|
1494
1502
|
noImportCycles?: RuleConfiguration_for_NoImportCyclesOptions;
|
|
1503
|
+
/**
|
|
1504
|
+
* Disallow string literals inside JSX elements.
|
|
1505
|
+
*/
|
|
1506
|
+
noJsxLiterals?: RuleConfiguration_for_NoJsxLiteralsOptions;
|
|
1495
1507
|
/**
|
|
1496
1508
|
* Disallow Promises to be used in places where they are almost certainly a mistake.
|
|
1497
1509
|
*/
|
|
@@ -1508,6 +1520,10 @@ interface Nursery {
|
|
|
1508
1520
|
* Disallow useVisibleTask$() functions in Qwik components.
|
|
1509
1521
|
*/
|
|
1510
1522
|
noQwikUseVisibleTask?: RuleConfiguration_for_NoQwikUseVisibleTaskOptions;
|
|
1523
|
+
/**
|
|
1524
|
+
* Replaces usages of forwardRef with passing ref as a prop.
|
|
1525
|
+
*/
|
|
1526
|
+
noReactForwardRef?: RuleFixConfiguration_for_NoReactForwardRefOptions;
|
|
1511
1527
|
/**
|
|
1512
1528
|
* Disallow usage of sensitive data such as API keys and tokens.
|
|
1513
1529
|
*/
|
|
@@ -1524,6 +1540,14 @@ interface Nursery {
|
|
|
1524
1540
|
* Warn when importing non-existing exports.
|
|
1525
1541
|
*/
|
|
1526
1542
|
noUnresolvedImports?: RuleConfiguration_for_NoUnresolvedImportsOptions;
|
|
1543
|
+
/**
|
|
1544
|
+
* Disallow expression statements that are neither a function call nor an assignment.
|
|
1545
|
+
*/
|
|
1546
|
+
noUnusedExpressions?: RuleConfiguration_for_NoUnusedExpressionsOptions;
|
|
1547
|
+
/**
|
|
1548
|
+
* Disallow unused catch bindings.
|
|
1549
|
+
*/
|
|
1550
|
+
noUselessCatchBinding?: RuleFixConfiguration_for_NoUselessCatchBindingOptions;
|
|
1527
1551
|
/**
|
|
1528
1552
|
* Disallow the use of useless undefined.
|
|
1529
1553
|
*/
|
|
@@ -1532,6 +1556,10 @@ interface Nursery {
|
|
|
1532
1556
|
* Enforce that Vue component data options are declared as functions.
|
|
1533
1557
|
*/
|
|
1534
1558
|
noVueDataObjectDeclaration?: RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions;
|
|
1559
|
+
/**
|
|
1560
|
+
* Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
|
|
1561
|
+
*/
|
|
1562
|
+
noVueDuplicateKeys?: RuleConfiguration_for_NoVueDuplicateKeysOptions;
|
|
1535
1563
|
/**
|
|
1536
1564
|
* Disallow reserved keys in Vue component data and computed properties.
|
|
1537
1565
|
*/
|
|
@@ -1541,13 +1569,17 @@ interface Nursery {
|
|
|
1541
1569
|
*/
|
|
1542
1570
|
noVueReservedProps?: RuleConfiguration_for_NoVueReservedPropsOptions;
|
|
1543
1571
|
/**
|
|
1544
|
-
*
|
|
1572
|
+
* Enables the recommended rules for this group
|
|
1545
1573
|
*/
|
|
1546
1574
|
recommended?: boolean;
|
|
1547
1575
|
/**
|
|
1548
1576
|
* Enforces href attribute for \<a> elements.
|
|
1549
1577
|
*/
|
|
1550
1578
|
useAnchorHref?: RuleConfiguration_for_UseAnchorHrefOptions;
|
|
1579
|
+
/**
|
|
1580
|
+
* Enforce consistent arrow function bodies.
|
|
1581
|
+
*/
|
|
1582
|
+
useConsistentArrowReturn?: RuleFixConfiguration_for_UseConsistentArrowReturnOptions;
|
|
1551
1583
|
/**
|
|
1552
1584
|
* Enforce type definitions to consistently use either interface or type.
|
|
1553
1585
|
*/
|
|
@@ -1580,6 +1612,10 @@ interface Nursery {
|
|
|
1580
1612
|
* Enforce the sorting of CSS utility classes.
|
|
1581
1613
|
*/
|
|
1582
1614
|
useSortedClasses?: RuleFixConfiguration_for_UseSortedClassesOptions;
|
|
1615
|
+
/**
|
|
1616
|
+
* Enforce multi-word component names in Vue components.
|
|
1617
|
+
*/
|
|
1618
|
+
useVueMultiWordComponentNames?: RuleConfiguration_for_UseVueMultiWordComponentNamesOptions;
|
|
1583
1619
|
}
|
|
1584
1620
|
interface Performance {
|
|
1585
1621
|
/**
|
|
@@ -1619,7 +1655,7 @@ interface Performance {
|
|
|
1619
1655
|
*/
|
|
1620
1656
|
noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
|
|
1621
1657
|
/**
|
|
1622
|
-
*
|
|
1658
|
+
* Enables the recommended rules for this group
|
|
1623
1659
|
*/
|
|
1624
1660
|
recommended?: boolean;
|
|
1625
1661
|
/**
|
|
@@ -1653,7 +1689,7 @@ interface Security {
|
|
|
1653
1689
|
*/
|
|
1654
1690
|
noGlobalEval?: RuleConfiguration_for_NoGlobalEvalOptions;
|
|
1655
1691
|
/**
|
|
1656
|
-
*
|
|
1692
|
+
* Enables the recommended rules for this group
|
|
1657
1693
|
*/
|
|
1658
1694
|
recommended?: boolean;
|
|
1659
1695
|
}
|
|
@@ -1763,7 +1799,7 @@ interface Style {
|
|
|
1763
1799
|
*/
|
|
1764
1800
|
noYodaExpression?: RuleFixConfiguration_for_NoYodaExpressionOptions;
|
|
1765
1801
|
/**
|
|
1766
|
-
*
|
|
1802
|
+
* Enables the recommended rules for this group
|
|
1767
1803
|
*/
|
|
1768
1804
|
recommended?: boolean;
|
|
1769
1805
|
/**
|
|
@@ -2269,7 +2305,7 @@ interface Suspicious {
|
|
|
2269
2305
|
*/
|
|
2270
2306
|
noWith?: RuleConfiguration_for_NoWithOptions;
|
|
2271
2307
|
/**
|
|
2272
|
-
*
|
|
2308
|
+
* Enables the recommended rules for this group
|
|
2273
2309
|
*/
|
|
2274
2310
|
recommended?: boolean;
|
|
2275
2311
|
/**
|
|
@@ -2805,12 +2841,21 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
|
|
|
2805
2841
|
type RuleConfiguration_for_UseYieldOptions =
|
|
2806
2842
|
| RulePlainConfiguration
|
|
2807
2843
|
| RuleWithOptions_for_UseYieldOptions;
|
|
2844
|
+
type RuleConfiguration_for_NoDeprecatedImportsOptions =
|
|
2845
|
+
| RulePlainConfiguration
|
|
2846
|
+
| RuleWithOptions_for_NoDeprecatedImportsOptions;
|
|
2847
|
+
type RuleConfiguration_for_NoDuplicateDependenciesOptions =
|
|
2848
|
+
| RulePlainConfiguration
|
|
2849
|
+
| RuleWithOptions_for_NoDuplicateDependenciesOptions;
|
|
2808
2850
|
type RuleFixConfiguration_for_NoFloatingPromisesOptions =
|
|
2809
2851
|
| RulePlainConfiguration
|
|
2810
2852
|
| RuleWithFixOptions_for_NoFloatingPromisesOptions;
|
|
2811
2853
|
type RuleConfiguration_for_NoImportCyclesOptions =
|
|
2812
2854
|
| RulePlainConfiguration
|
|
2813
2855
|
| RuleWithOptions_for_NoImportCyclesOptions;
|
|
2856
|
+
type RuleConfiguration_for_NoJsxLiteralsOptions =
|
|
2857
|
+
| RulePlainConfiguration
|
|
2858
|
+
| RuleWithOptions_for_NoJsxLiteralsOptions;
|
|
2814
2859
|
type RuleFixConfiguration_for_NoMisusedPromisesOptions =
|
|
2815
2860
|
| RulePlainConfiguration
|
|
2816
2861
|
| RuleWithFixOptions_for_NoMisusedPromisesOptions;
|
|
@@ -2823,6 +2868,9 @@ type RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions =
|
|
|
2823
2868
|
type RuleConfiguration_for_NoQwikUseVisibleTaskOptions =
|
|
2824
2869
|
| RulePlainConfiguration
|
|
2825
2870
|
| RuleWithOptions_for_NoQwikUseVisibleTaskOptions;
|
|
2871
|
+
type RuleFixConfiguration_for_NoReactForwardRefOptions =
|
|
2872
|
+
| RulePlainConfiguration
|
|
2873
|
+
| RuleWithFixOptions_for_NoReactForwardRefOptions;
|
|
2826
2874
|
type RuleConfiguration_for_NoSecretsOptions =
|
|
2827
2875
|
| RulePlainConfiguration
|
|
2828
2876
|
| RuleWithOptions_for_NoSecretsOptions;
|
|
@@ -2835,12 +2883,21 @@ type RuleConfiguration_for_NoUnnecessaryConditionsOptions =
|
|
|
2835
2883
|
type RuleConfiguration_for_NoUnresolvedImportsOptions =
|
|
2836
2884
|
| RulePlainConfiguration
|
|
2837
2885
|
| RuleWithOptions_for_NoUnresolvedImportsOptions;
|
|
2886
|
+
type RuleConfiguration_for_NoUnusedExpressionsOptions =
|
|
2887
|
+
| RulePlainConfiguration
|
|
2888
|
+
| RuleWithOptions_for_NoUnusedExpressionsOptions;
|
|
2889
|
+
type RuleFixConfiguration_for_NoUselessCatchBindingOptions =
|
|
2890
|
+
| RulePlainConfiguration
|
|
2891
|
+
| RuleWithFixOptions_for_NoUselessCatchBindingOptions;
|
|
2838
2892
|
type RuleFixConfiguration_for_NoUselessUndefinedOptions =
|
|
2839
2893
|
| RulePlainConfiguration
|
|
2840
2894
|
| RuleWithFixOptions_for_NoUselessUndefinedOptions;
|
|
2841
2895
|
type RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions =
|
|
2842
2896
|
| RulePlainConfiguration
|
|
2843
2897
|
| RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions;
|
|
2898
|
+
type RuleConfiguration_for_NoVueDuplicateKeysOptions =
|
|
2899
|
+
| RulePlainConfiguration
|
|
2900
|
+
| RuleWithOptions_for_NoVueDuplicateKeysOptions;
|
|
2844
2901
|
type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
2845
2902
|
| RulePlainConfiguration
|
|
2846
2903
|
| RuleWithOptions_for_NoVueReservedKeysOptions;
|
|
@@ -2850,6 +2907,9 @@ type RuleConfiguration_for_NoVueReservedPropsOptions =
|
|
|
2850
2907
|
type RuleConfiguration_for_UseAnchorHrefOptions =
|
|
2851
2908
|
| RulePlainConfiguration
|
|
2852
2909
|
| RuleWithOptions_for_UseAnchorHrefOptions;
|
|
2910
|
+
type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
|
|
2911
|
+
| RulePlainConfiguration
|
|
2912
|
+
| RuleWithFixOptions_for_UseConsistentArrowReturnOptions;
|
|
2853
2913
|
type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
|
|
2854
2914
|
| RulePlainConfiguration
|
|
2855
2915
|
| RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
|
|
@@ -2874,6 +2934,9 @@ type RuleConfiguration_for_UseReactFunctionComponentsOptions =
|
|
|
2874
2934
|
type RuleFixConfiguration_for_UseSortedClassesOptions =
|
|
2875
2935
|
| RulePlainConfiguration
|
|
2876
2936
|
| RuleWithFixOptions_for_UseSortedClassesOptions;
|
|
2937
|
+
type RuleConfiguration_for_UseVueMultiWordComponentNamesOptions =
|
|
2938
|
+
| RulePlainConfiguration
|
|
2939
|
+
| RuleWithOptions_for_UseVueMultiWordComponentNamesOptions;
|
|
2877
2940
|
type RuleConfiguration_for_NoAccumulatingSpreadOptions =
|
|
2878
2941
|
| RulePlainConfiguration
|
|
2879
2942
|
| RuleWithOptions_for_NoAccumulatingSpreadOptions;
|
|
@@ -5159,6 +5222,26 @@ interface RuleWithOptions_for_UseYieldOptions {
|
|
|
5159
5222
|
*/
|
|
5160
5223
|
options: UseYieldOptions;
|
|
5161
5224
|
}
|
|
5225
|
+
interface RuleWithOptions_for_NoDeprecatedImportsOptions {
|
|
5226
|
+
/**
|
|
5227
|
+
* The severity of the emitted diagnostics by the rule
|
|
5228
|
+
*/
|
|
5229
|
+
level: RulePlainConfiguration;
|
|
5230
|
+
/**
|
|
5231
|
+
* Rule's options
|
|
5232
|
+
*/
|
|
5233
|
+
options: NoDeprecatedImportsOptions;
|
|
5234
|
+
}
|
|
5235
|
+
interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
|
|
5236
|
+
/**
|
|
5237
|
+
* The severity of the emitted diagnostics by the rule
|
|
5238
|
+
*/
|
|
5239
|
+
level: RulePlainConfiguration;
|
|
5240
|
+
/**
|
|
5241
|
+
* Rule's options
|
|
5242
|
+
*/
|
|
5243
|
+
options: NoDuplicateDependenciesOptions;
|
|
5244
|
+
}
|
|
5162
5245
|
interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
5163
5246
|
/**
|
|
5164
5247
|
* The kind of the code actions emitted by the rule
|
|
@@ -5183,6 +5266,16 @@ interface RuleWithOptions_for_NoImportCyclesOptions {
|
|
|
5183
5266
|
*/
|
|
5184
5267
|
options: NoImportCyclesOptions;
|
|
5185
5268
|
}
|
|
5269
|
+
interface RuleWithOptions_for_NoJsxLiteralsOptions {
|
|
5270
|
+
/**
|
|
5271
|
+
* The severity of the emitted diagnostics by the rule
|
|
5272
|
+
*/
|
|
5273
|
+
level: RulePlainConfiguration;
|
|
5274
|
+
/**
|
|
5275
|
+
* Rule's options
|
|
5276
|
+
*/
|
|
5277
|
+
options: NoJsxLiteralsOptions;
|
|
5278
|
+
}
|
|
5186
5279
|
interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
|
|
5187
5280
|
/**
|
|
5188
5281
|
* The kind of the code actions emitted by the rule
|
|
@@ -5227,6 +5320,20 @@ interface RuleWithOptions_for_NoQwikUseVisibleTaskOptions {
|
|
|
5227
5320
|
*/
|
|
5228
5321
|
options: NoQwikUseVisibleTaskOptions;
|
|
5229
5322
|
}
|
|
5323
|
+
interface RuleWithFixOptions_for_NoReactForwardRefOptions {
|
|
5324
|
+
/**
|
|
5325
|
+
* The kind of the code actions emitted by the rule
|
|
5326
|
+
*/
|
|
5327
|
+
fix?: FixKind;
|
|
5328
|
+
/**
|
|
5329
|
+
* The severity of the emitted diagnostics by the rule
|
|
5330
|
+
*/
|
|
5331
|
+
level: RulePlainConfiguration;
|
|
5332
|
+
/**
|
|
5333
|
+
* Rule's options
|
|
5334
|
+
*/
|
|
5335
|
+
options: NoReactForwardRefOptions;
|
|
5336
|
+
}
|
|
5230
5337
|
interface RuleWithOptions_for_NoSecretsOptions {
|
|
5231
5338
|
/**
|
|
5232
5339
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5267,6 +5374,30 @@ interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
|
5267
5374
|
*/
|
|
5268
5375
|
options: NoUnresolvedImportsOptions;
|
|
5269
5376
|
}
|
|
5377
|
+
interface RuleWithOptions_for_NoUnusedExpressionsOptions {
|
|
5378
|
+
/**
|
|
5379
|
+
* The severity of the emitted diagnostics by the rule
|
|
5380
|
+
*/
|
|
5381
|
+
level: RulePlainConfiguration;
|
|
5382
|
+
/**
|
|
5383
|
+
* Rule's options
|
|
5384
|
+
*/
|
|
5385
|
+
options: NoUnusedExpressionsOptions;
|
|
5386
|
+
}
|
|
5387
|
+
interface RuleWithFixOptions_for_NoUselessCatchBindingOptions {
|
|
5388
|
+
/**
|
|
5389
|
+
* The kind of the code actions emitted by the rule
|
|
5390
|
+
*/
|
|
5391
|
+
fix?: FixKind;
|
|
5392
|
+
/**
|
|
5393
|
+
* The severity of the emitted diagnostics by the rule
|
|
5394
|
+
*/
|
|
5395
|
+
level: RulePlainConfiguration;
|
|
5396
|
+
/**
|
|
5397
|
+
* Rule's options
|
|
5398
|
+
*/
|
|
5399
|
+
options: NoUselessCatchBindingOptions;
|
|
5400
|
+
}
|
|
5270
5401
|
interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
5271
5402
|
/**
|
|
5272
5403
|
* The kind of the code actions emitted by the rule
|
|
@@ -5295,6 +5426,16 @@ interface RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions {
|
|
|
5295
5426
|
*/
|
|
5296
5427
|
options: NoVueDataObjectDeclarationOptions;
|
|
5297
5428
|
}
|
|
5429
|
+
interface RuleWithOptions_for_NoVueDuplicateKeysOptions {
|
|
5430
|
+
/**
|
|
5431
|
+
* The severity of the emitted diagnostics by the rule
|
|
5432
|
+
*/
|
|
5433
|
+
level: RulePlainConfiguration;
|
|
5434
|
+
/**
|
|
5435
|
+
* Rule's options
|
|
5436
|
+
*/
|
|
5437
|
+
options: NoVueDuplicateKeysOptions;
|
|
5438
|
+
}
|
|
5298
5439
|
interface RuleWithOptions_for_NoVueReservedKeysOptions {
|
|
5299
5440
|
/**
|
|
5300
5441
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5325,6 +5466,20 @@ interface RuleWithOptions_for_UseAnchorHrefOptions {
|
|
|
5325
5466
|
*/
|
|
5326
5467
|
options: UseAnchorHrefOptions;
|
|
5327
5468
|
}
|
|
5469
|
+
interface RuleWithFixOptions_for_UseConsistentArrowReturnOptions {
|
|
5470
|
+
/**
|
|
5471
|
+
* The kind of the code actions emitted by the rule
|
|
5472
|
+
*/
|
|
5473
|
+
fix?: FixKind;
|
|
5474
|
+
/**
|
|
5475
|
+
* The severity of the emitted diagnostics by the rule
|
|
5476
|
+
*/
|
|
5477
|
+
level: RulePlainConfiguration;
|
|
5478
|
+
/**
|
|
5479
|
+
* Rule's options
|
|
5480
|
+
*/
|
|
5481
|
+
options: UseConsistentArrowReturnOptions;
|
|
5482
|
+
}
|
|
5328
5483
|
interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
5329
5484
|
/**
|
|
5330
5485
|
* The kind of the code actions emitted by the rule
|
|
@@ -5417,6 +5572,16 @@ interface RuleWithFixOptions_for_UseSortedClassesOptions {
|
|
|
5417
5572
|
*/
|
|
5418
5573
|
options: UseSortedClassesOptions;
|
|
5419
5574
|
}
|
|
5575
|
+
interface RuleWithOptions_for_UseVueMultiWordComponentNamesOptions {
|
|
5576
|
+
/**
|
|
5577
|
+
* The severity of the emitted diagnostics by the rule
|
|
5578
|
+
*/
|
|
5579
|
+
level: RulePlainConfiguration;
|
|
5580
|
+
/**
|
|
5581
|
+
* Rule's options
|
|
5582
|
+
*/
|
|
5583
|
+
options: UseVueMultiWordComponentNamesOptions;
|
|
5584
|
+
}
|
|
5420
5585
|
interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
|
|
5421
5586
|
/**
|
|
5422
5587
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7809,6 +7974,8 @@ interface UseUniqueElementIdsOptions {
|
|
|
7809
7974
|
interface UseValidForDirectionOptions {}
|
|
7810
7975
|
interface UseValidTypeofOptions {}
|
|
7811
7976
|
interface UseYieldOptions {}
|
|
7977
|
+
interface NoDeprecatedImportsOptions {}
|
|
7978
|
+
interface NoDuplicateDependenciesOptions {}
|
|
7812
7979
|
interface NoFloatingPromisesOptions {}
|
|
7813
7980
|
interface NoImportCyclesOptions {
|
|
7814
7981
|
/**
|
|
@@ -7816,10 +7983,25 @@ interface NoImportCyclesOptions {
|
|
|
7816
7983
|
*/
|
|
7817
7984
|
ignoreTypes?: boolean;
|
|
7818
7985
|
}
|
|
7986
|
+
interface NoJsxLiteralsOptions {
|
|
7987
|
+
/**
|
|
7988
|
+
* An array of strings that won't trigger the rule. Whitespaces are taken into consideration
|
|
7989
|
+
*/
|
|
7990
|
+
allowedStrings?: string[];
|
|
7991
|
+
/**
|
|
7992
|
+
* When enabled, strings inside props are always ignored
|
|
7993
|
+
*/
|
|
7994
|
+
ignoreProps?: boolean;
|
|
7995
|
+
/**
|
|
7996
|
+
* When enabled, also flag string literals inside JSX expressions and attributes
|
|
7997
|
+
*/
|
|
7998
|
+
noStrings?: boolean;
|
|
7999
|
+
}
|
|
7819
8000
|
interface NoMisusedPromisesOptions {}
|
|
7820
8001
|
interface NoNextAsyncClientComponentOptions {}
|
|
7821
8002
|
interface NoNonNullAssertedOptionalChainOptions {}
|
|
7822
8003
|
interface NoQwikUseVisibleTaskOptions {}
|
|
8004
|
+
interface NoReactForwardRefOptions {}
|
|
7823
8005
|
interface NoSecretsOptions {
|
|
7824
8006
|
/**
|
|
7825
8007
|
* Set entropy threshold (default is 41).
|
|
@@ -7829,11 +8011,26 @@ interface NoSecretsOptions {
|
|
|
7829
8011
|
interface NoShadowOptions {}
|
|
7830
8012
|
interface NoUnnecessaryConditionsOptions {}
|
|
7831
8013
|
interface NoUnresolvedImportsOptions {}
|
|
8014
|
+
interface NoUnusedExpressionsOptions {}
|
|
8015
|
+
interface NoUselessCatchBindingOptions {}
|
|
7832
8016
|
interface NoUselessUndefinedOptions {}
|
|
7833
8017
|
interface NoVueDataObjectDeclarationOptions {}
|
|
8018
|
+
interface NoVueDuplicateKeysOptions {}
|
|
7834
8019
|
interface NoVueReservedKeysOptions {}
|
|
7835
8020
|
interface NoVueReservedPropsOptions {}
|
|
7836
8021
|
type UseAnchorHrefOptions = null;
|
|
8022
|
+
interface UseConsistentArrowReturnOptions {
|
|
8023
|
+
/**
|
|
8024
|
+
* Determines whether the rule enforces a consistent style when the return value is an object literal.
|
|
8025
|
+
|
|
8026
|
+
This option is only applicable when used in conjunction with the `asNeeded` option.
|
|
8027
|
+
*/
|
|
8028
|
+
requireForObjectLiteral?: boolean;
|
|
8029
|
+
/**
|
|
8030
|
+
* The style to enforce for arrow function return statements.
|
|
8031
|
+
*/
|
|
8032
|
+
style?: UseConsistentArrowReturnStyle;
|
|
8033
|
+
}
|
|
7837
8034
|
interface UseConsistentTypeDefinitionsOptions {
|
|
7838
8035
|
style?: ConsistentTypeDefinition;
|
|
7839
8036
|
}
|
|
@@ -7858,6 +8055,12 @@ interface UseSortedClassesOptions {
|
|
|
7858
8055
|
*/
|
|
7859
8056
|
functions?: string[];
|
|
7860
8057
|
}
|
|
8058
|
+
interface UseVueMultiWordComponentNamesOptions {
|
|
8059
|
+
/**
|
|
8060
|
+
* Component names to ignore (allowed to be single-word).
|
|
8061
|
+
*/
|
|
8062
|
+
ignores: string[];
|
|
8063
|
+
}
|
|
7861
8064
|
interface NoAccumulatingSpreadOptions {}
|
|
7862
8065
|
interface NoAwaitInLoopsOptions {}
|
|
7863
8066
|
interface NoBarrelFileOptions {}
|
|
@@ -8189,6 +8392,7 @@ For example, for React's `useRef()` hook the value would be `true`, while for `u
|
|
|
8189
8392
|
*/
|
|
8190
8393
|
stableResult?: StableHookResult;
|
|
8191
8394
|
}
|
|
8395
|
+
type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
|
|
8192
8396
|
type ConsistentTypeDefinition = "interface" | "type";
|
|
8193
8397
|
type PropertyAssignmentMode = "allow" | "deny";
|
|
8194
8398
|
type Paths = string | PathOptions;
|
|
@@ -8497,39 +8701,47 @@ type Category =
|
|
|
8497
8701
|
| "lint/correctness/noVoidElementsWithChildren"
|
|
8498
8702
|
| "lint/correctness/noVoidTypeReturn"
|
|
8499
8703
|
| "lint/correctness/useExhaustiveDependencies"
|
|
8704
|
+
| "lint/correctness/useGraphqlNamedOperations"
|
|
8500
8705
|
| "lint/correctness/useHookAtTopLevel"
|
|
8501
8706
|
| "lint/correctness/useImportExtensions"
|
|
8502
8707
|
| "lint/correctness/useIsNan"
|
|
8503
8708
|
| "lint/correctness/useJsonImportAttributes"
|
|
8504
8709
|
| "lint/correctness/useJsxKeyInIterable"
|
|
8505
|
-
| "lint/correctness/useGraphqlNamedOperations"
|
|
8506
8710
|
| "lint/correctness/useParseIntRadix"
|
|
8507
8711
|
| "lint/correctness/useSingleJsDocAsterisk"
|
|
8508
8712
|
| "lint/correctness/useUniqueElementIds"
|
|
8509
8713
|
| "lint/correctness/useValidForDirection"
|
|
8510
8714
|
| "lint/correctness/useValidTypeof"
|
|
8511
8715
|
| "lint/correctness/useYield"
|
|
8512
|
-
| "lint/nursery/noNextAsyncClientComponent"
|
|
8513
8716
|
| "lint/nursery/noColorInvalidHex"
|
|
8717
|
+
| "lint/nursery/noDeprecatedImports"
|
|
8718
|
+
| "lint/nursery/noDuplicateDependencies"
|
|
8514
8719
|
| "lint/nursery/noFloatingPromises"
|
|
8515
8720
|
| "lint/nursery/noImplicitCoercion"
|
|
8516
8721
|
| "lint/nursery/noImportCycles"
|
|
8722
|
+
| "lint/nursery/noJsxLiterals"
|
|
8517
8723
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8518
8724
|
| "lint/nursery/noMisusedPromises"
|
|
8725
|
+
| "lint/nursery/noNextAsyncClientComponent"
|
|
8519
8726
|
| "lint/nursery/noNonNullAssertedOptionalChain"
|
|
8520
8727
|
| "lint/nursery/noQwikUseVisibleTask"
|
|
8728
|
+
| "lint/nursery/noReactForwardRef"
|
|
8521
8729
|
| "lint/nursery/noSecrets"
|
|
8522
8730
|
| "lint/nursery/noShadow"
|
|
8523
8731
|
| "lint/nursery/noUnnecessaryConditions"
|
|
8524
8732
|
| "lint/nursery/noUnresolvedImports"
|
|
8733
|
+
| "lint/nursery/noUnusedExpressions"
|
|
8525
8734
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
8526
8735
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
8736
|
+
| "lint/nursery/noUselessCatchBinding"
|
|
8527
8737
|
| "lint/nursery/noUselessUndefined"
|
|
8528
8738
|
| "lint/nursery/noVueDataObjectDeclaration"
|
|
8739
|
+
| "lint/nursery/noVueDuplicateKeys"
|
|
8529
8740
|
| "lint/nursery/noVueReservedKeys"
|
|
8530
8741
|
| "lint/nursery/noVueReservedProps"
|
|
8531
8742
|
| "lint/nursery/useAnchorHref"
|
|
8532
8743
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
8744
|
+
| "lint/nursery/useConsistentArrowReturn"
|
|
8533
8745
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
8534
8746
|
| "lint/nursery/useConsistentTypeDefinitions"
|
|
8535
8747
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
@@ -8542,6 +8754,7 @@ type Category =
|
|
|
8542
8754
|
| "lint/nursery/useQwikClasslist"
|
|
8543
8755
|
| "lint/nursery/useReactFunctionComponents"
|
|
8544
8756
|
| "lint/nursery/useSortedClasses"
|
|
8757
|
+
| "lint/nursery/useVueMultiWordComponentNames"
|
|
8545
8758
|
| "lint/performance/noAccumulatingSpread"
|
|
8546
8759
|
| "lint/performance/noAwaitInLoops"
|
|
8547
8760
|
| "lint/performance/noBarrelFile"
|
|
@@ -8707,20 +8920,20 @@ type Category =
|
|
|
8707
8920
|
| "lint/suspicious/noUnknownAtRules"
|
|
8708
8921
|
| "lint/suspicious/noUnsafeDeclarationMerging"
|
|
8709
8922
|
| "lint/suspicious/noUnsafeNegation"
|
|
8710
|
-
| "lint/suspicious/noUselessRegexBackrefs"
|
|
8711
8923
|
| "lint/suspicious/noUselessEscapeInString"
|
|
8924
|
+
| "lint/suspicious/noUselessRegexBackrefs"
|
|
8712
8925
|
| "lint/suspicious/noVar"
|
|
8713
8926
|
| "lint/suspicious/noWith"
|
|
8714
8927
|
| "lint/suspicious/useAdjacentOverloadSignatures"
|
|
8715
8928
|
| "lint/suspicious/useAwait"
|
|
8716
8929
|
| "lint/suspicious/useBiomeIgnoreFolder"
|
|
8717
|
-
| "lint/suspicious/useIterableCallbackReturn"
|
|
8718
8930
|
| "lint/suspicious/useDefaultSwitchClauseLast"
|
|
8719
8931
|
| "lint/suspicious/useErrorMessage"
|
|
8720
8932
|
| "lint/suspicious/useGetterReturn"
|
|
8721
8933
|
| "lint/suspicious/useGoogleFontDisplay"
|
|
8722
8934
|
| "lint/suspicious/useGuardForIn"
|
|
8723
8935
|
| "lint/suspicious/useIsArray"
|
|
8936
|
+
| "lint/suspicious/useIterableCallbackReturn"
|
|
8724
8937
|
| "lint/suspicious/useNamespaceKeyword"
|
|
8725
8938
|
| "lint/suspicious/useNumberToFixedDigitsArgument"
|
|
8726
8939
|
| "lint/suspicious/useStaticResponseMethods"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|