@biomejs/biome 2.4.15 → 2.4.16
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 +27 -1
- package/package.json +9 -9
|
@@ -1547,6 +1547,14 @@
|
|
|
1547
1547
|
}
|
|
1548
1548
|
]
|
|
1549
1549
|
},
|
|
1550
|
+
"DestructuringConfig": {
|
|
1551
|
+
"type": "object",
|
|
1552
|
+
"properties": {
|
|
1553
|
+
"array": { "type": ["boolean", "null"] },
|
|
1554
|
+
"object": { "type": ["boolean", "null"] }
|
|
1555
|
+
},
|
|
1556
|
+
"additionalProperties": false
|
|
1557
|
+
},
|
|
1550
1558
|
"Expand": {
|
|
1551
1559
|
"oneOf": [
|
|
1552
1560
|
{
|
|
@@ -7291,6 +7299,10 @@
|
|
|
7291
7299
|
"description": "What's the max width of a line. Defaults to 80.",
|
|
7292
7300
|
"anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
|
|
7293
7301
|
},
|
|
7302
|
+
"trailingCommas": {
|
|
7303
|
+
"description": "Print trailing commas wherever possible in multi-line comma-separated syntactic structures.",
|
|
7304
|
+
"anyOf": [{ "$ref": "#/$defs/JsTrailingCommas" }, { "type": "null" }]
|
|
7305
|
+
},
|
|
7294
7306
|
"trailingNewline": {
|
|
7295
7307
|
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
7296
7308
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
@@ -13020,7 +13032,7 @@
|
|
|
13020
13032
|
]
|
|
13021
13033
|
},
|
|
13022
13034
|
"useConsistentObjectDefinitions": {
|
|
13023
|
-
"description": "Require the consistent declaration of object literals
|
|
13035
|
+
"description": "Require the consistent declaration of object literals.\nSee https://biomejs.dev/linter/rules/use-consistent-object-definitions",
|
|
13024
13036
|
"anyOf": [
|
|
13025
13037
|
{ "$ref": "#/$defs/UseConsistentObjectDefinitionsConfiguration" },
|
|
13026
13038
|
{ "type": "null" }
|
|
@@ -14547,6 +14559,20 @@
|
|
|
14547
14559
|
},
|
|
14548
14560
|
"UseDestructuringOptions": {
|
|
14549
14561
|
"type": "object",
|
|
14562
|
+
"properties": {
|
|
14563
|
+
"assignmentExpression": {
|
|
14564
|
+
"anyOf": [
|
|
14565
|
+
{ "$ref": "#/$defs/DestructuringConfig" },
|
|
14566
|
+
{ "type": "null" }
|
|
14567
|
+
]
|
|
14568
|
+
},
|
|
14569
|
+
"variableDeclarator": {
|
|
14570
|
+
"anyOf": [
|
|
14571
|
+
{ "$ref": "#/$defs/DestructuringConfig" },
|
|
14572
|
+
{ "type": "null" }
|
|
14573
|
+
]
|
|
14574
|
+
}
|
|
14575
|
+
},
|
|
14550
14576
|
"additionalProperties": false
|
|
14551
14577
|
},
|
|
14552
14578
|
"UseDisposablesConfiguration": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.16",
|
|
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.16",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.4.16",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.4.16",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.4.16",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.4.16",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.4.16",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.4.16",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.4.16"
|
|
57
57
|
}
|
|
58
58
|
}
|