@biomejs/biome 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/biome +0 -0
- package/configuration_schema.json +43 -0
- package/package.json +10 -10
package/bin/biome
CHANGED
|
File without changes
|
|
@@ -2995,6 +2995,13 @@
|
|
|
2995
2995
|
{ "type": "null" }
|
|
2996
2996
|
]
|
|
2997
2997
|
},
|
|
2998
|
+
"useReadonlyClassProperties": {
|
|
2999
|
+
"description": "Enforce marking members as readonly if they are never modified outside the constructor.",
|
|
3000
|
+
"anyOf": [
|
|
3001
|
+
{ "$ref": "#/definitions/ReadonlyClassPropertiesConfiguration" },
|
|
3002
|
+
{ "type": "null" }
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
2998
3005
|
"useSingleJsDocAsterisk": {
|
|
2999
3006
|
"description": "Enforce JSDoc comment lines to start with a single asterisk, except for the first one.",
|
|
3000
3007
|
"anyOf": [
|
|
@@ -3330,6 +3337,23 @@
|
|
|
3330
3337
|
},
|
|
3331
3338
|
"QuoteProperties": { "type": "string", "enum": ["asNeeded", "preserve"] },
|
|
3332
3339
|
"QuoteStyle": { "type": "string", "enum": ["double", "single"] },
|
|
3340
|
+
"ReadonlyClassPropertiesConfiguration": {
|
|
3341
|
+
"anyOf": [
|
|
3342
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3343
|
+
{ "$ref": "#/definitions/RuleWithReadonlyClassPropertiesOptions" }
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3346
|
+
"ReadonlyClassPropertiesOptions": {
|
|
3347
|
+
"description": "Rule's options",
|
|
3348
|
+
"type": "object",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"checkAllProperties": {
|
|
3351
|
+
"description": "When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.",
|
|
3352
|
+
"type": "boolean"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
"additionalProperties": false
|
|
3356
|
+
},
|
|
3333
3357
|
"Regex": { "type": "string" },
|
|
3334
3358
|
"RestrictedGlobalsConfiguration": {
|
|
3335
3359
|
"anyOf": [
|
|
@@ -3880,6 +3904,25 @@
|
|
|
3880
3904
|
},
|
|
3881
3905
|
"additionalProperties": false
|
|
3882
3906
|
},
|
|
3907
|
+
"RuleWithReadonlyClassPropertiesOptions": {
|
|
3908
|
+
"type": "object",
|
|
3909
|
+
"required": ["level"],
|
|
3910
|
+
"properties": {
|
|
3911
|
+
"fix": {
|
|
3912
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
3913
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
3914
|
+
},
|
|
3915
|
+
"level": {
|
|
3916
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
3917
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
3918
|
+
},
|
|
3919
|
+
"options": {
|
|
3920
|
+
"description": "Rule's options",
|
|
3921
|
+
"allOf": [{ "$ref": "#/definitions/ReadonlyClassPropertiesOptions" }]
|
|
3922
|
+
}
|
|
3923
|
+
},
|
|
3924
|
+
"additionalProperties": false
|
|
3925
|
+
},
|
|
3883
3926
|
"RuleWithRestrictedGlobalsOptions": {
|
|
3884
3927
|
"type": "object",
|
|
3885
3928
|
"required": ["level"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
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": "
|
|
50
|
-
"@biomejs/cli-win32-arm64": "
|
|
51
|
-
"@biomejs/cli-darwin-x64": "
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "
|
|
53
|
-
"@biomejs/cli-linux-x64": "
|
|
54
|
-
"@biomejs/cli-linux-arm64": "
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "
|
|
49
|
+
"@biomejs/cli-win32-x64": "workspace:*",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "workspace:*",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "workspace:*",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "workspace:*",
|
|
53
|
+
"@biomejs/cli-linux-x64": "workspace:*",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "workspace:*",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "workspace:*",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "workspace:*"
|
|
57
57
|
}
|
|
58
|
-
}
|
|
58
|
+
}
|