@biomejs/biome 2.1.1 → 2.1.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/README.fr.md CHANGED
@@ -107,24 +107,6 @@ Nous utilisons [Polar.sh](https://polar.sh/biomejs) pour voter pour des fonction
107
107
 
108
108
  ## Sponsors
109
109
 
110
- ### Platinum Sponsors
111
-
112
- <table>
113
- <tbody>
114
- <tr>
115
- <td align="center" valign="middle">
116
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
117
- <picture>
118
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
119
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
120
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
121
- </picture>
122
- </a>
123
- </td>
124
- </tr>
125
- </tbody>
126
- </table>
127
-
128
110
  ### Sponsors Or
129
111
 
130
112
  <table>
package/README.hi.md CHANGED
@@ -114,24 +114,6 @@ Biome एक सरल प्रायोजन[^37] कार्यक्रम
114
114
 
115
115
  ## प्रायोजक[^37]
116
116
 
117
- ### Platinum Sponsors
118
-
119
- <table>
120
- <tbody>
121
- <tr>
122
- <td align="center" valign="middle">
123
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
124
- <picture>
125
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
126
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
127
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
128
- </picture>
129
- </a>
130
- </td>
131
- </tr>
132
- </tbody>
133
- </table>
134
-
135
117
  ### स्वर्ण प्रायोजक[^42]
136
118
 
137
119
  <table>
package/README.ja.md CHANGED
@@ -89,24 +89,6 @@ Biome についてもっと知るために[ホームページ][biomejs]をチェ
89
89
 
90
90
  ## スポンサー
91
91
 
92
- ### Platinum Sponsors
93
-
94
- <table>
95
- <tbody>
96
- <tr>
97
- <td align="center" valign="middle">
98
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
99
- <picture>
100
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
101
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
102
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
103
- </picture>
104
- </a>
105
- </td>
106
- </tr>
107
- </tbody>
108
- </table>
109
-
110
92
  ### ゴールドスポンサー
111
93
 
112
94
  <table>
package/README.kr.md CHANGED
@@ -103,24 +103,6 @@ Biome은 기업이 다양한 개발자들 사이에서 인지도를 얻을 수
103
103
 
104
104
  ## 스폰서
105
105
 
106
- ### Platinum Sponsors
107
-
108
- <table>
109
- <tbody>
110
- <tr>
111
- <td align="center" valign="middle">
112
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
113
- <picture>
114
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
115
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
116
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
117
- </picture>
118
- </a>
119
- </td>
120
- </tr>
121
- </tbody>
122
- </table>
123
-
124
106
  ### Gold Sponsors
125
107
 
126
108
  <table>
package/README.md CHANGED
@@ -105,24 +105,6 @@ Biome offers [enterprise support](https://biomejs.dev/enterprise), where Core Co
105
105
 
106
106
  ## Sponsors
107
107
 
108
- ### Platinum Sponsors
109
-
110
- <table>
111
- <tbody>
112
- <tr>
113
- <td align="center" valign="middle">
114
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
115
- <picture>
116
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
117
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
118
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel logo" />
119
- </picture>
120
- </a>
121
- </td>
122
- </tr>
123
- </tbody>
124
- </table>
125
-
126
108
  ### Gold Sponsors
127
109
 
128
110
  <table>
package/README.pt-BR.md CHANGED
@@ -93,24 +93,6 @@ Leia mais sobre nossa [filosofia de projeto][biome-philosophy].
93
93
 
94
94
  ## Patrocinadores
95
95
 
96
- ### Platinum Sponsors
97
-
98
- <table>
99
- <tbody>
100
- <tr>
101
- <td align="center" valign="middle">
102
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
103
- <picture>
104
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
105
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
106
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
107
- </picture>
108
- </a>
109
- </td>
110
- </tr>
111
- </tbody>
112
- </table>
113
-
114
96
  ### Patrocinadores Ouro
115
97
 
116
98
  <table>
package/README.ru.md CHANGED
@@ -105,24 +105,6 @@ Biome предлагает простую спонсорскую програм
105
105
 
106
106
  ## Спонсоры
107
107
 
108
- ### Platinum Sponsors
109
-
110
- <table>
111
- <tbody>
112
- <tr>
113
- <td align="center" valign="middle">
114
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
115
- <picture>
116
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
117
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
118
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
119
- </picture>
120
- </a>
121
- </td>
122
- </tr>
123
- </tbody>
124
- </table>
125
-
126
108
  ### Золотые спонсоры
127
109
 
128
110
  <table>
package/README.uk.md CHANGED
@@ -104,24 +104,6 @@ Biome пропонує просту програму спонсорства, я
104
104
 
105
105
  ## Спонсори
106
106
 
107
- ### Platinum Sponsors
108
-
109
- <table>
110
- <tbody>
111
- <tr>
112
- <td align="center" valign="middle">
113
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
114
- <picture>
115
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
116
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
117
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
118
- </picture>
119
- </a>
120
- </td>
121
- </tr>
122
- </tbody>
123
- </table>
124
-
125
107
  ### Золоті спонсори
126
108
 
127
109
  <table>
package/README.zh-CN.md CHANGED
@@ -88,24 +88,6 @@ npx @biomejs/biome ci ./src
88
88
 
89
89
  ## 赞助商
90
90
 
91
- ### Platinum Sponsors
92
-
93
- <table>
94
- <tbody>
95
- <tr>
96
- <td align="center" valign="middle">
97
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
98
- <picture>
99
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
100
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
101
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
102
- </picture>
103
- </a>
104
- </td>
105
- </tr>
106
- </tbody>
107
- </table>
108
-
109
91
  ### 金牌赞助商
110
92
 
111
93
  <table>
package/README.zh-TW.md CHANGED
@@ -99,32 +99,8 @@ npx @biomejs/biome ci ./src
99
99
 
100
100
  Biome 提供了一個簡單的贊助計劃,允許公司在各種開發者中獲得可見性和認可。
101
101
 
102
- ### 問題資金支持
103
-
104
- 我們使用 [Polar.sh](https://polar.sh/biomejs) 來提升和推廣你希望看到和實現的特定功能。查看我們的待辦事項並幫助我們:
105
-
106
- <a href="https://polar.sh/biomejs"><img src="https://polar.sh/embed/fund-our-backlog.svg?org=biomejs" /></a>
107
-
108
102
  ## 贊助商
109
103
 
110
- ### Platinum Sponsors
111
-
112
- <table>
113
- <tbody>
114
- <tr>
115
- <td align="center" valign="middle">
116
- <a href="https://vercel.com/?utm_source=biome&utm_medium=readme" target="_blank">
117
- <picture>
118
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-dark.png" />
119
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" />
120
- <img src="https://raw.githubusercontent.com/biomejs/resources/refs/heads/main/sponsors/vercel-light.png" width="500" alt="Vercel" />
121
- </picture>
122
- </a>
123
- </td>
124
- </tr>
125
- </tbody>
126
- </table>
127
-
128
104
  ### 金牌贊助商
129
105
 
130
106
  <table>
@@ -3770,6 +3770,24 @@
3770
3770
  "type": "object",
3771
3771
  "additionalProperties": false
3772
3772
  },
3773
+ "NoQuickfixBiomeConfiguration": {
3774
+ "anyOf": [
3775
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3776
+ { "$ref": "#/definitions/RuleWithNoQuickfixBiomeOptions" }
3777
+ ]
3778
+ },
3779
+ "NoQuickfixBiomeOptions": {
3780
+ "type": "object",
3781
+ "properties": {
3782
+ "additionalPaths": {
3783
+ "description": "A list of additional JSON files that should be checked.",
3784
+ "default": [],
3785
+ "type": "array",
3786
+ "items": { "type": "string" }
3787
+ }
3788
+ },
3789
+ "additionalProperties": false
3790
+ },
3773
3791
  "NoReExportAllConfiguration": {
3774
3792
  "anyOf": [
3775
3793
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4648,6 +4666,26 @@
4648
4666
  "type": "object",
4649
4667
  "additionalProperties": false
4650
4668
  },
4669
+ "NoVueReservedKeysConfiguration": {
4670
+ "anyOf": [
4671
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4672
+ { "$ref": "#/definitions/RuleWithNoVueReservedKeysOptions" }
4673
+ ]
4674
+ },
4675
+ "NoVueReservedKeysOptions": {
4676
+ "type": "object",
4677
+ "additionalProperties": false
4678
+ },
4679
+ "NoVueReservedPropsConfiguration": {
4680
+ "anyOf": [
4681
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4682
+ { "$ref": "#/definitions/RuleWithNoVueReservedPropsOptions" }
4683
+ ]
4684
+ },
4685
+ "NoVueReservedPropsOptions": {
4686
+ "type": "object",
4687
+ "additionalProperties": false
4688
+ },
4651
4689
  "NoWithConfiguration": {
4652
4690
  "anyOf": [
4653
4691
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4784,6 +4822,13 @@
4784
4822
  { "type": "null" }
4785
4823
  ]
4786
4824
  },
4825
+ "noQuickfixBiome": {
4826
+ "description": "Disallow the use if quickfix.biome inside editor settings file.",
4827
+ "anyOf": [
4828
+ { "$ref": "#/definitions/NoQuickfixBiomeConfiguration" },
4829
+ { "type": "null" }
4830
+ ]
4831
+ },
4787
4832
  "noReactPropAssign": {
4788
4833
  "description": "Disallow assigning to React component props.",
4789
4834
  "anyOf": [
@@ -4868,6 +4913,20 @@
4868
4913
  { "type": "null" }
4869
4914
  ]
4870
4915
  },
4916
+ "noVueReservedKeys": {
4917
+ "description": "Disallow reserved keys in Vue component data and computed properties.",
4918
+ "anyOf": [
4919
+ { "$ref": "#/definitions/NoVueReservedKeysConfiguration" },
4920
+ { "type": "null" }
4921
+ ]
4922
+ },
4923
+ "noVueReservedProps": {
4924
+ "description": "Disallow reserved names to be used as props.",
4925
+ "anyOf": [
4926
+ { "$ref": "#/definitions/NoVueReservedPropsConfiguration" },
4927
+ { "type": "null" }
4928
+ ]
4929
+ },
4871
4930
  "recommended": {
4872
4931
  "description": "It enables the recommended rules for this group",
4873
4932
  "type": ["boolean", "null"]
@@ -4986,6 +5045,13 @@
4986
5045
  { "type": "null" }
4987
5046
  ]
4988
5047
  },
5048
+ "useReactFunctionComponents": {
5049
+ "description": "Enforce that components are defined as functions and never as classes.",
5050
+ "anyOf": [
5051
+ { "$ref": "#/definitions/UseReactFunctionComponentsConfiguration" },
5052
+ { "type": "null" }
5053
+ ]
5054
+ },
4989
5055
  "useReadonlyClassProperties": {
4990
5056
  "description": "Enforce marking members as readonly if they are never modified outside the constructor.",
4991
5057
  "anyOf": [
@@ -7835,6 +7901,25 @@
7835
7901
  },
7836
7902
  "additionalProperties": false
7837
7903
  },
7904
+ "RuleWithNoQuickfixBiomeOptions": {
7905
+ "type": "object",
7906
+ "required": ["level"],
7907
+ "properties": {
7908
+ "fix": {
7909
+ "description": "The kind of the code actions emitted by the rule",
7910
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
7911
+ },
7912
+ "level": {
7913
+ "description": "The severity of the emitted diagnostics by the rule",
7914
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
7915
+ },
7916
+ "options": {
7917
+ "description": "Rule's options",
7918
+ "allOf": [{ "$ref": "#/definitions/NoQuickfixBiomeOptions" }]
7919
+ }
7920
+ },
7921
+ "additionalProperties": false
7922
+ },
7838
7923
  "RuleWithNoReExportAllOptions": {
7839
7924
  "type": "object",
7840
7925
  "required": ["level"],
@@ -9271,6 +9356,36 @@
9271
9356
  },
9272
9357
  "additionalProperties": false
9273
9358
  },
9359
+ "RuleWithNoVueReservedKeysOptions": {
9360
+ "type": "object",
9361
+ "required": ["level"],
9362
+ "properties": {
9363
+ "level": {
9364
+ "description": "The severity of the emitted diagnostics by the rule",
9365
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
9366
+ },
9367
+ "options": {
9368
+ "description": "Rule's options",
9369
+ "allOf": [{ "$ref": "#/definitions/NoVueReservedKeysOptions" }]
9370
+ }
9371
+ },
9372
+ "additionalProperties": false
9373
+ },
9374
+ "RuleWithNoVueReservedPropsOptions": {
9375
+ "type": "object",
9376
+ "required": ["level"],
9377
+ "properties": {
9378
+ "level": {
9379
+ "description": "The severity of the emitted diagnostics by the rule",
9380
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
9381
+ },
9382
+ "options": {
9383
+ "description": "Rule's options",
9384
+ "allOf": [{ "$ref": "#/definitions/NoVueReservedPropsOptions" }]
9385
+ }
9386
+ },
9387
+ "additionalProperties": false
9388
+ },
9274
9389
  "RuleWithNoWithOptions": {
9275
9390
  "type": "object",
9276
9391
  "required": ["level"],
@@ -10677,6 +10792,23 @@
10677
10792
  },
10678
10793
  "additionalProperties": false
10679
10794
  },
