@biomejs/biome 1.9.3-nightly.75b4387 → 1.9.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/configuration_schema.json +52 -36
- package/package.json +9 -9
|
@@ -1051,7 +1051,7 @@
|
|
|
1051
1051
|
"useExhaustiveDependencies": {
|
|
1052
1052
|
"description": "Enforce all dependencies are correctly specified in a React hook.",
|
|
1053
1053
|
"anyOf": [
|
|
1054
|
-
{ "$ref": "#/definitions/
|
|
1054
|
+
{ "$ref": "#/definitions/UseExhaustiveDependenciesConfiguration" },
|
|
1055
1055
|
{ "type": "null" }
|
|
1056
1056
|
]
|
|
1057
1057
|
},
|
|
@@ -1485,25 +1485,6 @@
|
|
|
1485
1485
|
},
|
|
1486
1486
|
"additionalProperties": false
|
|
1487
1487
|
},
|
|
1488
|
-
"HooksConfiguration": {
|
|
1489
|
-
"anyOf": [
|
|
1490
|
-
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
1491
|
-
{ "$ref": "#/definitions/RuleWithHooksOptions" }
|
|
1492
|
-
]
|
|
1493
|
-
},
|
|
1494
|
-
"HooksOptions": {
|
|
1495
|
-
"description": "Options for the rule `useExhaustiveDependencies`",
|
|
1496
|
-
"type": "object",
|
|
1497
|
-
"required": ["hooks"],
|
|
1498
|
-
"properties": {
|
|
1499
|
-
"hooks": {
|
|
1500
|
-
"description": "List of hooks of which the dependencies should be validated.",
|
|
1501
|
-
"type": "array",
|
|
1502
|
-
"items": { "$ref": "#/definitions/Hook" }
|
|
1503
|
-
}
|
|
1504
|
-
},
|
|
1505
|
-
"additionalProperties": false
|
|
1506
|
-
},
|
|
1507
1488
|
"IndentStyle": {
|
|
1508
1489
|
"oneOf": [
|
|
1509
1490
|
{ "description": "Tab", "type": "string", "enum": ["tab"] },
|
|
@@ -2029,20 +2010,22 @@
|
|
|
2029
2010
|
},
|
|
2030
2011
|
"NoLabelWithoutControlOptions": {
|
|
2031
2012
|
"type": "object",
|
|
2032
|
-
"required": ["inputComponents", "labelAttributes", "labelComponents"],
|
|
2033
2013
|
"properties": {
|
|
2034
2014
|
"inputComponents": {
|
|
2035
2015
|
"description": "Array of component names that should be considered the same as an `input` element.",
|
|
2016
|
+
"default": [],
|
|
2036
2017
|
"type": "array",
|
|
2037
2018
|
"items": { "type": "string" }
|
|
2038
2019
|
},
|
|
2039
2020
|
"labelAttributes": {
|
|
2040
2021
|
"description": "Array of attributes that should be treated as the `label` accessible text content.",
|
|
2022
|
+
"default": [],
|
|
2041
2023
|
"type": "array",
|
|
2042
2024
|
"items": { "type": "string" }
|
|
2043
2025
|
},
|
|
2044
2026
|
"labelComponents": {
|
|
2045
2027
|
"description": "Array of component names that should be considered the same as a `label` element.",
|
|
2028
|
+
"default": [],
|
|
2046
2029
|
"type": "array",
|
|
2047
2030
|
"items": { "type": "string" }
|
|
2048
2031
|
}
|
|
@@ -2083,6 +2066,13 @@
|
|
|
2083
2066
|
{ "type": "null" }
|
|
2084
2067
|
]
|
|
2085
2068
|
},
|
|
2069
|
+
"noDescendingSpecificity": {
|
|
2070
|
+
"description": "Disallow a lower specificity selector from coming after a higher specificity selector.",
|
|
2071
|
+
"anyOf": [
|
|
2072
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2073
|
+
{ "type": "null" }
|
|
2074
|
+
]
|
|
2075
|
+
},
|
|
2086
2076
|
"noDuplicateCustomProperties": {
|
|
2087
2077
|
"description": "Disallow duplicate custom properties within declaration blocks.",
|
|
2088
2078
|
"anyOf": [
|
|
@@ -2706,21 +2696,6 @@
|
|
|
2706
2696
|
},
|
|
2707
2697
|
"additionalProperties": false
|
|
2708
2698
|
},
|
|
2709
|
-
"RuleWithHooksOptions": {
|
|
2710
|
-
"type": "object",
|
|
2711
|
-
"required": ["level"],
|
|
2712
|
-
"properties": {
|
|
2713
|
-
"level": {
|
|
2714
|
-
"description": "The severity of the emitted diagnostics by the rule",
|
|
2715
|
-
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
2716
|
-
},
|
|
2717
|
-
"options": {
|
|
2718
|
-
"description": "Rule's options",
|
|
2719
|
-
"allOf": [{ "$ref": "#/definitions/HooksOptions" }]
|
|
2720
|
-
}
|
|
2721
|
-
},
|
|
2722
|
-
"additionalProperties": false
|
|
2723
|
-
},
|
|
2724
2699
|
"RuleWithNamingConventionOptions": {
|
|
2725
2700
|
"type": "object",
|
|
2726
2701
|
"required": ["level"],
|
|
@@ -2870,6 +2845,23 @@
|
|
|
2870
2845
|
},
|
|
2871
2846
|
"additionalProperties": false
|
|
2872
2847
|
},
|
|
2848
|
+
"RuleWithUseExhaustiveDependenciesOptions": {
|
|
2849
|
+
"type": "object",
|
|
2850
|
+
"required": ["level"],
|
|
2851
|
+
"properties": {
|
|
2852
|
+
"level": {
|
|
2853
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
2854
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
2855
|
+
},
|
|
2856
|
+
"options": {
|
|
2857
|
+
"description": "Rule's options",
|
|
2858
|
+
"allOf": [
|
|
2859
|
+
{ "$ref": "#/definitions/UseExhaustiveDependenciesOptions" }
|
|
2860
|
+
]
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
"additionalProperties": false
|
|
2864
|
+
},
|
|
2873
2865
|
"RuleWithUseImportExtensionsOptions": {
|
|
2874
2866
|
"type": "object",
|
|
2875
2867
|
"required": ["level"],
|
|
@@ -4001,6 +3993,30 @@
|
|
|
4001
3993
|
},
|
|
4002
3994
|
"additionalProperties": false
|
|
4003
3995
|
},
|
|
3996
|
+
"UseExhaustiveDependenciesConfiguration": {
|
|
3997
|
+
"anyOf": [
|
|
3998
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3999
|
+
{ "$ref": "#/definitions/RuleWithUseExhaustiveDependenciesOptions" }
|
|
4000
|
+
]
|
|
4001
|
+
},
|
|
4002
|
+
"UseExhaustiveDependenciesOptions": {
|
|
4003
|
+
"description": "Options for the rule `useExhaustiveDependencies`",
|
|
4004
|
+
"type": "object",
|
|
4005
|
+
"properties": {
|
|
4006
|
+
"hooks": {
|
|
4007
|
+
"description": "List of hooks of which the dependencies should be validated.",
|
|
4008
|
+
"default": [],
|
|
4009
|
+
"type": "array",
|
|
4010
|
+
"items": { "$ref": "#/definitions/Hook" }
|
|
4011
|
+
},
|
|
4012
|
+
"reportUnnecessaryDependencies": {
|
|
4013
|
+
"description": "Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to true.",
|
|
4014
|
+
"default": true,
|
|
4015
|
+
"type": "boolean"
|
|
4016
|
+
}
|
|
4017
|
+
},
|
|
4018
|
+
"additionalProperties": false
|
|
4019
|
+
},
|
|
4004
4020
|
"UseImportExtensionsConfiguration": {
|
|
4005
4021
|
"anyOf": [
|
|
4006
4022
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "1.9.3
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"provenance": true
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@biomejs/cli-win32-x64": "1.9.3
|
|
54
|
-
"@biomejs/cli-win32-arm64": "1.9.3
|
|
55
|
-
"@biomejs/cli-darwin-x64": "1.9.3
|
|
56
|
-
"@biomejs/cli-darwin-arm64": "1.9.3
|
|
57
|
-
"@biomejs/cli-linux-x64": "1.9.3
|
|
58
|
-
"@biomejs/cli-linux-arm64": "1.9.3
|
|
59
|
-
"@biomejs/cli-linux-x64-musl": "1.9.3
|
|
60
|
-
"@biomejs/cli-linux-arm64-musl": "1.9.3
|
|
53
|
+
"@biomejs/cli-win32-x64": "1.9.3",
|
|
54
|
+
"@biomejs/cli-win32-arm64": "1.9.3",
|
|
55
|
+
"@biomejs/cli-darwin-x64": "1.9.3",
|
|
56
|
+
"@biomejs/cli-darwin-arm64": "1.9.3",
|
|
57
|
+
"@biomejs/cli-linux-x64": "1.9.3",
|
|
58
|
+
"@biomejs/cli-linux-arm64": "1.9.3",
|
|
59
|
+
"@biomejs/cli-linux-x64-musl": "1.9.3",
|
|
60
|
+
"@biomejs/cli-linux-arm64-musl": "1.9.3"
|
|
61
61
|
}
|
|
62
62
|
}
|