@biomejs/biome 2.4.7 → 2.4.8
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 +71 -0
- package/package.json +9 -9
|
@@ -3173,6 +3173,40 @@
|
|
|
3173
3173
|
},
|
|
3174
3174
|
"additionalProperties": false
|
|
3175
3175
|
},
|
|
3176
|
+
"NoDrizzleDeleteWithoutWhereConfiguration": {
|
|
3177
|
+
"oneOf": [
|
|
3178
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3179
|
+
{ "$ref": "#/$defs/RuleWithNoDrizzleDeleteWithoutWhereOptions" }
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3182
|
+
"NoDrizzleDeleteWithoutWhereOptions": {
|
|
3183
|
+
"type": "object",
|
|
3184
|
+
"properties": {
|
|
3185
|
+
"drizzleObjectName": {
|
|
3186
|
+
"description": "List of variable names to consider as Drizzle ORM instances.",
|
|
3187
|
+
"type": ["array", "null"],
|
|
3188
|
+
"items": { "type": "string" }
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
"additionalProperties": false
|
|
3192
|
+
},
|
|
3193
|
+
"NoDrizzleUpdateWithoutWhereConfiguration": {
|
|
3194
|
+
"oneOf": [
|
|
3195
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3196
|
+
{ "$ref": "#/$defs/RuleWithNoDrizzleUpdateWithoutWhereOptions" }
|
|
3197
|
+
]
|
|
3198
|
+
},
|
|
3199
|
+
"NoDrizzleUpdateWithoutWhereOptions": {
|
|
3200
|
+
"type": "object",
|
|
3201
|
+
"properties": {
|
|
3202
|
+
"drizzleObjectName": {
|
|
3203
|
+
"description": "List of variable names to consider as Drizzle ORM instances.",
|
|
3204
|
+
"type": ["array", "null"],
|
|
3205
|
+
"items": { "type": "string" }
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"additionalProperties": false
|
|
3209
|
+
},
|
|
3176
3210
|
"NoDuplicateArgumentNamesConfiguration": {
|
|
3177
3211
|
"oneOf": [
|
|
3178
3212
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5838,6 +5872,20 @@
|
|
|
5838
5872
|
{ "type": "null" }
|
|
5839
5873
|
]
|
|
5840
5874
|
},
|
|
5875
|
+
"noDrizzleDeleteWithoutWhere": {
|
|
5876
|
+
"description": "Require .where() to be called when using .delete() with Drizzle ORM.\nSee https://biomejs.dev/linter/rules/no-drizzle-delete-without-where",
|
|
5877
|
+
"anyOf": [
|
|
5878
|
+
{ "$ref": "#/$defs/NoDrizzleDeleteWithoutWhereConfiguration" },
|
|
5879
|
+
{ "type": "null" }
|
|
5880
|
+
]
|
|
5881
|
+
},
|
|
5882
|
+
"noDrizzleUpdateWithoutWhere": {
|
|
5883
|
+
"description": "Require .where() to be called when using .update() with Drizzle ORM.\nSee https://biomejs.dev/linter/rules/no-drizzle-update-without-where",
|
|
5884
|
+
"anyOf": [
|
|
5885
|
+
{ "$ref": "#/$defs/NoDrizzleUpdateWithoutWhereConfiguration" },
|
|
5886
|
+
{ "type": "null" }
|
|
5887
|
+
]
|
|
5888
|
+
},
|
|
5841
5889
|
"noDuplicateArgumentNames": {
|
|
5842
5890
|
"description": "Require all argument names for fields & directives to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-argument-names",
|
|
5843
5891
|
"anyOf": [
|
|
@@ -6983,6 +7031,11 @@
|
|
|
6983
7031
|
"RuleDomain": {
|
|
6984
7032
|
"description": "Rule domains",
|
|
6985
7033
|
"oneOf": [
|
|
7034
|
+
{
|
|
7035
|
+
"description": "Drizzle ORM rules",
|
|
7036
|
+
"type": "string",
|
|
7037
|
+
"const": "drizzle"
|
|
7038
|
+
},
|
|
6986
7039
|
{
|
|
6987
7040
|
"description": "React library rules",
|
|
6988
7041
|
"type": "string",
|
|
@@ -7587,6 +7640,24 @@
|
|
|
7587
7640
|
"additionalProperties": false,
|
|
7588
7641
|
"required": ["level"]
|
|
7589
7642
|
},
|
|
7643
|
+
"RuleWithNoDrizzleDeleteWithoutWhereOptions": {
|
|
7644
|
+
"type": "object",
|
|
7645
|
+
"properties": {
|
|
7646
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7647
|
+
"options": { "$ref": "#/$defs/NoDrizzleDeleteWithoutWhereOptions" }
|
|
7648
|
+
},
|
|
7649
|
+
"additionalProperties": false,
|
|
7650
|
+
"required": ["level"]
|
|
7651
|
+
},
|
|
7652
|
+
"RuleWithNoDrizzleUpdateWithoutWhereOptions": {
|
|
7653
|
+
"type": "object",
|
|
7654
|
+
"properties": {
|
|
7655
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7656
|
+
"options": { "$ref": "#/$defs/NoDrizzleUpdateWithoutWhereOptions" }
|
|
7657
|
+
},
|
|
7658
|
+
"additionalProperties": false,
|
|
7659
|
+
"required": ["level"]
|
|
7660
|
+
},
|
|
7590
7661
|
"RuleWithNoDuplicateArgumentNamesOptions": {
|
|
7591
7662
|
"type": "object",
|
|
7592
7663
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.8",
|
|
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.8",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.4.8",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.4.8",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.4.8",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.4.8",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.4.8",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.4.8",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.4.8"
|
|
57
57
|
}
|
|
58
58
|
}
|