10795
+ "RuleWithUseReactFunctionComponentsOptions": {
10796
+ "type": "object",
10797
+ "required": ["level"],
10798
+ "properties": {
10799
+ "level": {
10800
+ "description": "The severity of the emitted diagnostics by the rule",
10801
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
10802
+ },
10803
+ "options": {
10804
+ "description": "Rule's options",
10805
+ "allOf": [
10806
+ { "$ref": "#/definitions/UseReactFunctionComponentsOptions" }
10807
+ ]
10808
+ }
10809
+ },
10810
+ "additionalProperties": false
10811
+ },
10680
10812
  "RuleWithUseReadonlyClassPropertiesOptions": {
10681
10813
  "type": "object",
10682
10814
  "required": ["level"],
@@ -13416,6 +13548,16 @@
13416
13548
  "type": "object",
13417
13549
  "additionalProperties": false
13418
13550
  },
13551
+ "UseReactFunctionComponentsConfiguration": {
13552
+ "anyOf": [
13553
+ { "$ref": "#/definitions/RulePlainConfiguration" },
13554
+ { "$ref": "#/definitions/RuleWithUseReactFunctionComponentsOptions" }
13555
+ ]
13556
+ },
13557
+ "UseReactFunctionComponentsOptions": {
13558
+ "type": "object",
13559
+ "additionalProperties": false
13560
+ },
13419
13561
  "UseReadonlyClassPropertiesConfiguration": {
13420
13562
  "anyOf": [
13421
13563
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -13638,6 +13780,15 @@
13638
13780
  },
13639
13781
  "UseUniqueElementIdsOptions": {
13640
13782
  "type": "object",
13783
+ "properties": {
13784
+ "excludedComponents": {
13785
+ "description": "Component names that accept an `id` prop that does not translate to a DOM element id.",
13786
+ "default": [],
13787
+ "type": "array",
13788
+ "items": { "type": "string" },
13789
+ "uniqueItems": true
13790
+ }
13791
+ },
13641
13792
  "additionalProperties": false
13642
13793
  },
13643
13794
  "UseValidAnchorConfiguration": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.1.1",
3
+ "version": "2.1.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": "2.1.1",
50
- "@biomejs/cli-win32-arm64": "2.1.1",
51
- "@biomejs/cli-darwin-x64": "2.1.1",
52
- "@biomejs/cli-darwin-arm64": "2.1.1",
53
- "@biomejs/cli-linux-x64": "2.1.1",
54
- "@biomejs/cli-linux-arm64": "2.1.1",
55
- "@biomejs/cli-linux-x64-musl": "2.1.1",
56
- "@biomejs/cli-linux-arm64-musl": "2.1.1"
49
+ "@biomejs/cli-win32-x64": "2.1.3",
50
+ "@biomejs/cli-win32-arm64": "2.1.3",
51
+ "@biomejs/cli-darwin-x64": "2.1.3",
52
+ "@biomejs/cli-darwin-arm64": "2.1.3",
53
+ "@biomejs/cli-linux-x64": "2.1.3",
54
+ "@biomejs/cli-linux-arm64": "2.1.3",
55
+ "@biomejs/cli-linux-x64-musl": "2.1.3",
56
+ "@biomejs/cli-linux-arm64-musl": "2.1.3"
57
57
  }
58
58
  }