@biomejs/biome 2.5.11 → 2.5.12
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 +227 -78
- package/package.json +9 -9
|
@@ -3223,6 +3223,13 @@
|
|
|
3223
3223
|
},
|
|
3224
3224
|
"additionalProperties": false
|
|
3225
3225
|
},
|
|
3226
|
+
"NoBunModulesConfiguration": {
|
|
3227
|
+
"oneOf": [
|
|
3228
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3229
|
+
{ "$ref": "#/$defs/RuleWithNoBunModulesOptions" }
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
"NoBunModulesOptions": { "type": "object", "additionalProperties": false },
|
|
3226
3233
|
"NoCatchAssignConfiguration": {
|
|
3227
3234
|
"oneOf": [
|
|
3228
3235
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4532,6 +4539,16 @@
|
|
|
4532
4539
|
"type": "object",
|
|
4533
4540
|
"additionalProperties": false
|
|
4534
4541
|
},
|
|
4542
|
+
"NoInvalidFileInputAcceptConfiguration": {
|
|
4543
|
+
"oneOf": [
|
|
4544
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4545
|
+
{ "$ref": "#/$defs/RuleWithNoInvalidFileInputAcceptOptions" }
|
|
4546
|
+
]
|
|
4547
|
+
},
|
|
4548
|
+
"NoInvalidFileInputAcceptOptions": {
|
|
4549
|
+
"type": "object",
|
|
4550
|
+
"additionalProperties": false
|
|
4551
|
+
},
|
|
4535
4552
|
"NoInvalidGridAreasConfiguration": {
|
|
4536
4553
|
"oneOf": [
|
|
4537
4554
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5746,6 +5763,16 @@
|
|
|
5746
5763
|
"type": "object",
|
|
5747
5764
|
"additionalProperties": false
|
|
5748
5765
|
},
|
|
5766
|
+
"NoThisOutsideOfClassConfiguration": {
|
|
5767
|
+
"oneOf": [
|
|
5768
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5769
|
+
{ "$ref": "#/$defs/RuleWithNoThisOutsideOfClassOptions" }
|
|
5770
|
+
]
|
|
5771
|
+
},
|
|
5772
|
+
"NoThisOutsideOfClassOptions": {
|
|
5773
|
+
"type": "object",
|
|
5774
|
+
"additionalProperties": false
|
|
5775
|
+
},
|
|
5749
5776
|
"NoTopLevelLiteralsConfiguration": {
|
|
5750
5777
|
"oneOf": [
|
|
5751
5778
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -6002,6 +6029,16 @@
|
|
|
6002
6029
|
"type": "object",
|
|
6003
6030
|
"additionalProperties": false
|
|
6004
6031
|
},
|
|
6032
|
+
"NoUnmodifiedLoopConditionConfiguration": {
|
|
6033
|
+
"oneOf": [
|
|
6034
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6035
|
+
{ "$ref": "#/$defs/RuleWithNoUnmodifiedLoopConditionOptions" }
|
|
6036
|
+
]
|
|
6037
|
+
},
|
|
6038
|
+
"NoUnmodifiedLoopConditionOptions": {
|
|
6039
|
+
"type": "object",
|
|
6040
|
+
"additionalProperties": false
|
|
6041
|
+
},
|
|
6005
6042
|
"NoUnnecessaryConditionsConfiguration": {
|
|
6006
6043
|
"oneOf": [
|
|
6007
6044
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -6592,6 +6629,16 @@
|
|
|
6592
6629
|
"type": "object",
|
|
6593
6630
|
"additionalProperties": false
|
|
6594
6631
|
},
|
|
6632
|
+
"NoVueDeprecatedScopedSlotsConfiguration": {
|
|
6633
|
+
"oneOf": [
|
|
6634
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
6635
|
+
{ "$ref": "#/$defs/RuleWithNoVueDeprecatedScopedSlotsOptions" }
|
|
6636
|
+
]
|
|
6637
|
+
},
|
|
6638
|
+
"NoVueDeprecatedScopedSlotsOptions": {
|
|
6639
|
+
"type": "object",
|
|
6640
|
+
"additionalProperties": false
|
|
6641
|
+
},
|
|
6595
6642
|
"NoVueDuplicateKeysConfiguration": {
|
|
6596
6643
|
"oneOf": [
|
|
6597
6644
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -6741,6 +6788,13 @@
|
|
|
6741
6788
|
{ "type": "null" }
|
|
6742
6789
|
]
|
|
6743
6790
|
},
|
|
6791
|
+
"noBunModules": {
|
|
6792
|
+
"description": "Forbid the use of Bun builtin modules.\nSee https://biomejs.dev/linter/rules/no-bun-modules",
|
|
6793
|
+
"anyOf": [
|
|
6794
|
+
{ "$ref": "#/$defs/NoBunModulesConfiguration" },
|
|
6795
|
+
{ "type": "null" }
|
|
6796
|
+
]
|
|
6797
|
+
},
|
|
6744
6798
|
"noComponentHookFactories": {
|
|
6745
6799
|
"description": "Disallows defining React components or custom hooks inside other functions.\nSee https://biomejs.dev/linter/rules/no-component-hook-factories",
|
|
6746
6800
|
"anyOf": [
|
|
@@ -6839,6 +6893,13 @@
|
|
|
6839
6893
|
{ "type": "null" }
|
|
6840
6894
|
]
|
|
6841
6895
|
},
|
|
6896
|
+
"noInvalidFileInputAccept": {
|
|
6897
|
+
"description": "Disallow invalid accept values on file inputs.\nSee https://biomejs.dev/linter/rules/no-invalid-file-input-accept",
|
|
6898
|
+
"anyOf": [
|
|
6899
|
+
{ "$ref": "#/$defs/NoInvalidFileInputAcceptConfiguration" },
|
|
6900
|
+
{ "type": "null" }
|
|
6901
|
+
]
|
|
6902
|
+
},
|
|
6842
6903
|
"noInvalidPropertyInitValue": {
|
|
6843
6904
|
"description": "Checks that the initial-value of an @property rule follows the value format declared by its syntax.\nSee https://biomejs.dev/linter/rules/no-invalid-property-init-value",
|
|
6844
6905
|
"anyOf": [
|
|
@@ -7028,6 +7089,13 @@
|
|
|
7028
7089
|
{ "type": "null" }
|
|
7029
7090
|
]
|
|
7030
7091
|
},
|
|
7092
|
+
"noThisOutsideOfClass": {
|
|
7093
|
+
"description": "Disallow this outside of classes.\nSee https://biomejs.dev/linter/rules/no-this-outside-of-class",
|
|
7094
|
+
"anyOf": [
|
|
7095
|
+
{ "$ref": "#/$defs/NoThisOutsideOfClassConfiguration" },
|
|
7096
|
+
{ "type": "null" }
|
|
7097
|
+
]
|
|
7098
|
+
},
|
|
7031
7099
|
"noTopLevelLiterals": {
|
|
7032
7100
|
"description": "Require the JSON top-level value to be an array or object.\nSee https://biomejs.dev/linter/rules/no-top-level-literals",
|
|
7033
7101
|
"anyOf": [
|
|
@@ -7049,6 +7117,13 @@
|
|
|
7049
7117
|
{ "type": "null" }
|
|
7050
7118
|
]
|
|
7051
7119
|
},
|
|
7120
|
+
"noUnmodifiedLoopCondition": {
|
|
7121
|
+
"description": "Disallow loop conditions whose variables are never modified in the loop.\nSee https://biomejs.dev/linter/rules/no-unmodified-loop-condition",
|
|
7122
|
+
"anyOf": [
|
|
7123
|
+
{ "$ref": "#/$defs/NoUnmodifiedLoopConditionConfiguration" },
|
|
7124
|
+
{ "type": "null" }
|
|
7125
|
+
]
|
|
7126
|
+
},
|
|
7052
7127
|
"noUnnecessaryTemplateExpression": {
|
|
7053
7128
|
"description": "Disallow unnecessary template expressions.\nSee https://biomejs.dev/linter/rules/no-unnecessary-template-expression",
|
|
7054
7129
|
"anyOf": [
|
|
@@ -7091,6 +7166,13 @@
|
|
|
7091
7166
|
{ "type": "null" }
|
|
7092
7167
|
]
|
|
7093
7168
|
},
|
|
7169
|
+
"noVueDeprecatedScopedSlots": {
|
|
7170
|
+
"description": "Disallow the deprecated Vue $scopedSlots API.\nSee https://biomejs.dev/linter/rules/no-vue-deprecated-scoped-slots",
|
|
7171
|
+
"anyOf": [
|
|
7172
|
+
{ "$ref": "#/$defs/NoVueDeprecatedScopedSlotsConfiguration" },
|
|
7173
|
+
{ "type": "null" }
|
|
7174
|
+
]
|
|
7175
|
+
},
|
|
7094
7176
|
"noVueImportCompilerMacros": {
|
|
7095
7177
|
"description": "Disallow importing Vue compiler macros.\nSee https://biomejs.dev/linter/rules/no-vue-import-compiler-macros",
|
|
7096
7178
|
"anyOf": [
|
|
@@ -7211,6 +7293,13 @@
|
|
|
7211
7293
|
{ "type": "null" }
|
|
7212
7294
|
]
|
|
7213
7295
|
},
|
|
7296
|
+
"useFlatMathMinMax": {
|
|
7297
|
+
"description": "Prefer flat Math.min() and Math.max() calls over nested calls of the same method.\nSee https://biomejs.dev/linter/rules/use-flat-math-min-max",
|
|
7298
|
+
"anyOf": [
|
|
7299
|
+
{ "$ref": "#/$defs/UseFlatMathMinMaxConfiguration" },
|
|
7300
|
+
{ "type": "null" }
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7214
7303
|
"useIframeSandbox": {
|
|
7215
7304
|
"description": "Enforce the 'sandbox' attribute for 'iframe' elements.\nSee https://biomejs.dev/linter/rules/use-iframe-sandbox",
|
|
7216
7305
|
"anyOf": [
|
|
@@ -7239,6 +7328,13 @@
|
|
|
7239
7328
|
{ "type": "null" }
|
|
7240
7329
|
]
|
|
7241
7330
|
},
|
|
7331
|
+
"useModernMathApis": {
|
|
7332
|
+
"description": "Use modern Math APIs for common mathematical operations.\nSee https://biomejs.dev/linter/rules/use-modern-math-apis",
|
|
7333
|
+
"anyOf": [
|
|
7334
|
+
{ "$ref": "#/$defs/UseModernMathApisConfiguration" },
|
|
7335
|
+
{ "type": "null" }
|
|
7336
|
+
]
|
|
7337
|
+
},
|
|
7242
7338
|
"useNamedCaptureGroup": {
|
|
7243
7339
|
"description": "Enforce using named capture groups in regular expression.\nSee https://biomejs.dev/linter/rules/use-named-capture-group",
|
|
7244
7340
|
"anyOf": [
|
|
@@ -7299,6 +7395,13 @@
|
|
|
7299
7395
|
{ "type": "null" }
|
|
7300
7396
|
]
|
|
7301
7397
|
},
|
|
7398
|
+
"useReactNamingConvention": {
|
|
7399
|
+
"description": "Enforces naming conventions for React createContext, useId, and useRef.\nSee https://biomejs.dev/linter/rules/use-react-naming-convention",
|
|
7400
|
+
"anyOf": [
|
|
7401
|
+
{ "$ref": "#/$defs/UseReactNamingConventionConfiguration" },
|
|
7402
|
+
{ "type": "null" }
|
|
7403
|
+
]
|
|
7404
|
+
},
|
|
7302
7405
|
"useReactNativePlatformComponents": {
|
|
7303
7406
|
"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",
|
|
7304
7407
|
"anyOf": [
|
|
@@ -7988,82 +8091,6 @@
|
|
|
7988
8091
|
},
|
|
7989
8092
|
"required": ["level", "options"]
|
|
7990
8093
|
},
|
|
7991
|
-
"RuleDomain": {
|
|
7992
|
-
"description": "Rule domains",
|
|
7993
|
-
"oneOf": [
|
|
7994
|
-
{
|
|
7995
|
-
"description": "Astro framework rules",
|
|
7996
|
-
"type": "string",
|
|
7997
|
-
"const": "astro"
|
|
7998
|
-
},
|
|
7999
|
-
{
|
|
8000
|
-
"description": "Drizzle ORM rules",
|
|
8001
|
-
"type": "string",
|
|
8002
|
-
"const": "drizzle"
|
|
8003
|
-
},
|
|
8004
|
-
{
|
|
8005
|
-
"description": "React library rules",
|
|
8006
|
-
"type": "string",
|
|
8007
|
-
"const": "react"
|
|
8008
|
-
},
|
|
8009
|
-
{
|
|
8010
|
-
"description": "React Native framework rules",
|
|
8011
|
-
"type": "string",
|
|
8012
|
-
"const": "reactNative"
|
|
8013
|
-
},
|
|
8014
|
-
{ "description": "Testing rules", "type": "string", "const": "test" },
|
|
8015
|
-
{
|
|
8016
|
-
"description": "Solid.js framework rules",
|
|
8017
|
-
"type": "string",
|
|
8018
|
-
"const": "solid"
|
|
8019
|
-
},
|
|
8020
|
-
{
|
|
8021
|
-
"description": "Next.js framework rules",
|
|
8022
|
-
"type": "string",
|
|
8023
|
-
"const": "next"
|
|
8024
|
-
},
|
|
8025
|
-
{
|
|
8026
|
-
"description": "Qwik framework rules",
|
|
8027
|
-
"type": "string",
|
|
8028
|
-
"const": "qwik"
|
|
8029
|
-
},
|
|
8030
|
-
{
|
|
8031
|
-
"description": "Svelte framework rules",
|
|
8032
|
-
"type": "string",
|
|
8033
|
-
"const": "svelte"
|
|
8034
|
-
},
|
|
8035
|
-
{
|
|
8036
|
-
"description": "Vue.js framework rules",
|
|
8037
|
-
"type": "string",
|
|
8038
|
-
"const": "vue"
|
|
8039
|
-
},
|
|
8040
|
-
{
|
|
8041
|
-
"description": "For rules that require querying multiple files inside a project",
|
|
8042
|
-
"type": "string",
|
|
8043
|
-
"const": "project"
|
|
8044
|
-
},
|
|
8045
|
-
{
|
|
8046
|
-
"description": "Tailwind CSS rules",
|
|
8047
|
-
"type": "string",
|
|
8048
|
-
"const": "tailwind"
|
|
8049
|
-
},
|
|
8050
|
-
{
|
|
8051
|
-
"description": "Turborepo build system rules",
|
|
8052
|
-
"type": "string",
|
|
8053
|
-
"const": "turborepo"
|
|
8054
|
-
},
|
|
8055
|
-
{
|
|
8056
|
-
"description": "Playwright testing framework rules",
|
|
8057
|
-
"type": "string",
|
|
8058
|
-
"const": "playwright"
|
|
8059
|
-
},
|
|
8060
|
-
{
|
|
8061
|
-
"description": "Rules that require type inference",
|
|
8062
|
-
"type": "string",
|
|
8063
|
-
"const": "types"
|
|
8064
|
-
}
|
|
8065
|
-
]
|
|
8066
|
-
},
|
|
8067
8094
|
"RuleDomainValue": {
|
|
8068
8095
|
"oneOf": [
|
|
8069
8096
|
{
|
|
@@ -8085,8 +8112,24 @@
|
|
|
8085
8112
|
},
|
|
8086
8113
|
"RuleDomains": {
|
|
8087
8114
|
"type": "object",
|
|
8088
|
-
"
|
|
8089
|
-
|
|
8115
|
+
"properties": {
|
|
8116
|
+
"astro": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8117
|
+
"drizzle": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8118
|
+
"next": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8119
|
+
"playwright": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8120
|
+
"project": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8121
|
+
"qwik": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8122
|
+
"react": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8123
|
+
"reactNative": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8124
|
+
"solid": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8125
|
+
"svelte": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8126
|
+
"tailwind": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8127
|
+
"test": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8128
|
+
"turborepo": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8129
|
+
"types": { "$ref": "#/$defs/RuleDomainValue" },
|
|
8130
|
+
"vue": { "$ref": "#/$defs/RuleDomainValue" }
|
|
8131
|
+
},
|
|
8132
|
+
"additionalProperties": false
|
|
8090
8133
|
},
|
|
8091
8134
|
"RulePlainConfiguration": {
|
|
8092
8135
|
"oneOf": [
|
|
@@ -8322,6 +8365,15 @@
|
|
|
8322
8365
|
"additionalProperties": false,
|
|
8323
8366
|
"required": ["level"]
|
|
8324
8367
|
},
|
|
8368
|
+
"RuleWithNoBunModulesOptions": {
|
|
8369
|
+
"type": "object",
|
|
8370
|
+
"properties": {
|
|
8371
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8372
|
+
"options": { "$ref": "#/$defs/NoBunModulesOptions" }
|
|
8373
|
+
},
|
|
8374
|
+
"additionalProperties": false,
|
|
8375
|
+
"required": ["level"]
|
|
8376
|
+
},
|
|
8325
8377
|
"RuleWithNoCatchAssignOptions": {
|
|
8326
8378
|
"type": "object",
|
|
8327
8379
|
"properties": {
|
|
@@ -9440,6 +9492,16 @@
|
|
|
9440
9492
|
"additionalProperties": false,
|
|
9441
9493
|
"required": ["level"]
|
|
9442
9494
|
},
|
|
9495
|
+
"RuleWithNoInvalidFileInputAcceptOptions": {
|
|
9496
|
+
"type": "object",
|
|
9497
|
+
"properties": {
|
|
9498
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
9499
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9500
|
+
"options": { "$ref": "#/$defs/NoInvalidFileInputAcceptOptions" }
|
|
9501
|
+
},
|
|
9502
|
+
"additionalProperties": false,
|
|
9503
|
+
"required": ["level"]
|
|
9504
|
+
},
|
|
9443
9505
|
"RuleWithNoInvalidGridAreasOptions": {
|
|
9444
9506
|
"type": "object",
|
|
9445
9507
|
"properties": {
|
|
@@ -10476,6 +10538,15 @@
|
|
|
10476
10538
|
"additionalProperties": false,
|
|
10477
10539
|
"required": ["level"]
|
|
10478
10540
|
},
|
|
10541
|
+
"RuleWithNoThisOutsideOfClassOptions": {
|
|
10542
|
+
"type": "object",
|
|
10543
|
+
"properties": {
|
|
10544
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10545
|
+
"options": { "$ref": "#/$defs/NoThisOutsideOfClassOptions" }
|
|
10546
|
+
},
|
|
10547
|
+
"additionalProperties": false,
|
|
10548
|
+
"required": ["level"]
|
|
10549
|
+
},
|
|
10479
10550
|
"RuleWithNoTopLevelLiteralsOptions": {
|
|
10480
10551
|
"type": "object",
|
|
10481
10552
|
"properties": {
|
|
@@ -10639,6 +10710,15 @@
|
|
|
10639
10710
|
"additionalProperties": false,
|
|
10640
10711
|
"required": ["level"]
|
|
10641
10712
|
},
|
|
10713
|
+
"RuleWithNoUnmodifiedLoopConditionOptions": {
|
|
10714
|
+
"type": "object",
|
|
10715
|
+
"properties": {
|
|
10716
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10717
|
+
"options": { "$ref": "#/$defs/NoUnmodifiedLoopConditionOptions" }
|
|
10718
|
+
},
|
|
10719
|
+
"additionalProperties": false,
|
|
10720
|
+
"required": ["level"]
|
|
10721
|
+
},
|
|
10642
10722
|
"RuleWithNoUnnecessaryConditionsOptions": {
|
|
10643
10723
|
"type": "object",
|
|
10644
10724
|
"properties": {
|
|
@@ -11139,6 +11219,16 @@
|
|
|
11139
11219
|
"additionalProperties": false,
|
|
11140
11220
|
"required": ["level"]
|
|
11141
11221
|
},
|
|
11222
|
+
"RuleWithNoVueDeprecatedScopedSlotsOptions": {
|
|
11223
|
+
"type": "object",
|
|
11224
|
+
"properties": {
|
|
11225
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11226
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11227
|
+
"options": { "$ref": "#/$defs/NoVueDeprecatedScopedSlotsOptions" }
|
|
11228
|
+
},
|
|
11229
|
+
"additionalProperties": false,
|
|
11230
|
+
"required": ["level"]
|
|
11231
|
+
},
|
|
11142
11232
|
"RuleWithNoVueDuplicateKeysOptions": {
|
|
11143
11233
|
"type": "object",
|
|
11144
11234
|
"properties": {
|
|
@@ -11814,6 +11904,16 @@
|
|
|
11814
11904
|
"additionalProperties": false,
|
|
11815
11905
|
"required": ["level"]
|
|
11816
11906
|
},
|
|
11907
|
+
"RuleWithUseFlatMathMinMaxOptions": {
|
|
11908
|
+
"type": "object",
|
|
11909
|
+
"properties": {
|
|
11910
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
11911
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
11912
|
+
"options": { "$ref": "#/$defs/UseFlatMathMinMaxOptions" }
|
|
11913
|
+
},
|
|
11914
|
+
"additionalProperties": false,
|
|
11915
|
+
"required": ["level"]
|
|
11916
|
+
},
|
|
11817
11917
|
"RuleWithUseFocusableInteractiveOptions": {
|
|
11818
11918
|
"type": "object",
|
|
11819
11919
|
"properties": {
|
|
@@ -12177,6 +12277,16 @@
|
|
|
12177
12277
|
"additionalProperties": false,
|
|
12178
12278
|
"required": ["level"]
|
|
12179
12279
|
},
|
|
12280
|
+
"RuleWithUseModernMathApisOptions": {
|
|
12281
|
+
"type": "object",
|
|
12282
|
+
"properties": {
|
|
12283
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
12284
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12285
|
+
"options": { "$ref": "#/$defs/UseModernMathApisOptions" }
|
|
12286
|
+
},
|
|
12287
|
+
"additionalProperties": false,
|
|
12288
|
+
"required": ["level"]
|
|
12289
|
+
},
|
|
12180
12290
|
"RuleWithUseNamedCaptureGroupOptions": {
|
|
12181
12291
|
"type": "object",
|
|
12182
12292
|
"properties": {
|
|
@@ -12402,6 +12512,15 @@
|
|
|
12402
12512
|
"additionalProperties": false,
|
|
12403
12513
|
"required": ["level"]
|
|
12404
12514
|
},
|
|
12515
|
+
"RuleWithUseReactNamingConventionOptions": {
|
|
12516
|
+
"type": "object",
|
|
12517
|
+
"properties": {
|
|
12518
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
12519
|
+
"options": { "$ref": "#/$defs/UseReactNamingConventionOptions" }
|
|
12520
|
+
},
|
|
12521
|
+
"additionalProperties": false,
|
|
12522
|
+
"required": ["level"]
|
|
12523
|
+
},
|
|
12405
12524
|
"RuleWithUseReactNativePlatformComponentsOptions": {
|
|
12406
12525
|
"type": "object",
|
|
12407
12526
|
"properties": {
|
|
@@ -15767,6 +15886,16 @@
|
|
|
15767
15886
|
]
|
|
15768
15887
|
},
|
|
15769
15888
|
"UseFlatMapOptions": { "type": "object", "additionalProperties": false },
|
|
15889
|
+
"UseFlatMathMinMaxConfiguration": {
|
|
15890
|
+
"oneOf": [
|
|
15891
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
15892
|
+
{ "$ref": "#/$defs/RuleWithUseFlatMathMinMaxOptions" }
|
|
15893
|
+
]
|
|
15894
|
+
},
|
|
15895
|
+
"UseFlatMathMinMaxOptions": {
|
|
15896
|
+
"type": "object",
|
|
15897
|
+
"additionalProperties": false
|
|
15898
|
+
},
|
|
15770
15899
|
"UseFocusableInteractiveConfiguration": {
|
|
15771
15900
|
"oneOf": [
|
|
15772
15901
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -16195,6 +16324,16 @@
|
|
|
16195
16324
|
"type": "object",
|
|
16196
16325
|
"additionalProperties": false
|
|
16197
16326
|
},
|
|
16327
|
+
"UseModernMathApisConfiguration": {
|
|
16328
|
+
"oneOf": [
|
|
16329
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
16330
|
+
{ "$ref": "#/$defs/RuleWithUseModernMathApisOptions" }
|
|
16331
|
+
]
|
|
16332
|
+
},
|
|
16333
|
+
"UseModernMathApisOptions": {
|
|
16334
|
+
"type": "object",
|
|
16335
|
+
"additionalProperties": false
|
|
16336
|
+
},
|
|
16198
16337
|
"UseNamedCaptureGroupConfiguration": {
|
|
16199
16338
|
"oneOf": [
|
|
16200
16339
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -16510,6 +16649,16 @@
|
|
|
16510
16649
|
"type": "object",
|
|
16511
16650
|
"additionalProperties": false
|
|
16512
16651
|
},
|
|
16652
|
+
"UseReactNamingConventionConfiguration": {
|
|
16653
|
+
"oneOf": [
|
|
16654
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
16655
|
+
{ "$ref": "#/$defs/RuleWithUseReactNamingConventionOptions" }
|
|
16656
|
+
]
|
|
16657
|
+
},
|
|
16658
|
+
"UseReactNamingConventionOptions": {
|
|
16659
|
+
"type": "object",
|
|
16660
|
+
"additionalProperties": false
|
|
16661
|
+
},
|
|
16513
16662
|
"UseReactNativePlatformComponentsConfiguration": {
|
|
16514
16663
|
"oneOf": [
|
|
16515
16664
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.12",
|
|
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.5.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.5.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.5.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.5.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.5.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.5.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.5.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.5.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.5.12",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.5.12",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.5.12",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.5.12",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.5.12",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.5.12",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.5.12",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.5.12"
|
|
57
57
|
}
|
|
58
58
|
}
|