@biomejs/biome 2.4.11 → 2.4.13
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/configuration_schema.json +527 -1
- package/package.json +9 -9
|
@@ -2902,6 +2902,16 @@
|
|
|
2902
2902
|
"type": "object",
|
|
2903
2903
|
"additionalProperties": false
|
|
2904
2904
|
},
|
|
2905
|
+
"NoComponentHookFactoriesConfiguration": {
|
|
2906
|
+
"oneOf": [
|
|
2907
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2908
|
+
{ "$ref": "#/$defs/RuleWithNoComponentHookFactoriesOptions" }
|
|
2909
|
+
]
|
|
2910
|
+
},
|
|
2911
|
+
"NoComponentHookFactoriesOptions": {
|
|
2912
|
+
"type": "object",
|
|
2913
|
+
"additionalProperties": false
|
|
2914
|
+
},
|
|
2905
2915
|
"NoConditionalExpectConfiguration": {
|
|
2906
2916
|
"oneOf": [
|
|
2907
2917
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3687,6 +3697,25 @@
|
|
|
3687
3697
|
"type": "object",
|
|
3688
3698
|
"additionalProperties": false
|
|
3689
3699
|
},
|
|
3700
|
+
"NoExcessiveSelectorClassesConfiguration": {
|
|
3701
|
+
"oneOf": [
|
|
3702
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3703
|
+
{ "$ref": "#/$defs/RuleWithNoExcessiveSelectorClassesOptions" }
|
|
3704
|
+
]
|
|
3705
|
+
},
|
|
3706
|
+
"NoExcessiveSelectorClassesOptions": {
|
|
3707
|
+
"type": "object",
|
|
3708
|
+
"properties": {
|
|
3709
|
+
"maxClasses": {
|
|
3710
|
+
"description": "The maximum number of class selectors allowed in a single selector.\n\nThis option is required to enable the rule.\nUse `0` to disallow class selectors entirely.",
|
|
3711
|
+
"type": ["integer", "null"],
|
|
3712
|
+
"format": "uint16",
|
|
3713
|
+
"maximum": 65535,
|
|
3714
|
+
"minimum": 0
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3717
|
+
"additionalProperties": false
|
|
3718
|
+
},
|
|
3690
3719
|
"NoExplicitAnyConfiguration": {
|
|
3691
3720
|
"oneOf": [
|
|
3692
3721
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3903,6 +3932,16 @@
|
|
|
3903
3932
|
]
|
|
3904
3933
|
},
|
|
3905
3934
|
"NoHexColorsOptions": { "type": "object", "additionalProperties": false },
|
|
3935
|
+
"NoIdenticalTestTitleConfiguration": {
|
|
3936
|
+
"oneOf": [
|
|
3937
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3938
|
+
{ "$ref": "#/$defs/RuleWithNoIdenticalTestTitleOptions" }
|
|
3939
|
+
]
|
|
3940
|
+
},
|
|
3941
|
+
"NoIdenticalTestTitleOptions": {
|
|
3942
|
+
"type": "object",
|
|
3943
|
+
"additionalProperties": false
|
|
3944
|
+
},
|
|
3906
3945
|
"NoImgElementConfiguration": {
|
|
3907
3946
|
"oneOf": [
|
|
3908
3947
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4121,6 +4160,16 @@
|
|
|
4121
4160
|
"type": "object",
|
|
4122
4161
|
"additionalProperties": false
|
|
4123
4162
|
},
|
|
4163
|
+
"NoJsxLeakedDollarConfiguration": {
|
|
4164
|
+
"oneOf": [
|
|
4165
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4166
|
+
{ "$ref": "#/$defs/RuleWithNoJsxLeakedDollarOptions" }
|
|
4167
|
+
]
|
|
4168
|
+
},
|
|
4169
|
+
"NoJsxLeakedDollarOptions": {
|
|
4170
|
+
"type": "object",
|
|
4171
|
+
"additionalProperties": false
|
|
4172
|
+
},
|
|
4124
4173
|
"NoJsxLiteralsConfiguration": {
|
|
4125
4174
|
"oneOf": [
|
|
4126
4175
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4146,6 +4195,16 @@
|
|
|
4146
4195
|
},
|
|
4147
4196
|
"additionalProperties": false
|
|
4148
4197
|
},
|
|
4198
|
+
"NoJsxNamespaceConfiguration": {
|
|
4199
|
+
"oneOf": [
|
|
4200
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4201
|
+
{ "$ref": "#/$defs/RuleWithNoJsxNamespaceOptions" }
|
|
4202
|
+
]
|
|
4203
|
+
},
|
|
4204
|
+
"NoJsxNamespaceOptions": {
|
|
4205
|
+
"type": "object",
|
|
4206
|
+
"additionalProperties": false
|
|
4207
|
+
},
|
|
4149
4208
|
"NoJsxPropsBindConfiguration": {
|
|
4150
4209
|
"oneOf": [
|
|
4151
4210
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4197,6 +4256,13 @@
|
|
|
4197
4256
|
]
|
|
4198
4257
|
},
|
|
4199
4258
|
"NoLeakedRenderOptions": { "type": "object" },
|
|
4259
|
+
"NoLoopFuncConfiguration": {
|
|
4260
|
+
"oneOf": [
|
|
4261
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4262
|
+
{ "$ref": "#/$defs/RuleWithNoLoopFuncOptions" }
|
|
4263
|
+
]
|
|
4264
|
+
},
|
|
4265
|
+
"NoLoopFuncOptions": { "type": "object", "additionalProperties": false },
|
|
4200
4266
|
"NoMagicNumbersConfiguration": {
|
|
4201
4267
|
"oneOf": [
|
|
4202
4268
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4691,6 +4757,43 @@
|
|
|
4691
4757
|
"type": "object",
|
|
4692
4758
|
"additionalProperties": false
|
|
4693
4759
|
},
|
|
4760
|
+
"NoReactNativeDeepImportsConfiguration": {
|
|
4761
|
+
"oneOf": [
|
|
4762
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4763
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeDeepImportsOptions" }
|
|
4764
|
+
]
|
|
4765
|
+
},
|
|
4766
|
+
"NoReactNativeDeepImportsOptions": {
|
|
4767
|
+
"type": "object",
|
|
4768
|
+
"additionalProperties": false
|
|
4769
|
+
},
|
|
4770
|
+
"NoReactNativeLiteralColorsConfiguration": {
|
|
4771
|
+
"oneOf": [
|
|
4772
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4773
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeLiteralColorsOptions" }
|
|
4774
|
+
]
|
|
4775
|
+
},
|
|
4776
|
+
"NoReactNativeLiteralColorsOptions": {
|
|
4777
|
+
"type": "object",
|
|
4778
|
+
"additionalProperties": false
|
|
4779
|
+
},
|
|
4780
|
+
"NoReactNativeRawTextConfiguration": {
|
|
4781
|
+
"oneOf": [
|
|
4782
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4783
|
+
{ "$ref": "#/$defs/RuleWithNoReactNativeRawTextOptions" }
|
|
4784
|
+
]
|
|
4785
|
+
},
|
|
4786
|
+
"NoReactNativeRawTextOptions": {
|
|
4787
|
+
"type": "object",
|
|
4788
|
+
"properties": {
|
|
4789
|
+
"skip": {
|
|
4790
|
+
"description": "Names of additional components that are allowed to contain raw text.",
|
|
4791
|
+
"type": ["array", "null"],
|
|
4792
|
+
"items": { "type": "string" }
|
|
4793
|
+
}
|
|
4794
|
+
},
|
|
4795
|
+
"additionalProperties": false
|
|
4796
|
+
},
|
|
4694
4797
|
"NoReactPropAssignmentsConfiguration": {
|
|
4695
4798
|
"oneOf": [
|
|
4696
4799
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5332,6 +5435,16 @@
|
|
|
5332
5435
|
"type": "object",
|
|
5333
5436
|
"additionalProperties": false
|
|
5334
5437
|
},
|
|
5438
|
+
"NoUnnecessaryTemplateExpressionConfiguration": {
|
|
5439
|
+
"oneOf": [
|
|
5440
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5441
|
+
{ "$ref": "#/$defs/RuleWithNoUnnecessaryTemplateExpressionOptions" }
|
|
5442
|
+
]
|
|
5443
|
+
},
|
|
5444
|
+
"NoUnnecessaryTemplateExpressionOptions": {
|
|
5445
|
+
"type": "object",
|
|
5446
|
+
"additionalProperties": false
|
|
5447
|
+
},
|
|
5335
5448
|
"NoUnreachableConfiguration": {
|
|
5336
5449
|
"oneOf": [
|
|
5337
5450
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5935,6 +6048,13 @@
|
|
|
5935
6048
|
{ "type": "null" }
|
|
5936
6049
|
]
|
|
5937
6050
|
},
|
|
6051
|
+
"noComponentHookFactories": {
|
|
6052
|
+
"description": "Disallows defining React components or custom hooks inside other functions.\nSee https://biomejs.dev/linter/rules/no-component-hook-factories",
|
|
6053
|
+
"anyOf": [
|
|
6054
|
+
{ "$ref": "#/$defs/NoComponentHookFactoriesConfiguration" },
|
|
6055
|
+
{ "type": "null" }
|
|
6056
|
+
]
|
|
6057
|
+
},
|
|
5938
6058
|
"noConditionalExpect": {
|
|
5939
6059
|
"description": "Disallow conditional expect() calls inside tests.\nSee https://biomejs.dev/linter/rules/no-conditional-expect",
|
|
5940
6060
|
"anyOf": [
|
|
@@ -6075,6 +6195,13 @@
|
|
|
6075
6195
|
{ "type": "null" }
|
|
6076
6196
|
]
|
|
6077
6197
|
},
|
|
6198
|
+
"noExcessiveSelectorClasses": {
|
|
6199
|
+
"description": "Limit the number of classes in a selector.\nSee https://biomejs.dev/linter/rules/no-excessive-selector-classes",
|
|
6200
|
+
"anyOf": [
|
|
6201
|
+
{ "$ref": "#/$defs/NoExcessiveSelectorClassesConfiguration" },
|
|
6202
|
+
{ "type": "null" }
|
|
6203
|
+
]
|
|
6204
|
+
},
|
|
6078
6205
|
"noFloatingClasses": {
|
|
6079
6206
|
"description": "Disallow new operators outside of assignments or comparisons.\nSee https://biomejs.dev/linter/rules/no-floating-classes",
|
|
6080
6207
|
"anyOf": [
|
|
@@ -6103,6 +6230,13 @@
|
|
|
6103
6230
|
{ "type": "null" }
|
|
6104
6231
|
]
|
|
6105
6232
|
},
|
|
6233
|
+
"noIdenticalTestTitle": {
|
|
6234
|
+
"description": "Disallow identical titles in test suites and test cases.\nSee https://biomejs.dev/linter/rules/no-identical-test-title",
|
|
6235
|
+
"anyOf": [
|
|
6236
|
+
{ "$ref": "#/$defs/NoIdenticalTestTitleConfiguration" },
|
|
6237
|
+
{ "type": "null" }
|
|
6238
|
+
]
|
|
6239
|
+
},
|
|
6106
6240
|
"noImpliedEval": {
|
|
6107
6241
|
"description": "Disallow the use of eval()-like methods.\nSee https://biomejs.dev/linter/rules/no-implied-eval",
|
|
6108
6242
|
"anyOf": [
|
|
@@ -6124,6 +6258,20 @@
|
|
|
6124
6258
|
{ "type": "null" }
|
|
6125
6259
|
]
|
|
6126
6260
|
},
|
|
6261
|
+
"noJsxLeakedDollar": {
|
|
6262
|
+
"description": "Flags text nodes with a trailing $ before a JSX expression.\nSee https://biomejs.dev/linter/rules/no-jsx-leaked-dollar",
|
|
6263
|
+
"anyOf": [
|
|
6264
|
+
{ "$ref": "#/$defs/NoJsxLeakedDollarConfiguration" },
|
|
6265
|
+
{ "type": "null" }
|
|
6266
|
+
]
|
|
6267
|
+
},
|
|
6268
|
+
"noJsxNamespace": {
|
|
6269
|
+
"description": "Disallow JSX namespace syntax.\nSee https://biomejs.dev/linter/rules/no-jsx-namespace",
|
|
6270
|
+
"anyOf": [
|
|
6271
|
+
{ "$ref": "#/$defs/NoJsxNamespaceConfiguration" },
|
|
6272
|
+
{ "type": "null" }
|
|
6273
|
+
]
|
|
6274
|
+
},
|
|
6127
6275
|
"noJsxPropsBind": {
|
|
6128
6276
|
"description": "Disallow .bind(), arrow functions, or function expressions in JSX props.\nSee https://biomejs.dev/linter/rules/no-jsx-props-bind",
|
|
6129
6277
|
"anyOf": [
|
|
@@ -6138,6 +6286,13 @@
|
|
|
6138
6286
|
{ "type": "null" }
|
|
6139
6287
|
]
|
|
6140
6288
|
},
|
|
6289
|
+
"noLoopFunc": {
|
|
6290
|
+
"description": "Disallow functions declared inside loops that capture unsafe outer variables.\nSee https://biomejs.dev/linter/rules/no-loop-func",
|
|
6291
|
+
"anyOf": [
|
|
6292
|
+
{ "$ref": "#/$defs/NoLoopFuncConfiguration" },
|
|
6293
|
+
{ "type": "null" }
|
|
6294
|
+
]
|
|
6295
|
+
},
|
|
6141
6296
|
"noMisleadingReturnType": {
|
|
6142
6297
|
"description": "Detect return type annotations that are misleadingly wider than what the implementation actually returns.\nSee https://biomejs.dev/linter/rules/no-misleading-return-type",
|
|
6143
6298
|
"anyOf": [
|
|
@@ -6257,6 +6412,27 @@
|
|
|
6257
6412
|
{ "type": "null" }
|
|
6258
6413
|
]
|
|
6259
6414
|
},
|
|
6415
|
+
"noReactNativeDeepImports": {
|
|
6416
|
+
"description": "Disallow deep imports from the react-native package.\nSee https://biomejs.dev/linter/rules/no-react-native-deep-imports",
|
|
6417
|
+
"anyOf": [
|
|
6418
|
+
{ "$ref": "#/$defs/NoReactNativeDeepImportsConfiguration" },
|
|
6419
|
+
{ "type": "null" }
|
|
6420
|
+
]
|
|
6421
|
+
},
|
|
6422
|
+
"noReactNativeLiteralColors": {
|
|
6423
|
+
"description": "Disallow color literals in React Native styles.\nSee https://biomejs.dev/linter/rules/no-react-native-literal-colors",
|
|
6424
|
+
"anyOf": [
|
|
6425
|
+
{ "$ref": "#/$defs/NoReactNativeLiteralColorsConfiguration" },
|
|
6426
|
+
{ "type": "null" }
|
|
6427
|
+
]
|
|
6428
|
+
},
|
|
6429
|
+
"noReactNativeRawText": {
|
|
6430
|
+
"description": "Disallow raw text outside \\<Text> components in React Native.\nSee https://biomejs.dev/linter/rules/no-react-native-raw-text",
|
|
6431
|
+
"anyOf": [
|
|
6432
|
+
{ "$ref": "#/$defs/NoReactNativeRawTextConfiguration" },
|
|
6433
|
+
{ "type": "null" }
|
|
6434
|
+
]
|
|
6435
|
+
},
|
|
6260
6436
|
"noRedundantDefaultExport": {
|
|
6261
6437
|
"description": "Checks if a default export exports the same symbol as a named export.\nSee https://biomejs.dev/linter/rules/no-redundant-default-export",
|
|
6262
6438
|
"anyOf": [
|
|
@@ -6334,6 +6510,13 @@
|
|
|
6334
6510
|
{ "type": "null" }
|
|
6335
6511
|
]
|
|
6336
6512
|
},
|
|
6513
|
+
"noUnnecessaryTemplateExpression": {
|
|
6514
|
+
"description": "Disallow unnecessary template expressions.\nSee https://biomejs.dev/linter/rules/no-unnecessary-template-expression",
|
|
6515
|
+
"anyOf": [
|
|
6516
|
+
{ "$ref": "#/$defs/NoUnnecessaryTemplateExpressionConfiguration" },
|
|
6517
|
+
{ "type": "null" }
|
|
6518
|
+
]
|
|
6519
|
+
},
|
|
6337
6520
|
"noUnsafePlusOperands": {
|
|
6338
6521
|
"description": "Disallow + operations with operands that are known to be unsafe.\nSee https://biomejs.dev/linter/rules/no-unsafe-plus-operands",
|
|
6339
6522
|
"anyOf": [
|
|
@@ -6464,6 +6647,20 @@
|
|
|
6464
6647
|
{ "type": "null" }
|
|
6465
6648
|
]
|
|
6466
6649
|
},
|
|
6650
|
+
"useDomNodeTextContent": {
|
|
6651
|
+
"description": "Prefer .textContent over .innerText for DOM node text.\nSee https://biomejs.dev/linter/rules/use-dom-node-text-content",
|
|
6652
|
+
"anyOf": [
|
|
6653
|
+
{ "$ref": "#/$defs/UseDomNodeTextContentConfiguration" },
|
|
6654
|
+
{ "type": "null" }
|
|
6655
|
+
]
|
|
6656
|
+
},
|
|
6657
|
+
"useDomQuerySelector": {
|
|
6658
|
+
"description": "Prefer querySelector() and querySelectorAll() over older DOM query APIs.\nSee https://biomejs.dev/linter/rules/use-dom-query-selector",
|
|
6659
|
+
"anyOf": [
|
|
6660
|
+
{ "$ref": "#/$defs/UseDomQuerySelectorConfiguration" },
|
|
6661
|
+
{ "type": "null" }
|
|
6662
|
+
]
|
|
6663
|
+
},
|
|
6467
6664
|
"useErrorCause": {
|
|
6468
6665
|
"description": "Enforce that new Error() is thrown with the original error as cause.\nSee https://biomejs.dev/linter/rules/use-error-cause",
|
|
6469
6666
|
"anyOf": [
|
|
@@ -6513,6 +6710,13 @@
|
|
|
6513
6710
|
{ "type": "null" }
|
|
6514
6711
|
]
|
|
6515
6712
|
},
|
|
6713
|
+
"useIframeSandbox": {
|
|
6714
|
+
"description": "Enforce the 'sandbox' attribute for 'iframe' elements.\nSee https://biomejs.dev/linter/rules/use-iframe-sandbox",
|
|
6715
|
+
"anyOf": [
|
|
6716
|
+
{ "$ref": "#/$defs/UseIframeSandboxConfiguration" },
|
|
6717
|
+
{ "type": "null" }
|
|
6718
|
+
]
|
|
6719
|
+
},
|
|
6516
6720
|
"useImportsFirst": {
|
|
6517
6721
|
"description": "Enforce that all imports appear at the top of the module.\nSee https://biomejs.dev/linter/rules/use-imports-first",
|
|
6518
6722
|
"anyOf": [
|
|
@@ -6578,6 +6782,27 @@
|
|
|
6578
6782
|
{ "type": "null" }
|
|
6579
6783
|
]
|
|
6580
6784
|
},
|
|
6785
|
+
"useReactAsyncServerFunction": {
|
|
6786
|
+
"description": "Require functions with the \"use server\" directive to be async.\nSee https://biomejs.dev/linter/rules/use-react-async-server-function",
|
|
6787
|
+
"anyOf": [
|
|
6788
|
+
{ "$ref": "#/$defs/UseReactAsyncServerFunctionConfiguration" },
|
|
6789
|
+
{ "type": "null" }
|
|
6790
|
+
]
|
|
6791
|
+
},
|
|
6792
|
+
"useReactNativePlatformComponents": {
|
|
6793
|
+
"description": "Ensure that platform-specific React Native components are only imported in files named for that platform.\nSee https://biomejs.dev/linter/rules/use-react-native-platform-components",
|
|
6794
|
+
"anyOf": [
|
|
6795
|
+
{ "$ref": "#/$defs/UseReactNativePlatformComponentsConfiguration" },
|
|
6796
|
+
{ "type": "null" }
|
|
6797
|
+
]
|
|
6798
|
+
},
|
|
6799
|
+
"useReduceTypeParameter": {
|
|
6800
|
+
"description": "Enforce using a type parameter on Array#reduce instead of casting the initial value.\nSee https://biomejs.dev/linter/rules/use-reduce-type-parameter",
|
|
6801
|
+
"anyOf": [
|
|
6802
|
+
{ "$ref": "#/$defs/UseReduceTypeParameterConfiguration" },
|
|
6803
|
+
{ "type": "null" }
|
|
6804
|
+
]
|
|
6805
|
+
},
|
|
6581
6806
|
"useRegexpExec": {
|
|
6582
6807
|
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee https://biomejs.dev/linter/rules/use-regexp-exec",
|
|
6583
6808
|
"anyOf": [
|
|
@@ -6585,6 +6810,13 @@
|
|
|
6585
6810
|
{ "type": "null" }
|
|
6586
6811
|
]
|
|
6587
6812
|
},
|
|
6813
|
+
"useRegexpTest": {
|
|
6814
|
+
"description": "Enforce the use of RegExp.prototype.test() over String.prototype.match() and RegExp.prototype.exec() in boolean contexts.\nSee https://biomejs.dev/linter/rules/use-regexp-test",
|
|
6815
|
+
"anyOf": [
|
|
6816
|
+
{ "$ref": "#/$defs/UseRegexpTestConfiguration" },
|
|
6817
|
+
{ "type": "null" }
|
|
6818
|
+
]
|
|
6819
|
+
},
|
|
6588
6820
|
"useRequiredScripts": {
|
|
6589
6821
|
"description": "Enforce the presence of required scripts in package.json.\nSee https://biomejs.dev/linter/rules/use-required-scripts",
|
|
6590
6822
|
"anyOf": [
|
|
@@ -6613,6 +6845,13 @@
|
|
|
6613
6845
|
{ "type": "null" }
|
|
6614
6846
|
]
|
|
6615
6847
|
},
|
|
6848
|
+
"useStringStartsEndsWith": {
|
|
6849
|
+
"description": "Prefer String#startsWith() and String#endsWith() over verbose prefix and suffix checks.\nSee https://biomejs.dev/linter/rules/use-string-starts-ends-with",
|
|
6850
|
+
"anyOf": [
|
|
6851
|
+
{ "$ref": "#/$defs/UseStringStartsEndsWithConfiguration" },
|
|
6852
|
+
{ "type": "null" }
|
|
6853
|
+
]
|
|
6854
|
+
},
|
|
6616
6855
|
"useUnicodeRegex": {
|
|
6617
6856
|
"description": "Enforce the use of the u or v flag for regular expressions.\nSee https://biomejs.dev/linter/rules/use-unicode-regex",
|
|
6618
6857
|
"anyOf": [
|
|
@@ -6620,6 +6859,13 @@
|
|
|
6620
6859
|
{ "type": "null" }
|
|
6621
6860
|
]
|
|
6622
6861
|
},
|
|
6862
|
+
"useVarsOnTop": {
|
|
6863
|
+
"description": "Require var declarations to appear at the top of their containing scope.\nSee https://biomejs.dev/linter/rules/use-vars-on-top",
|
|
6864
|
+
"anyOf": [
|
|
6865
|
+
{ "$ref": "#/$defs/UseVarsOnTopConfiguration" },
|
|
6866
|
+
{ "type": "null" }
|
|
6867
|
+
]
|
|
6868
|
+
},
|
|
6623
6869
|
"useVueConsistentDefinePropsDeclaration": {
|
|
6624
6870
|
"description": "Enforce consistent defineProps declaration style.\nSee https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration",
|
|
6625
6871
|
"anyOf": [
|
|
@@ -7209,6 +7455,11 @@
|
|
|
7209
7455
|
"type": "string",
|
|
7210
7456
|
"const": "react"
|
|
7211
7457
|
},
|
|
7458
|
+
{
|
|
7459
|
+
"description": "React Native framework rules",
|
|
7460
|
+
"type": "string",
|
|
7461
|
+
"const": "reactNative"
|
|
7462
|
+
},
|
|
7212
7463
|
{ "description": "Testing rules", "type": "string", "const": "test" },
|
|
7213
7464
|
{
|
|
7214
7465
|
"description": "Solid.js framework rules",
|
|
@@ -7562,6 +7813,15 @@
|
|
|
7562
7813
|
"additionalProperties": false,
|
|
7563
7814
|
"required": ["level"]
|
|
7564
7815
|
},
|
|
7816
|
+
"RuleWithNoComponentHookFactoriesOptions": {
|
|
7817
|
+
"type": "object",
|
|
7818
|
+
"properties": {
|
|
7819
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7820
|
+
"options": { "$ref": "#/$defs/NoComponentHookFactoriesOptions" }
|
|
7821
|
+
},
|
|
7822
|
+
"additionalProperties": false,
|
|
7823
|
+
"required": ["level"]
|
|
7824
|
+
},
|
|
7565
7825
|
"RuleWithNoConditionalExpectOptions": {
|
|
7566
7826
|
"type": "object",
|
|
7567
7827
|
"properties": {
|
|
@@ -8199,6 +8459,15 @@
|
|
|
8199
8459
|
"additionalProperties": false,
|
|
8200
8460
|
"required": ["level"]
|
|
8201
8461
|
},
|
|
8462
|
+
"RuleWithNoExcessiveSelectorClassesOptions": {
|
|
8463
|
+
"type": "object",
|
|
8464
|
+
"properties": {
|
|
8465
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8466
|
+
"options": { "$ref": "#/$defs/NoExcessiveSelectorClassesOptions" }
|
|
8467
|
+
},
|
|
8468
|
+
"additionalProperties": false,
|
|
8469
|
+
"required": ["level"]
|
|
8470
|
+
},
|
|
8202
8471
|
"RuleWithNoExplicitAnyOptions": {
|
|
8203
8472
|
"type": "object",
|
|
8204
8473
|
"properties": {
|
|
@@ -8415,6 +8684,15 @@
|
|
|
8415
8684
|
"additionalProperties": false,
|
|
8416
8685
|
"required": ["level"]
|
|
8417
8686
|
},
|
|
8687
|
+
"RuleWithNoIdenticalTestTitleOptions": {
|
|
8688
|
+
"type": "object",
|
|
8689
|
+
"properties": {
|
|
8690
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8691
|
+
"options": { "$ref": "#/$defs/NoIdenticalTestTitleOptions" }
|
|
8692
|
+
},
|
|
8693
|
+
"additionalProperties": false,
|
|
8694
|
+
"required": ["level"]
|
|
8695
|
+
},
|
|
8418
8696
|
"RuleWithNoImgElementOptions": {
|
|
8419
8697
|
"type": "object",
|
|
8420
8698
|
"properties": {
|
|
@@ -8615,6 +8893,16 @@
|
|
|
8615
8893
|
"additionalProperties": false,
|
|
8616
8894
|
"required": ["level"]
|
|
8617
8895
|
},
|
|
8896
|
+
"RuleWithNoJsxLeakedDollarOptions": {
|
|
8897
|
+
"type": "object",
|
|
8898
|
+
"properties": {
|
|
8899
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8900
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8901
|
+
"options": { "$ref": "#/$defs/NoJsxLeakedDollarOptions" }
|
|
8902
|
+
},
|
|
8903
|
+
"additionalProperties": false,
|
|
8904
|
+
"required": ["level"]
|
|
8905
|
+
},
|
|
8618
8906
|
"RuleWithNoJsxLiteralsOptions": {
|
|
8619
8907
|
"type": "object",
|
|
8620
8908
|
"properties": {
|
|
@@ -8624,6 +8912,15 @@
|
|
|
8624
8912
|
"additionalProperties": false,
|
|
8625
8913
|
"required": ["level"]
|
|
8626
8914
|
},
|
|
8915
|
+
"RuleWithNoJsxNamespaceOptions": {
|
|
8916
|
+
"type": "object",
|
|
8917
|
+
"properties": {
|
|
8918
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8919
|
+
"options": { "$ref": "#/$defs/NoJsxNamespaceOptions" }
|
|
8920
|
+
},
|
|
8921
|
+
"additionalProperties": false,
|
|
8922
|
+
"required": ["level"]
|
|
8923
|
+
},
|
|
8627
8924
|
"RuleWithNoJsxPropsBindOptions": {
|
|
8628
8925
|
"type": "object",
|
|
8629
8926
|
"properties": {
|
|
@@ -8660,6 +8957,15 @@
|
|
|
8660
8957
|
"additionalProperties": false,
|
|
8661
8958
|
"required": ["level"]
|
|
8662
8959
|
},
|
|
8960
|
+
"RuleWithNoLoopFuncOptions": {
|
|
8961
|
+
"type": "object",
|
|
8962
|
+
"properties": {
|
|
8963
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8964
|
+
"options": { "$ref": "#/$defs/NoLoopFuncOptions" }
|
|
8965
|
+
},
|
|
8966
|
+
"additionalProperties": false,
|
|
8967
|
+
"required": ["level"]
|
|
8968
|
+
},
|
|
8663
8969
|
"RuleWithNoMagicNumbersOptions": {
|
|
8664
8970
|
"type": "object",
|
|
8665
8971
|
"properties": {
|
|
@@ -9124,6 +9430,33 @@
|
|
|
9124
9430
|
"additionalProperties": false,
|
|
9125
9431
|
"required": ["level"]
|
|
9126
9432
|
},
|
|
9433
|
+
"RuleWithNoReactNativeDeepImportsOptions": {
|
|
9434
|
+
"type": "object",
|
|
9435
|
+
"properties": {
|
|
9436
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9437
|
+
"options": { "$ref": "#/$defs/NoReactNativeDeepImportsOptions" }
|
|
9438
|
+
},
|
|
9439
|
+
"additionalProperties": false,
|
|
9440
|
+
"required": ["level"]
|
|
9441
|
+
},
|
|
9442
|
+
"RuleWithNoReactNativeLiteralColorsOptions": {
|
|
9443
|
+
"type": "object",
|
|
9444
|
+
"properties": {
|
|
9445
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9446
|
+
"options": { "$ref": "#/$defs/NoReactNativeLiteralColorsOptions" }
|
|
9447
|
+
},
|
|
9448
|
+
"additionalProperties": false,
|
|
9449
|
+
"required": ["level"]
|
|
9450
|
+
},
|
|
9451
|
+
"RuleWithNoReactNativeRawTextOptions": {
|
|
9452
|
+
"type": "object",
|
|
9453
|
+
"properties": {
|
|
9454
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9455
|
+
"options": { "$ref": "#/$defs/NoReactNativeRawTextOptions" }
|
|
9456
|
+
},
|
|
9457
|
+
"additionalProperties": false,
|
|
9458
|
+
"required": ["level"]
|
|
9459
|
+
},
|
|
9127
9460
|
"RuleWithNoReactPropAssignmentsOptions": {
|
|
9128
9461
|
"type": "object",
|
|
9129
9462
|
"properties": {
|
|
@@ -9631,6 +9964,16 @@
|
|
|
9631
9964
|
"additionalProperties": false,
|
|
9632
9965
|
"required": ["level"]
|
|
9633
9966
|
},
|
|
9967
|
+
"RuleWithNoUnnecessaryTemplateExpressionOptions": {
|
|
9968
|
+
"type": "object",
|
|
9969
|
+
"properties": {
|
|
9970
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
9971
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9972
|
+
"options": { "$ref": "#/$defs/NoUnnecessaryTemplateExpressionOptions" }
|
|
9973
|
+
},
|
|
9974
|
+
"additionalProperties": false,
|
|
9975
|
+
"required": ["level"]
|
|
9976
|
+
},
|
|
9634
9977
|
"RuleWithNoUnreachableOptions": {
|
|
9635
9978
|
"type": "object",
|
|
9636
9979
|
"properties": {
|
|
@@ -10563,6 +10906,26 @@
|
|
|
10563
10906
|
"additionalProperties": false,
|
|
10564
10907
|
"required": ["level"]
|
|
10565
10908
|
},
|
|
10909
|
+
"RuleWithUseDomNodeTextContentOptions": {
|
|
10910
|
+
"type": "object",
|
|
10911
|
+
"properties": {
|
|
10912
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10913
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10914
|
+
"options": { "$ref": "#/$defs/UseDomNodeTextContentOptions" }
|
|
10915
|
+
},
|
|
10916
|
+
"additionalProperties": false,
|
|
10917
|
+
"required": ["level"]
|
|
10918
|
+
},
|
|
10919
|
+
"RuleWithUseDomQuerySelectorOptions": {
|
|
10920
|
+
"type": "object",
|
|
10921
|
+
"properties": {
|
|
10922
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
10923
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10924
|
+
"options": { "$ref": "#/$defs/UseDomQuerySelectorOptions" }
|
|
10925
|
+
},
|
|
10926
|
+
"additionalProperties": false,
|
|
10927
|
+
"required": ["level"]
|
|
10928
|
+
},
|
|
10566
10929
|
"RuleWithUseEnumInitializersOptions": {
|
|
10567
10930
|
"type": "object",
|
|
10568
10931
|
"properties": {
|
|
@@ -10843,6 +11206,15 @@
|
|
|
10843
11206
|
"additionalProperties": false,
|
|
10844
11207
|
"required": ["level"]
|
|
10845
11208
|
},
|
|
11209
|
+
"RuleWithUseIframeSandboxOptions": {
|
|
11210
|
+
"type": "object",
|
|
11211
|
+
"properties": {
|
|
11212
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11213
|
+
"options": { "$ref": "#/$defs/UseIframeSandboxOptions" }
|
|
11214
|
+
},
|
|
11215
|
+
"additionalProperties": false,
|
|
11216
|
+
"required": ["level"]
|
|
11217
|
+
},
|
|
10846
11218
|
"RuleWithUseIframeTitleOptions": {
|
|
10847
11219
|
"type": "object",
|
|
10848
11220
|
"properties": {
|
|
@@ -11215,6 +11587,16 @@
|
|
|
11215
11587
|
"additionalProperties": false,
|
|
11216
11588
|
"required": ["level"]
|
|
11217
11589
|
},
|
|
11590
|
+
"RuleWithUseReactAsyncServerFunctionOptions": {
|
|
11591
|
+
"type": "object",
|
|
11592
|
+
"properties": {
|
|
11593
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11594
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11595
|
+
"options": { "$ref": "#/$defs/UseReactAsyncServerFunctionOptions" }
|
|
11596
|
+
},
|
|
11597
|
+
"additionalProperties": false,
|
|
11598
|
+
"required": ["level"]
|
|
11599
|
+
},
|
|
11218
11600
|
"RuleWithUseReactFunctionComponentsOptions": {
|
|
11219
11601
|
"type": "object",
|
|
11220
11602
|
"properties": {
|
|
@@ -11224,6 +11606,15 @@
|
|
|
11224
11606
|
"additionalProperties": false,
|
|
11225
11607
|
"required": ["level"]
|
|
11226
11608
|
},
|
|
11609
|
+
"RuleWithUseReactNativePlatformComponentsOptions": {
|
|
11610
|
+
"type": "object",
|
|
11611
|
+
"properties": {
|
|
11612
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11613
|
+
"options": { "$ref": "#/$defs/UseReactNativePlatformComponentsOptions" }
|
|
11614
|
+
},
|
|
11615
|
+
"additionalProperties": false,
|
|
11616
|
+
"required": ["level"]
|
|
11617
|
+
},
|
|
11227
11618
|
"RuleWithUseReadonlyClassPropertiesOptions": {
|
|
11228
11619
|
"type": "object",
|
|
11229
11620
|
"properties": {
|
|
@@ -11234,6 +11625,16 @@
|
|
|
11234
11625
|
"additionalProperties": false,
|
|
11235
11626
|
"required": ["level"]
|
|
11236
11627
|
},
|
|
11628
|
+
"RuleWithUseReduceTypeParameterOptions": {
|
|
11629
|
+
"type": "object",
|
|
11630
|
+
"properties": {
|
|
11631
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11632
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11633
|
+
"options": { "$ref": "#/$defs/UseReduceTypeParameterOptions" }
|
|
11634
|
+
},
|
|
11635
|
+
"additionalProperties": false,
|
|
11636
|
+
"required": ["level"]
|
|
11637
|
+
},
|
|
11237
11638
|
"RuleWithUseRegexLiteralsOptions": {
|
|
11238
11639
|
"type": "object",
|
|
11239
11640
|
"properties": {
|
|
@@ -11253,6 +11654,16 @@
|
|
|
11253
11654
|
"additionalProperties": false,
|
|
11254
11655
|
"required": ["level"]
|
|
11255
11656
|
},
|
|
11657
|
+
"RuleWithUseRegexpTestOptions": {
|
|
11658
|
+
"type": "object",
|
|
11659
|
+
"properties": {
|
|
11660
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11661
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11662
|
+
"options": { "$ref": "#/$defs/UseRegexpTestOptions" }
|
|
11663
|
+
},
|
|
11664
|
+
"additionalProperties": false,
|
|
11665
|
+
"required": ["level"]
|
|
11666
|
+
},
|
|
11256
11667
|
"RuleWithUseRequiredScriptsOptions": {
|
|
11257
11668
|
"type": "object",
|
|
11258
11669
|
"properties": {
|
|
@@ -11400,6 +11811,16 @@
|
|
|
11400
11811
|
"additionalProperties": false,
|
|
11401
11812
|
"required": ["level"]
|
|
11402
11813
|
},
|
|
11814
|
+
"RuleWithUseStringStartsEndsWithOptions": {
|
|
11815
|
+
"type": "object",
|
|
11816
|
+
"properties": {
|
|
11817
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11818
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11819
|
+
"options": { "$ref": "#/$defs/UseStringStartsEndsWithOptions" }
|
|
11820
|
+
},
|
|
11821
|
+
"additionalProperties": false,
|
|
11822
|
+
"required": ["level"]
|
|
11823
|
+
},
|
|
11403
11824
|
"RuleWithUseSymbolDescriptionOptions": {
|
|
11404
11825
|
"type": "object",
|
|
11405
11826
|
"properties": {
|
|
@@ -11561,6 +11982,15 @@
|
|
|
11561
11982
|
"additionalProperties": false,
|
|
11562
11983
|
"required": ["level"]
|
|
11563
11984
|
},
|
|
11985
|
+
"RuleWithUseVarsOnTopOptions": {
|
|
11986
|
+
"type": "object",
|
|
11987
|
+
"properties": {
|
|
11988
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11989
|
+
"options": { "$ref": "#/$defs/UseVarsOnTopOptions" }
|
|
11990
|
+
},
|
|
11991
|
+
"additionalProperties": false,
|
|
11992
|
+
"required": ["level"]
|
|
11993
|
+
},
|
|
11564
11994
|
"RuleWithUseVueConsistentDefinePropsDeclarationOptions": {
|
|
11565
11995
|
"type": "object",
|
|
11566
11996
|
"properties": {
|
|
@@ -11953,7 +12383,7 @@
|
|
|
11953
12383
|
]
|
|
11954
12384
|
},
|
|
11955
12385
|
"organizeImports": {
|
|
11956
|
-
"description": "
|
|
12386
|
+
"description": "Sorts imports and exports in your JavaScript and TypeScript files.\nSee https://biomejs.dev/assist/actions/organize-imports",
|
|
11957
12387
|
"anyOf": [
|
|
11958
12388
|
{ "$ref": "#/$defs/OrganizeImportsConfiguration" },
|
|
11959
12389
|
{ "type": "null" }
|
|
@@ -13854,6 +14284,26 @@
|
|
|
13854
14284
|
"type": "object",
|
|
13855
14285
|
"additionalProperties": false
|
|
13856
14286
|
},
|
|
14287
|
+
"UseDomNodeTextContentConfiguration": {
|
|
14288
|
+
"oneOf": [
|
|
14289
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
14290
|
+
{ "$ref": "#/$defs/RuleWithUseDomNodeTextContentOptions" }
|
|
14291
|
+
]
|
|
14292
|
+
},
|
|
14293
|
+
"UseDomNodeTextContentOptions": {
|
|
14294
|
+
"type": "object",
|
|
14295
|
+
"additionalProperties": false
|
|
14296
|
+
},
|
|
14297
|
+
"UseDomQuerySelectorConfiguration": {
|
|
14298
|
+
"oneOf": [
|
|
14299
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
14300
|
+
{ "$ref": "#/$defs/RuleWithUseDomQuerySelectorOptions" }
|
|
14301
|
+
]
|
|
14302
|
+
},
|
|
14303
|
+
"UseDomQuerySelectorOptions": {
|
|
14304
|
+
"type": "object",
|
|
14305
|
+
"additionalProperties": false
|
|
14306
|
+
},
|
|
13857
14307
|
"UseEnumInitializersConfiguration": {
|
|
13858
14308
|
"oneOf": [
|
|
13859
14309
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14195,6 +14645,16 @@
|
|
|
14195
14645
|
]
|
|
14196
14646
|
},
|
|
14197
14647
|
"UseHtmlLangOptions": { "type": "object", "additionalProperties": false },
|
|
14648
|
+
"UseIframeSandboxConfiguration": {
|
|
14649
|
+
"oneOf": [
|
|
14650
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
14651
|
+
{ "$ref": "#/$defs/RuleWithUseIframeSandboxOptions" }
|
|
14652
|
+
]
|
|
14653
|
+
},
|
|
14654
|
+
"UseIframeSandboxOptions": {
|
|
14655
|
+
"type": "object",
|
|
14656
|
+
"additionalProperties": false
|
|
14657
|
+
},
|
|
14198
14658
|
"UseIframeTitleConfiguration": {
|
|
14199
14659
|
"oneOf": [
|
|
14200
14660
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14653,6 +15113,16 @@
|
|
|
14653
15113
|
"type": "object",
|
|
14654
15114
|
"additionalProperties": false
|
|
14655
15115
|
},
|
|
15116
|
+
"UseReactAsyncServerFunctionConfiguration": {
|
|
15117
|
+
"oneOf": [
|
|
15118
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15119
|
+
{ "$ref": "#/$defs/RuleWithUseReactAsyncServerFunctionOptions" }
|
|
15120
|
+
]
|
|
15121
|
+
},
|
|
15122
|
+
"UseReactAsyncServerFunctionOptions": {
|
|
15123
|
+
"type": "object",
|
|
15124
|
+
"additionalProperties": false
|
|
15125
|
+
},
|
|
14656
15126
|
"UseReactFunctionComponentsConfiguration": {
|
|
14657
15127
|
"oneOf": [
|
|
14658
15128
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14663,6 +15133,28 @@
|
|
|
14663
15133
|
"type": "object",
|
|
14664
15134
|
"additionalProperties": false
|
|
14665
15135
|
},
|
|
15136
|
+
"UseReactNativePlatformComponentsConfiguration": {
|
|
15137
|
+
"oneOf": [
|
|
15138
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15139
|
+
{ "$ref": "#/$defs/RuleWithUseReactNativePlatformComponentsOptions" }
|
|
15140
|
+
]
|
|
15141
|
+
},
|
|
15142
|
+
"UseReactNativePlatformComponentsOptions": {
|
|
15143
|
+
"type": "object",
|
|
15144
|
+
"properties": {
|
|
15145
|
+
"androidPathPatterns": {
|
|
15146
|
+
"description": "A list of glob patterns to identify Android-specific files.\nDefaults to `[\"**/*.android.{js,jsx,ts,tsx}\"]`.",
|
|
15147
|
+
"type": ["array", "null"],
|
|
15148
|
+
"items": { "$ref": "#/$defs/NormalizedGlob" }
|
|
15149
|
+
},
|
|
15150
|
+
"iosPathPatterns": {
|
|
15151
|
+
"description": "A list of glob patterns to identify iOS-specific files.\nDefaults to `[\"**/*.ios.{js,jsx,ts,tsx}\"]`.",
|
|
15152
|
+
"type": ["array", "null"],
|
|
15153
|
+
"items": { "$ref": "#/$defs/NormalizedGlob" }
|
|
15154
|
+
}
|
|
15155
|
+
},
|
|
15156
|
+
"additionalProperties": false
|
|
15157
|
+
},
|
|
14666
15158
|
"UseReadonlyClassPropertiesConfiguration": {
|
|
14667
15159
|
"oneOf": [
|
|
14668
15160
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14679,6 +15171,16 @@
|
|
|
14679
15171
|
},
|
|
14680
15172
|
"additionalProperties": false
|
|
14681
15173
|
},
|
|
15174
|
+
"UseReduceTypeParameterConfiguration": {
|
|
15175
|
+
"oneOf": [
|
|
15176
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15177
|
+
{ "$ref": "#/$defs/RuleWithUseReduceTypeParameterOptions" }
|
|
15178
|
+
]
|
|
15179
|
+
},
|
|
15180
|
+
"UseReduceTypeParameterOptions": {
|
|
15181
|
+
"type": "object",
|
|
15182
|
+
"additionalProperties": false
|
|
15183
|
+
},
|
|
14682
15184
|
"UseRegexLiteralsConfiguration": {
|
|
14683
15185
|
"oneOf": [
|
|
14684
15186
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14696,6 +15198,13 @@
|
|
|
14696
15198
|
]
|
|
14697
15199
|
},
|
|
14698
15200
|
"UseRegexpExecOptions": { "type": "object", "additionalProperties": false },
|
|
15201
|
+
"UseRegexpTestConfiguration": {
|
|
15202
|
+
"oneOf": [
|
|
15203
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15204
|
+
{ "$ref": "#/$defs/RuleWithUseRegexpTestOptions" }
|
|
15205
|
+
]
|
|
15206
|
+
},
|
|
15207
|
+
"UseRegexpTestOptions": { "type": "object", "additionalProperties": false },
|
|
14699
15208
|
"UseRequiredScriptsConfiguration": {
|
|
14700
15209
|
"oneOf": [
|
|
14701
15210
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -14915,6 +15424,16 @@
|
|
|
14915
15424
|
]
|
|
14916
15425
|
},
|
|
14917
15426
|
"UseStrictModeOptions": { "type": "object", "additionalProperties": false },
|
|
15427
|
+
"UseStringStartsEndsWithConfiguration": {
|
|
15428
|
+
"oneOf": [
|
|
15429
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15430
|
+
{ "$ref": "#/$defs/RuleWithUseStringStartsEndsWithOptions" }
|
|
15431
|
+
]
|
|
15432
|
+
},
|
|
15433
|
+
"UseStringStartsEndsWithOptions": {
|
|
15434
|
+
"type": "object",
|
|
15435
|
+
"additionalProperties": false
|
|
15436
|
+
},
|
|
14918
15437
|
"UseSymbolDescriptionConfiguration": {
|
|
14919
15438
|
"oneOf": [
|
|
14920
15439
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -15115,6 +15634,13 @@
|
|
|
15115
15634
|
"type": "object",
|
|
15116
15635
|
"additionalProperties": false
|
|
15117
15636
|
},
|
|
15637
|
+
"UseVarsOnTopConfiguration": {
|
|
15638
|
+
"oneOf": [
|
|
15639
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15640
|
+
{ "$ref": "#/$defs/RuleWithUseVarsOnTopOptions" }
|
|
15641
|
+
]
|
|
15642
|
+
},
|
|
15643
|
+
"UseVarsOnTopOptions": { "type": "object", "additionalProperties": false },
|
|
15118
15644
|
"UseVueConsistentDefinePropsDeclarationConfiguration": {
|
|
15119
15645
|
"oneOf": [
|
|
15120
15646
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"provenance": true
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@biomejs/cli-win32-x64": "2.4.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.4.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.4.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.4.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.4.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.4.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.4.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.4.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.4.13",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.4.13",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.4.13",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.4.13",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.4.13",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.4.13",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.4.13",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.4.13"
|
|
57
57
|
}
|
|
58
58
|
}
|