@biomejs/biome 2.4.6 → 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/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.ja.md +1 -1
- package/README.kr.md +1 -1
- package/README.md +1 -1
- package/README.pl.md +1 -1
- package/README.pt-BR.md +1 -1
- package/README.ru.md +1 -1
- package/README.uk.md +1 -1
- package/README.zh-CN.md +1 -1
- package/README.zh-TW.md +1 -1
- package/configuration_schema.json +246 -0
- package/package.json +9 -9
package/README.es.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome es un [formatter rápido](https://github.com/biomejs/biome/tree/main/benchmark#formatting)** para _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ y _GraphQL_ que alcanza un **[97% de compatibilidad con _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome es un [linter de alto rendimiento](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, y _GraphQL_ que incluye **[más de
|
|
41
|
+
**Biome es un [linter de alto rendimiento](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, y _GraphQL_ que incluye **[más de 450 reglas](https://biomejs.dev/linter/javascript/rules/)** de ESLint, typescript-eslint, y [otras fuentes](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
Produce **diagnósticos detallados y contextualizados** que ayudan a mejorar tu código y convertirte en un mejor programador!
|
|
43
43
|
|
|
44
44
|
**Biome** fue diseñado desde cero para usarse [interactivamente dentro de un editor](https://biomejs.dev/guides/editors/first-party-extensions/).
|
package/README.fr.md
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
**Biome est un [outil de formatage rapide](./benchmark#formatting)** pour _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ et _GraphQL_ qui atteint **[97 % de compatibilité avec _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
42
42
|
|
|
43
|
-
**Biome est un [outil de linting performant](https://github.com/biomejs/biome/tree/main/benchmark#linting)** pour _JavaScript_, _TypeScript_, _JSX_, _CSS_ et _GraphQL_ qui comprend **[plus de
|
|
43
|
+
**Biome est un [outil de linting performant](https://github.com/biomejs/biome/tree/main/benchmark#linting)** pour _JavaScript_, _TypeScript_, _JSX_, _CSS_ et _GraphQL_ qui comprend **[plus de 450 règles](https://biomejs.dev/fr/linter/javascript/rules/)** d’ESLint, de typescript-eslint, et [d’autres sources](https://github.com/biomejs/biome/discussions/3).
|
|
44
44
|
Il **fournit des diagnostics détaillés et contextualisés** qui vous aident à améliorer votre code et à devenir un meilleur programmeur !
|
|
45
45
|
|
|
46
46
|
**Biome** est conçu dès le départ pour être utilisé [dans un éditeur de manière interactive](https://biomejs.dev/fr/guides/editors/first-party-extensions/).
|
package/README.ja.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome は _JavaScript_, _TypeScript_, _JSX_ そして _JSON_ 向けの[高速なFormatter](./benchmark#formatting)**であり、**[_Prettier_ との互換性は97%](https://console.algora.io/challenges/prettier)** を達成しています。
|
|
40
40
|
|
|
41
|
-
**Biome は _JavaScript_, _TypeScript_, _JSX_ のための[高性能なLinter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** であり、ESLint, typescript-eslint, [その他のソース](https://github.com/biomejs/biome/discussions/3)から **[
|
|
41
|
+
**Biome は _JavaScript_, _TypeScript_, _JSX_ のための[高性能なLinter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** であり、ESLint, typescript-eslint, [その他のソース](https://github.com/biomejs/biome/discussions/3)から **[450以上のルール](https://biomejs.dev/ja/linter/javascript/rules/)**を提供しています。Biome は**詳細で文脈に沿った結果を出力**するため、コードを改善し、より良いプログラマになるための手助けをします!
|
|
42
42
|
|
|
43
43
|
**Biome** は最初から[**エディタ内で対話的に**](https://biomejs.dev/ja/guides/editors/first-party-extensions/)使用できるように設計されています。
|
|
44
44
|
あなたがコードを書いているときに、形の崩れたコードを format と lint することができます。
|
package/README.kr.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome**은 _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ 및 *GraphQL*을 위한 **[고속 포매터](https://github.com/biomejs/biome/tree/main/benchmark#formatting)로**, **[*Prettier*와 97%의 호환성](https://console.algora.io/challenges/prettier)을** 자랑합니다.
|
|
40
40
|
|
|
41
|
-
**Biome**은 _JavaScript_, _TypeScript_, _JSX_, _CSS_ 및 *GraphQL*을 위한 **[고성능 린터](https://github.com/biomejs/biome/tree/main/benchmark#linting)로**, ESLint, typescript-eslint 등 [다양한 소스](https://github.com/biomejs/biome/discussions/3)에서 가져온 **[
|
|
41
|
+
**Biome**은 _JavaScript_, _TypeScript_, _JSX_, _CSS_ 및 *GraphQL*을 위한 **[고성능 린터](https://github.com/biomejs/biome/tree/main/benchmark#linting)로**, ESLint, typescript-eslint 등 [다양한 소스](https://github.com/biomejs/biome/discussions/3)에서 가져온 **[450개 이상의 규칙](https://biomejs.dev/linter/javascript/rules/)을** 제공합니다. **맥락을 고려한 상세한 진단 정보**를 제공하여 코드 품질 향상과 개발 실력 향상에 도움을 줍니다!
|
|
42
42
|
|
|
43
43
|
**Biome**은 처음부터 [에디터와 상호작용](https://biomejs.dev/guides/editors/first-party-extensions/)하도록 설계되었습니다. 코드를 작성하는 동안에도 포매팅과 린팅을 수행할 수 있습니다.
|
|
44
44
|
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome is a [fast formatter](./benchmark#formatting)** for _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ and _GraphQL_ that scores **[97% compatibility with _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome is a [performant linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** for _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, and _GraphQL_ that features **[more than
|
|
41
|
+
**Biome is a [performant linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** for _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, and _GraphQL_ that features **[more than 450 rules](https://biomejs.dev/linter/javascript/rules/)** from ESLint, typescript-eslint, and [other sources](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
It **outputs detailed and contextualized diagnostics** that help you to improve your code and become a better programmer!
|
|
43
43
|
|
|
44
44
|
**Biome** is designed from the start to be used [interactively within an editor](https://biomejs.dev/guides/editors/first-party-extensions/).
|
package/README.pl.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome to [szybki formater](./benchmark#formatting)** dla _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ i _GraphQL_, który osiąga **[97% kompatybilności z _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome to [wydajny linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** dla _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ i _GraphQL_, który zawiera **[ponad
|
|
41
|
+
**Biome to [wydajny linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** dla _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ i _GraphQL_, który zawiera **[ponad 450 reguł](https://biomejs.dev/linter/javascript/rules/)** z ESLint, typescript-eslint i [innych źródeł](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
**Wyprowadza szczegółowe i skontekstualizowane diagnostyki**, które pomagają Ci ulepszyć kod i zostać lepszym programistą!
|
|
43
43
|
|
|
44
44
|
**Biome** jest zaprojektowany od początku do używania [interaktywnie w edytorze](https://biomejs.dev/guides/editors/first-party-extensions/).
|
package/README.pt-BR.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome é um [formatador rápido](./benchmark#formatting)** para _JavaScript_, _TypeScript_, _JSX_, e _JSON_ que atinge **[97% de compatibilidade com o _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome é um [linter eficiente](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, e _JSX_ que possui **[mais de
|
|
41
|
+
**Biome é um [linter eficiente](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, e _JSX_ que possui **[mais de 450 regras](https://biomejs.dev/pt-br/linter/javascript/rules/)** do ESLint, typescript-eslint, e de [outras fontes](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
Ele **fornece diagnósticos detalhados e contextualizados** que ajudam você a melhorar seu código e se tornar um programador melhor!
|
|
43
43
|
|
|
44
44
|
**Biome** é projetado desde o início para ser usado [interativamente dentro de um editor](https://biomejs.dev/guides/editors/first-party-extensions/).
|
package/README.ru.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome - это [быстрый форматер](./benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ и _GraphQL_, обеспечивающий **[совместимость с _Prettier_ на 97%](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome - это [высокопроизводительный линтер](https://github.com/biomejs/biome/tree/main/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ и _GraphQL_, содержащий **[более
|
|
41
|
+
**Biome - это [высокопроизводительный линтер](https://github.com/biomejs/biome/tree/main/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ и _GraphQL_, содержащий **[более 450 правил](https://biomejs.dev/ru/linter/javascript/rules/)** из ESLint, typescript-eslint, и [других источников](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
Он **выводит подробную диагностику с контекстной информацией**, которая помогает вам улучшить ваш код и стать более лучшим программистом!
|
|
43
43
|
|
|
44
44
|
**Biome** изначально разработан для [интерактивной работы в редакторе](https://biomejs.dev/guides/editors/first-party-extensions/).
|
package/README.uk.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome - це [швидкий форматувальник](./benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ та _GraphQL_, який досягає **[97% сумісності з _Prettier_](https://console.algora.io/challenges/prettier)**.
|
|
40
40
|
|
|
41
|
-
**Biome - це [високопродуктивний лінтер](https://github.com/biomejs/biome/tree/main/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ та _GraphQL_, який містить **[понад
|
|
41
|
+
**Biome - це [високопродуктивний лінтер](https://github.com/biomejs/biome/tree/main/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ та _GraphQL_, який містить **[понад 450 правил](https://biomejs.dev/uk/linter/javascript/rules/)** з ESLint, typescript-eslint та [інших джерел](https://github.com/biomejs/biome/discussions/3).
|
|
42
42
|
Він **виводить детальні та контекстуалізовані діагностичні дані**, які допомагають вам покращити ваш код та стати кращим програмістом!
|
|
43
43
|
|
|
44
44
|
**Biome** з самого початку розроблений для [інтерактивного використання в редакторі](https://biomejs.dev/guides/editors/first-party-extensions/). Він може форматувати та лінтити некоректний код під час його написання.
|
package/README.zh-CN.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome 是一个[快速的格式化工具](./benchmark#formatting)**,适用于 _JavaScript_、_TypeScript_、_JSX_、_JSON_ 等,与 _Prettier_ 的兼容性达到了 **[97%](https://console.algora.io/challenges/prettier)**。
|
|
40
40
|
|
|
41
|
-
**Biome 是一个[高性能的 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[
|
|
41
|
+
**Biome 是一个[高性能的 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[450 余项规则](https://biomejs.dev/zh-cn/linter/javascript/rules/)**。它**输出详细且有上下文诊断信息**,能帮助你优化代码,成为一名更好的程序员!
|
|
42
42
|
|
|
43
43
|
**Biome** 从一开始就设计为[在编辑器中交互式使用](https://biomejs.dev/zh-cn/guides/editors/first-party-extensions/)。它可以在你编写代码时格式化并检查出不规范的代码。
|
|
44
44
|
|
package/README.zh-TW.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
**Biome 是一個 [快速格式化工具](./benchmark#formatting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_JSON_、_CSS_ 和 _GraphQL_,其 **與 _Prettier_ 的相容性達到 [97%](https://console.algora.io/challenges/prettier)**。
|
|
40
40
|
|
|
41
|
-
**Biome 是一個 [高效能的語法檢查工具](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_CSS_ 和 _GraphQL_,擁有來自 ESLint、typescript-eslint 和 [其他來源](https://github.com/biomejs/biome/discussions/3)的 **[超過
|
|
41
|
+
**Biome 是一個 [高效能的語法檢查工具](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_CSS_ 和 _GraphQL_,擁有來自 ESLint、typescript-eslint 和 [其他來源](https://github.com/biomejs/biome/discussions/3)的 **[超過 450 條規則](https://biomejs.dev/linter/javascript/rules)**。
|
|
42
42
|
它 **輸出詳細且具上下文的診斷資訊**,幫助你改進程式碼並成為更好的程式設計師!
|
|
43
43
|
|
|
44
44
|
**Biome** 從一開始就設計為可在 [編輯器中互動使用](https://biomejs.dev/guides/editors/first-party-extensions/)。
|
|
@@ -390,6 +390,37 @@
|
|
|
390
390
|
"additionalProperties": false
|
|
391
391
|
},
|
|
392
392
|
"AttributePosition": { "type": "string", "enum": ["auto", "multiline"] },
|
|
393
|
+
"AvailabilityNamed": {
|
|
394
|
+
"description": "Named Baseline availability tiers.",
|
|
395
|
+
"oneOf": [
|
|
396
|
+
{
|
|
397
|
+
"description": "Warn on anything not Baseline widely available (default).",
|
|
398
|
+
"type": "string",
|
|
399
|
+
"const": "widely"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"description": "Warn on anything not at least Baseline newly available.",
|
|
403
|
+
"type": "string",
|
|
404
|
+
"const": "newly"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
"AvailabilityTarget": {
|
|
409
|
+
"description": "The Baseline availability level to target.\n\n- `\"widely\"` – warn on anything not Baseline widely available.\n- `\"newly\"` – warn on anything not at least Baseline newly available.\n- A year (e.g. `2023`) – warn on anything whose `baseline_low_date` is after\n that year (i.e. became newly available after that year).",
|
|
410
|
+
"anyOf": [
|
|
411
|
+
{
|
|
412
|
+
"description": "A named tier: `\"widely\"` or `\"newly\"`.",
|
|
413
|
+
"$ref": "#/$defs/AvailabilityNamed"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"description": "A year cutoff (e.g. `2023`).",
|
|
417
|
+
"type": "integer",
|
|
418
|
+
"format": "uint16",
|
|
419
|
+
"maximum": 65535,
|
|
420
|
+
"minimum": 0
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
393
424
|
"Bool": { "type": "boolean" },
|
|
394
425
|
"BracketSameLine": {
|
|
395
426
|
"description": "Put the `>` of a multi-line HTML or JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).",
|
|
@@ -3142,6 +3173,40 @@
|
|
|
3142
3173
|
},
|
|
3143
3174
|
"additionalProperties": false
|
|
3144
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
|
+
},
|
|
3145
3210
|
"NoDuplicateArgumentNamesConfiguration": {
|
|
3146
3211
|
"oneOf": [
|
|
3147
3212
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -3441,6 +3506,16 @@
|
|
|
3441
3506
|
"type": "object",
|
|
3442
3507
|
"additionalProperties": false
|
|
3443
3508
|
},
|
|
3509
|
+
"NoEmptyObjectKeysConfiguration": {
|
|
3510
|
+
"oneOf": [
|
|
3511
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
3512
|
+
{ "$ref": "#/$defs/RuleWithNoEmptyObjectKeysOptions" }
|
|
3513
|
+
]
|
|
3514
|
+
},
|
|
3515
|
+
"NoEmptyObjectKeysOptions": {
|
|
3516
|
+
"type": "object",
|
|
3517
|
+
"additionalProperties": false
|
|
3518
|
+
},
|
|
3444
3519
|
"NoEmptyPatternConfiguration": {
|
|
3445
3520
|
"oneOf": [
|
|
3446
3521
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4982,6 +5057,16 @@
|
|
|
4982
5057
|
"type": "object",
|
|
4983
5058
|
"additionalProperties": false
|
|
4984
5059
|
},
|
|
5060
|
+
"NoTopLevelLiteralsConfiguration": {
|
|
5061
|
+
"oneOf": [
|
|
5062
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
5063
|
+
{ "$ref": "#/$defs/RuleWithNoTopLevelLiteralsOptions" }
|
|
5064
|
+
]
|
|
5065
|
+
},
|
|
5066
|
+
"NoTopLevelLiteralsOptions": {
|
|
5067
|
+
"type": "object",
|
|
5068
|
+
"additionalProperties": false
|
|
5069
|
+
},
|
|
4985
5070
|
"NoTsIgnoreConfiguration": {
|
|
4986
5071
|
"oneOf": [
|
|
4987
5072
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5787,6 +5872,20 @@
|
|
|
5787
5872
|
{ "type": "null" }
|
|
5788
5873
|
]
|
|
5789
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
|
+
},
|
|
5790
5889
|
"noDuplicateArgumentNames": {
|
|
5791
5890
|
"description": "Require all argument names for fields & directives to be unique.\nSee https://biomejs.dev/linter/rules/no-duplicate-argument-names",
|
|
5792
5891
|
"anyOf": [
|
|
@@ -5850,6 +5949,13 @@
|
|
|
5850
5949
|
{ "type": "null" }
|
|
5851
5950
|
]
|
|
5852
5951
|
},
|
|
5952
|
+
"noEmptyObjectKeys": {
|
|
5953
|
+
"description": "Disallow empty keys in JSON objects.\nSee https://biomejs.dev/linter/rules/no-empty-object-keys",
|
|
5954
|
+
"anyOf": [
|
|
5955
|
+
{ "$ref": "#/$defs/NoEmptyObjectKeysConfiguration" },
|
|
5956
|
+
{ "type": "null" }
|
|
5957
|
+
]
|
|
5958
|
+
},
|
|
5853
5959
|
"noEqualsToNull": {
|
|
5854
5960
|
"description": "Require the use of === or !== for comparison with null.\nSee https://biomejs.dev/linter/rules/no-equals-to-null",
|
|
5855
5961
|
"anyOf": [
|
|
@@ -6081,6 +6187,13 @@
|
|
|
6081
6187
|
{ "type": "null" }
|
|
6082
6188
|
]
|
|
6083
6189
|
},
|
|
6190
|
+
"noTopLevelLiterals": {
|
|
6191
|
+
"description": "Require the JSON top-level value to be an array or object.\nSee https://biomejs.dev/linter/rules/no-top-level-literals",
|
|
6192
|
+
"anyOf": [
|
|
6193
|
+
{ "$ref": "#/$defs/NoTopLevelLiteralsConfiguration" },
|
|
6194
|
+
{ "type": "null" }
|
|
6195
|
+
]
|
|
6196
|
+
},
|
|
6084
6197
|
"noUndeclaredEnvVars": {
|
|
6085
6198
|
"description": "Disallow the use of undeclared environment variables.\nSee https://biomejs.dev/linter/rules/no-undeclared-env-vars",
|
|
6086
6199
|
"anyOf": [
|
|
@@ -6162,6 +6275,13 @@
|
|
|
6162
6275
|
{ "type": "null" }
|
|
6163
6276
|
]
|
|
6164
6277
|
},
|
|
6278
|
+
"useBaseline": {
|
|
6279
|
+
"description": "Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.\nSee https://biomejs.dev/linter/rules/use-baseline",
|
|
6280
|
+
"anyOf": [
|
|
6281
|
+
{ "$ref": "#/$defs/UseBaselineConfiguration" },
|
|
6282
|
+
{ "type": "null" }
|
|
6283
|
+
]
|
|
6284
|
+
},
|
|
6165
6285
|
"useConsistentEnumValueType": {
|
|
6166
6286
|
"description": "Disallow enums from having both number and string members.\nSee https://biomejs.dev/linter/rules/use-consistent-enum-value-type",
|
|
6167
6287
|
"anyOf": [
|
|
@@ -6232,6 +6352,13 @@
|
|
|
6232
6352
|
{ "type": "null" }
|
|
6233
6353
|
]
|
|
6234
6354
|
},
|
|
6355
|
+
"useImportsFirst": {
|
|
6356
|
+
"description": "Enforce that all imports appear at the top of the module.\nSee https://biomejs.dev/linter/rules/use-imports-first",
|
|
6357
|
+
"anyOf": [
|
|
6358
|
+
{ "$ref": "#/$defs/UseImportsFirstConfiguration" },
|
|
6359
|
+
{ "type": "null" }
|
|
6360
|
+
]
|
|
6361
|
+
},
|
|
6235
6362
|
"useInlineScriptId": {
|
|
6236
6363
|
"description": "Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.\nSee https://biomejs.dev/linter/rules/use-inline-script-id",
|
|
6237
6364
|
"anyOf": [
|
|
@@ -6904,6 +7031,11 @@
|
|
|
6904
7031
|
"RuleDomain": {
|
|
6905
7032
|
"description": "Rule domains",
|
|
6906
7033
|
"oneOf": [
|
|
7034
|
+
{
|
|
7035
|
+
"description": "Drizzle ORM rules",
|
|
7036
|
+
"type": "string",
|
|
7037
|
+
"const": "drizzle"
|
|
7038
|
+
},
|
|
6907
7039
|
{
|
|
6908
7040
|
"description": "React library rules",
|
|
6909
7041
|
"type": "string",
|
|
@@ -7508,6 +7640,24 @@
|
|
|
7508
7640
|
"additionalProperties": false,
|
|
7509
7641
|
"required": ["level"]
|
|
7510
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
|
+
},
|
|
7511
7661
|
"RuleWithNoDuplicateArgumentNamesOptions": {
|
|
7512
7662
|
"type": "object",
|
|
7513
7663
|
"properties": {
|
|
@@ -7763,6 +7913,15 @@
|
|
|
7763
7913
|
"additionalProperties": false,
|
|
7764
7914
|
"required": ["level"]
|
|
7765
7915
|
},
|
|
7916
|
+
"RuleWithNoEmptyObjectKeysOptions": {
|
|
7917
|
+
"type": "object",
|
|
7918
|
+
"properties": {
|
|
7919
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7920
|
+
"options": { "$ref": "#/$defs/NoEmptyObjectKeysOptions" }
|
|
7921
|
+
},
|
|
7922
|
+
"additionalProperties": false,
|
|
7923
|
+
"required": ["level"]
|
|
7924
|
+
},
|
|
7766
7925
|
"RuleWithNoEmptyPatternOptions": {
|
|
7767
7926
|
"type": "object",
|
|
7768
7927
|
"properties": {
|
|
@@ -9113,6 +9272,15 @@
|
|
|
9113
9272
|
"additionalProperties": false,
|
|
9114
9273
|
"required": ["level"]
|
|
9115
9274
|
},
|
|
9275
|
+
"RuleWithNoTopLevelLiteralsOptions": {
|
|
9276
|
+
"type": "object",
|
|
9277
|
+
"properties": {
|
|
9278
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
9279
|
+
"options": { "$ref": "#/$defs/NoTopLevelLiteralsOptions" }
|
|
9280
|
+
},
|
|
9281
|
+
"additionalProperties": false,
|
|
9282
|
+
"required": ["level"]
|
|
9283
|
+
},
|
|
9116
9284
|
"RuleWithNoTsIgnoreOptions": {
|
|
9117
9285
|
"type": "object",
|
|
9118
9286
|
"properties": {
|
|
@@ -9902,6 +10070,15 @@
|
|
|
9902
10070
|
"additionalProperties": false,
|
|
9903
10071
|
"required": ["level"]
|
|
9904
10072
|
},
|
|
10073
|
+
"RuleWithUseBaselineOptions": {
|
|
10074
|
+
"type": "object",
|
|
10075
|
+
"properties": {
|
|
10076
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10077
|
+
"options": { "$ref": "#/$defs/UseBaselineOptions" }
|
|
10078
|
+
},
|
|
10079
|
+
"additionalProperties": false,
|
|
10080
|
+
"required": ["level"]
|
|
10081
|
+
},
|
|
9905
10082
|
"RuleWithUseBiomeIgnoreFolderOptions": {
|
|
9906
10083
|
"type": "object",
|
|
9907
10084
|
"properties": {
|
|
@@ -10442,6 +10619,15 @@
|
|
|
10442
10619
|
"additionalProperties": false,
|
|
10443
10620
|
"required": ["level"]
|
|
10444
10621
|
},
|
|
10622
|
+
"RuleWithUseImportsFirstOptions": {
|
|
10623
|
+
"type": "object",
|
|
10624
|
+
"properties": {
|
|
10625
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10626
|
+
"options": { "$ref": "#/$defs/UseImportsFirstOptions" }
|
|
10627
|
+
},
|
|
10628
|
+
"additionalProperties": false,
|
|
10629
|
+
"required": ["level"]
|
|
10630
|
+
},
|
|
10445
10631
|
"RuleWithUseIndexOfOptions": {
|
|
10446
10632
|
"type": "object",
|
|
10447
10633
|
"properties": {
|
|
@@ -12968,6 +13154,56 @@
|
|
|
12968
13154
|
"type": "object",
|
|
12969
13155
|
"additionalProperties": false
|
|
12970
13156
|
},
|
|
13157
|
+
"UseBaselineConfiguration": {
|
|
13158
|
+
"oneOf": [
|
|
13159
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13160
|
+
{ "$ref": "#/$defs/RuleWithUseBaselineOptions" }
|
|
13161
|
+
]
|
|
13162
|
+
},
|
|
13163
|
+
"UseBaselineOptions": {
|
|
13164
|
+
"description": "Options for the `useBaseline` rule.",
|
|
13165
|
+
"type": "object",
|
|
13166
|
+
"properties": {
|
|
13167
|
+
"allowAtRules": {
|
|
13168
|
+
"description": "CSS at-rules to exclude from checking (without `@`, case-insensitive).",
|
|
13169
|
+
"type": "array",
|
|
13170
|
+
"items": { "type": "string" }
|
|
13171
|
+
},
|
|
13172
|
+
"allowFunctions": {
|
|
13173
|
+
"description": "CSS value functions to exclude from checking (case-insensitive).",
|
|
13174
|
+
"type": "array",
|
|
13175
|
+
"items": { "type": "string" }
|
|
13176
|
+
},
|
|
13177
|
+
"allowMediaConditions": {
|
|
13178
|
+
"description": "CSS media conditions to exclude from checking (case-insensitive).",
|
|
13179
|
+
"type": "array",
|
|
13180
|
+
"items": { "type": "string" }
|
|
13181
|
+
},
|
|
13182
|
+
"allowProperties": {
|
|
13183
|
+
"description": "CSS properties to exclude from checking (case-insensitive).",
|
|
13184
|
+
"type": "array",
|
|
13185
|
+
"items": { "type": "string" }
|
|
13186
|
+
},
|
|
13187
|
+
"allowPropertyValues": {
|
|
13188
|
+
"description": "CSS property values to exclude from checking (maps property name to allowed values, case-insensitive).",
|
|
13189
|
+
"type": "object",
|
|
13190
|
+
"additionalProperties": {
|
|
13191
|
+
"type": "array",
|
|
13192
|
+
"items": { "type": "string" }
|
|
13193
|
+
}
|
|
13194
|
+
},
|
|
13195
|
+
"allowSelectors": {
|
|
13196
|
+
"description": "CSS pseudo-selectors to exclude from checking (without `:` or `::`, case-insensitive).",
|
|
13197
|
+
"type": "array",
|
|
13198
|
+
"items": { "type": "string" }
|
|
13199
|
+
},
|
|
13200
|
+
"available": {
|
|
13201
|
+
"description": "The availability level to target. Defaults to `\"widely\"`.",
|
|
13202
|
+
"$ref": "#/$defs/AvailabilityTarget"
|
|
13203
|
+
}
|
|
13204
|
+
},
|
|
13205
|
+
"additionalProperties": false
|
|
13206
|
+
},
|
|
12971
13207
|
"UseBiomeIgnoreFolderConfiguration": {
|
|
12972
13208
|
"oneOf": [
|
|
12973
13209
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -13678,6 +13914,16 @@
|
|
|
13678
13914
|
"type": "string",
|
|
13679
13915
|
"enum": ["auto", "inlineType", "separatedType"]
|
|
13680
13916
|
},
|
|
13917
|
+
"UseImportsFirstConfiguration": {
|
|
13918
|
+
"oneOf": [
|
|
13919
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13920
|
+
{ "$ref": "#/$defs/RuleWithUseImportsFirstOptions" }
|
|
13921
|
+
]
|
|
13922
|
+
},
|
|
13923
|
+
"UseImportsFirstOptions": {
|
|
13924
|
+
"type": "object",
|
|
13925
|
+
"additionalProperties": false
|
|
13926
|
+
},
|
|
13681
13927
|
"UseIndexOfConfiguration": {
|
|
13682
13928
|
"oneOf": [
|
|
13683
13929
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
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
|
}
|