@biomejs/biome 2.5.15 → 2.6.1
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 +13 -17
- package/README.fr.md +12 -16
- package/README.hi.md +30 -34
- package/README.ja.md +12 -17
- package/README.kr.md +12 -16
- package/README.md +13 -17
- package/README.pl.md +13 -17
- package/README.pt-BR.md +13 -17
- package/README.ru.md +12 -16
- package/README.uk.md +12 -16
- package/README.zh-CN.md +12 -16
- package/README.zh-TW.md +12 -16
- package/bin/biome +13 -1
- package/configuration_schema.json +3531 -920
- package/manifest_schema.json +72 -0
- package/package.json +12 -9
package/README.pt-BR.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"
|
|
5
|
-
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700"
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" />
|
|
5
|
+
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700" />
|
|
6
6
|
</picture>
|
|
7
|
+
</div>
|
|
7
8
|
|
|
8
9
|
<br>
|
|
9
10
|
<br>
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
[![CI on main][ci-badge]][ci-url]
|
|
13
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
14
|
+
[![npm version][npm-badge]][npm-url]
|
|
15
|
+
[![VSCode version][vscode-badge]][vscode-url]
|
|
16
|
+
[![Open VSX version][open-vsx-badge]][open-vsx-url]
|
|
16
17
|
|
|
17
18
|
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
|
|
18
19
|
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
|
|
@@ -29,16 +30,14 @@
|
|
|
29
30
|
For example given below is the same order as these files appear on page:
|
|
30
31
|
https://github.com/biomejs/biome/tree/main/packages/@biomejs/biome -->
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
33
|
+
[हिन्दी](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.hi.md) | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.md) | [Español](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.es.md) | [Français](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.fr.md) | [繁體中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-TW.md) | [简体中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-CN.md) | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.md) | [Polski](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pl.md) | Português do Brasil | [한국어](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md) | [Русский](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ru.md) | [Українська](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.uk.md)
|
|
35
34
|
<br>
|
|
36
35
|
|
|
37
36
|
**Biome** é um conjunto de ferramentas de alto desempenho para projetos web, visando fornecer recursos de desenvolvimento para manter a saúde desses projetos.
|
|
38
37
|
|
|
39
|
-
**Biome é um [formatador rápido](https://github.com/biomejs/benchmark#formatting)** para _JavaScript_, _TypeScript_, _JSX_, e
|
|
38
|
+
**Biome é um [formatador rápido](https://github.com/biomejs/benchmark#formatting)** para _JavaScript_, _TypeScript_, _JSX_, _JSON_, _Markdown_, _YAML_, e _SCSS_ que atinge **[97% de compatibilidade com o _Prettier_](https://algora.io/challenges/prettier)**.
|
|
40
39
|
|
|
41
|
-
**Biome é um [linter eficiente](https://github.com/biomejs/benchmark#linting)** para _JavaScript_, _TypeScript_, e
|
|
40
|
+
**Biome é um [linter eficiente](https://github.com/biomejs/benchmark#linting)** para _JavaScript_, _TypeScript_, _JSX_, _Markdown_, _YAML_, e _SCSS_ que possui **[mais de 500 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
41
|
Ele **fornece diagnósticos detalhados e contextualizados** que ajudam você a melhorar seu código e se tornar um programador melhor!
|
|
43
42
|
|
|
44
43
|
**Biome** é projetado desde o início para ser usado [interativamente dentro de um editor](https://biomejs.dev/pt-br/editors/first-party-extensions/).
|
|
@@ -83,7 +82,7 @@ ou vá ao [Guia de Introdução][getting-started] para começar a usar o Biome.
|
|
|
83
82
|
|
|
84
83
|
**Biome** tem suporte de primeira linha para LSP, com um
|
|
85
84
|
|
|
86
|
-
|
|
85
|
+
parser sofisticado que representa o texto-fonte em sua total fidelidade e recuperação de erro de ponta.
|
|
87
86
|
|
|
88
87
|
**Biome** unifica funcionalidades que anteriormente eram ferramentas separadas. Construindo sobre uma base compartilhada, podemos fornecer uma experiência coesa para processar código, exibir erros, paralelizar trabalho, cache e configuração.
|
|
89
88
|
|
|
@@ -156,9 +155,6 @@ Leia mais sobre nossa [filosofia de projeto][biome-philosophy].
|
|
|
156
155
|
<td align="center" valign="middle">
|
|
157
156
|
<a href="http://rstudio.org/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/513560?s=200&v=4" width="80" alt="RStudio logo"></a>
|
|
158
157
|
</td>
|
|
159
|
-
<td align="center" valign="middle">
|
|
160
|
-
<a href="https://pennylane.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/57875210?s=200&v=4" width="80" alt="Pennylane logo"></a>
|
|
161
|
-
</td>
|
|
162
158
|
<td align="center" valign="middle">
|
|
163
159
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
164
160
|
</td>
|
package/README.ru.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"
|
|
5
|
-
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700"
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" />
|
|
5
|
+
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700" />
|
|
6
6
|
</picture>
|
|
7
|
+
</div>
|
|
7
8
|
|
|
8
9
|
<br>
|
|
9
10
|
<br>
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
[![CI on main][ci-badge]][ci-url]
|
|
13
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
14
|
+
[![npm version][npm-badge]][npm-url]
|
|
15
|
+
[![VSCode version][vscode-badge]][vscode-url]
|
|
16
|
+
[![Open VSX version][open-vsx-badge]][open-vsx-url]
|
|
16
17
|
|
|
17
18
|
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
|
|
18
19
|
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
|
|
@@ -29,16 +30,14 @@
|
|
|
29
30
|
For example given below is the same order as these files appear on page:
|
|
30
31
|
https://github.com/biomejs/biome/tree/main/packages/@biomejs/biome -->
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
33
|
+
[हिन्दी](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.hi.md) | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.md) | [Español](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.es.md) | [Français](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.fr.md) | [繁體中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-TW.md) | [简体中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-CN.md) | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.md) | [Polski](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pl.md) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-BR.md) | [한국어](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md) | Русский | [Українська](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.uk.md)
|
|
35
34
|
<br>
|
|
36
35
|
|
|
37
36
|
**Biome** - это высокопроизводительный набор инструментов для веб-проектов, предоставляющий разработчикам средства для поддержания их качества и работоспособности.
|
|
38
37
|
|
|
39
|
-
**Biome - это [быстрый форматер](https://github.com/biomejs/benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ и
|
|
38
|
+
**Biome - это [быстрый форматер](https://github.com/biomejs/benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, _GraphQL_, _Markdown_, _YAML_ и _SCSS_, обеспечивающий **[совместимость с _Prettier_ на 97%](https://algora.io/challenges/prettier)**.
|
|
40
39
|
|
|
41
|
-
**Biome - это [высокопроизводительный линтер](https://github.com/biomejs/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ и
|
|
40
|
+
**Biome - это [высокопроизводительный линтер](https://github.com/biomejs/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_, _GraphQL_, _Markdown_, _YAML_ и _SCSS_, содержащий **[более 500 правил](https://biomejs.dev/ru/linter/javascript/rules/)** из ESLint, typescript-eslint, и [других источников](https://github.com/biomejs/biome/discussions/3).
|
|
42
41
|
Он **выводит подробную диагностику с контекстной информацией**, которая помогает вам улучшить ваш код и стать более лучшим программистом!
|
|
43
42
|
|
|
44
43
|
**Biome** изначально разработан для [интерактивной работы в редакторе](https://biomejs.dev/ru/editors/first-party-extensions/).
|
|
@@ -168,9 +167,6 @@ Biome предлагает простую спонсорскую програм
|
|
|
168
167
|
<td align="center" valign="middle">
|
|
169
168
|
<a href="http://rstudio.org/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/513560?s=200&v=4" width="80" alt="RStudio logo"></a>
|
|
170
169
|
</td>
|
|
171
|
-
<td align="center" valign="middle">
|
|
172
|
-
<a href="https://pennylane.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/57875210?s=200&v=4" width="80" alt="Pennylane logo"></a>
|
|
173
|
-
</td>
|
|
174
170
|
<td align="center" valign="middle">
|
|
175
171
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
176
172
|
</td>
|
package/README.uk.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"
|
|
5
|
-
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700"
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" />
|
|
5
|
+
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700" />
|
|
6
6
|
</picture>
|
|
7
|
+
</div>
|
|
7
8
|
|
|
8
9
|
<br>
|
|
9
10
|
<br>
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
[![CI on main][ci-badge]][ci-url]
|
|
13
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
14
|
+
[![npm version][npm-badge]][npm-url]
|
|
15
|
+
[![VSCode version][vscode-badge]][vscode-url]
|
|
16
|
+
[![Open VSX version][open-vsx-badge]][open-vsx-url]
|
|
16
17
|
|
|
17
18
|
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
|
|
18
19
|
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
|
|
@@ -29,16 +30,14 @@
|
|
|
29
30
|
For example given below is the same order as these files appear on page:
|
|
30
31
|
https://github.com/biomejs/biome/tree/main/packages/@biomejs/biome -->
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
33
|
+
[हिन्दी](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.hi.md) | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.md) | [Español](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.es.md) | [Français](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.fr.md) | [繁體中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-TW.md) | [简体中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-CN.md) | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.md) | [Polski](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pl.md) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-BR.md) | [한국어](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md)| [Русский](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ru.md) | Українська
|
|
35
34
|
<br>
|
|
36
35
|
|
|
37
36
|
**Biome** - це високопродуктивний інструментарій для веб-проєктів, який має на меті надавати інструменти розробникам для підтримки здоров'я проєктів.
|
|
38
37
|
|
|
39
|
-
**Biome - це [швидкий форматувальник](https://github.com/biomejs/benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_ та
|
|
38
|
+
**Biome - це [швидкий форматувальник](https://github.com/biomejs/benchmark#formatting)** для _JavaScript_, _TypeScript_, _JSX_, _JSON_, _CSS_, _GraphQL_, _Markdown_, _YAML_ та _SCSS_, який досягає **[97% сумісності з _Prettier_](https://algora.io/challenges/prettier)**.
|
|
40
39
|
|
|
41
|
-
**Biome - це [високопродуктивний лінтер](https://github.com/biomejs/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_ та
|
|
40
|
+
**Biome - це [високопродуктивний лінтер](https://github.com/biomejs/benchmark#linting)** для _JavaScript_, _TypeScript_, _JSX_, _CSS_, _GraphQL_, _Markdown_, _YAML_ та _SCSS_, який містить **[понад 500 правил](https://biomejs.dev/uk/linter/javascript/rules/)** з ESLint, typescript-eslint та [інших джерел](https://github.com/biomejs/biome/discussions/3).
|
|
42
41
|
Він **виводить детальні та контекстуалізовані діагностичні дані**, які допомагають вам покращити ваш код та стати кращим програмістом!
|
|
43
42
|
|
|
44
43
|
**Biome** з самого початку розроблений для [інтерактивного використання в редакторі](https://biomejs.dev/uk/editors/first-party-extensions/). Він може форматувати та лінтити некоректний код під час його написання.
|
|
@@ -165,9 +164,6 @@ Biome пропонує просту програму спонсорства, я
|
|
|
165
164
|
<td align="center" valign="middle">
|
|
166
165
|
<a href="http://rstudio.org/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/513560?s=200&v=4" width="80" alt="RStudio logo"></a>
|
|
167
166
|
</td>
|
|
168
|
-
<td align="center" valign="middle">
|
|
169
|
-
<a href="https://pennylane.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/57875210?s=200&v=4" width="80" alt="Pennylane logo"></a>
|
|
170
|
-
</td>
|
|
171
167
|
<td align="center" valign="middle">
|
|
172
168
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
173
169
|
</td>
|
package/README.zh-CN.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"
|
|
5
|
-
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700"
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" />
|
|
5
|
+
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700" />
|
|
6
6
|
</picture>
|
|
7
|
+
</div>
|
|
7
8
|
|
|
8
9
|
<br>
|
|
9
10
|
<br>
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
[![CI on main][ci-badge]][ci-url]
|
|
13
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
14
|
+
[![npm version][npm-badge]][npm-url]
|
|
15
|
+
[![VSCode version][vscode-badge]][vscode-url]
|
|
16
|
+
[![Open VSX version][open-vsx-badge]][open-vsx-url]
|
|
16
17
|
|
|
17
18
|
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
|
|
18
19
|
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
|
|
@@ -29,16 +30,14 @@
|
|
|
29
30
|
For example given below is the same order as these files appear on page:
|
|
30
31
|
https://github.com/biomejs/biome/tree/main/packages/@biomejs/biome -->
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
33
|
+
[हिन्दी](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.hi.md) | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.md) | [Español](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.es.md) | [Français](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.fr.md) | [繁體中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-TW.md) | 简体中文 | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.md) | [Polski](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pl.md) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-BR.md) | [한국어](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md) | [Русский](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ru.md) | [Українська](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.uk.md)
|
|
35
34
|
<br>
|
|
36
35
|
|
|
37
36
|
**Biome** 是一个用于 Web 项目的高性能工具链,旨在为开发者提供维护项目的工具。
|
|
38
37
|
|
|
39
|
-
**Biome 是一个[快速的格式化工具](https://github.com/biomejs/benchmark#formatting)**,适用于 _JavaScript_、_TypeScript_、_JSX_、_JSON_ 等,与 _Prettier_ 的兼容性达到了 **[97%](https://algora.io/challenges/prettier)**。
|
|
38
|
+
**Biome 是一个[快速的格式化工具](https://github.com/biomejs/benchmark#formatting)**,适用于 _JavaScript_、_TypeScript_、_JSX_、_JSON_、_Markdown_、_YAML_ 和 _SCSS_ 等,与 _Prettier_ 的兼容性达到了 **[97%](https://algora.io/challenges/prettier)**。
|
|
40
39
|
|
|
41
|
-
**Biome 是一个[高性能的 Linter](https://github.com/biomejs/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[500 余项规则](https://biomejs.dev/zh-cn/linter/javascript/rules/)**。它**输出详细且有上下文诊断信息**,能帮助你优化代码,成为一名更好的程序员!
|
|
40
|
+
**Biome 是一个[高性能的 Linter](https://github.com/biomejs/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_、_Markdown_、_YAML_ 和 _SCSS_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[500 余项规则](https://biomejs.dev/zh-cn/linter/javascript/rules/)**。它**输出详细且有上下文诊断信息**,能帮助你优化代码,成为一名更好的程序员!
|
|
42
41
|
|
|
43
42
|
**Biome** 从一开始就设计为[在编辑器中交互式使用](https://biomejs.dev/zh-cn/editors/first-party-extensions/)。它可以在你编写代码时格式化并检查出不规范的代码。
|
|
44
43
|
|
|
@@ -150,9 +149,6 @@ npx @biomejs/biome ci ./src
|
|
|
150
149
|
<td align="center" valign="middle">
|
|
151
150
|
<a href="http://rstudio.org/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/513560?s=200&v=4" width="80" alt="RStudio logo"></a>
|
|
152
151
|
</td>
|
|
153
|
-
<td align="center" valign="middle">
|
|
154
|
-
<a href="https://pennylane.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/57875210?s=200&v=4" width="80" alt="Pennylane logo"></a>
|
|
155
|
-
</td>
|
|
156
152
|
<td align="center" valign="middle">
|
|
157
153
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
158
154
|
</td>
|
package/README.zh-TW.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"
|
|
5
|
-
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700"
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" />
|
|
5
|
+
<img alt="Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'." src="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg" width="700" />
|
|
6
6
|
</picture>
|
|
7
|
+
</div>
|
|
7
8
|
|
|
8
9
|
<br>
|
|
9
10
|
<br>
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
[![CI on main][ci-badge]][ci-url]
|
|
13
|
+
[![Discord chat][discord-badge]][discord-url]
|
|
14
|
+
[![npm version][npm-badge]][npm-url]
|
|
15
|
+
[![VSCode version][vscode-badge]][vscode-url]
|
|
16
|
+
[![Open VSX version][open-vsx-badge]][open-vsx-url]
|
|
16
17
|
|
|
17
18
|
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
|
|
18
19
|
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
|
|
@@ -29,16 +30,14 @@
|
|
|
29
30
|
For example given below is the same order as these files appear on page:
|
|
30
31
|
https://github.com/biomejs/biome/tree/main/packages/@biomejs/biome -->
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
|
|
33
|
+
[हिन्दी](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.hi.md) | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.md) | [Español](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.es.md) | [Français](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.fr.md) | 繁體中文 | [简体中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-CN.md) | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.md) | [Polski](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pl.md) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-BR.md) | [한국어](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md) | [Русский](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ru.md) | [Українська](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.uk.md)
|
|
35
34
|
<br>
|
|
36
35
|
|
|
37
36
|
**Biome** 是一個高效能的 Web 專案工具鏈,旨在提供開發工具以維持這些專案的健康。
|
|
38
37
|
|
|
39
|
-
**Biome 是一個 [快速格式化工具](https://github.com/biomejs/benchmark#formatting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_JSON_、_CSS_ 和
|
|
38
|
+
**Biome 是一個 [快速格式化工具](https://github.com/biomejs/benchmark#formatting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_JSON_、_CSS_、_GraphQL_、_Markdown_、_YAML_ 和 _SCSS_,其 **與 _Prettier_ 的相容性達到 [97%](https://algora.io/challenges/prettier)**。
|
|
40
39
|
|
|
41
|
-
**Biome 是一個 [高效能的語法檢查工具](https://github.com/biomejs/benchmark#linting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_CSS_ 和
|
|
40
|
+
**Biome 是一個 [高效能的語法檢查工具](https://github.com/biomejs/benchmark#linting)**,支援 _JavaScript_、_TypeScript_、_JSX_、_CSS_、_GraphQL_、_Markdown_、_YAML_ 和 _SCSS_,擁有來自 ESLint、typescript-eslint 和 [其他來源](https://github.com/biomejs/biome/discussions/3)的 **[超過 500 條規則](https://biomejs.dev/linter/javascript/rules)**。
|
|
42
41
|
它 **輸出詳細且具上下文的診斷資訊**,幫助你改進程式碼並成為更好的程式設計師!
|
|
43
42
|
|
|
44
43
|
**Biome** 從一開始就設計為可在 [編輯器中互動使用](https://biomejs.dev/editors/first-party-extensions/)。
|
|
@@ -163,9 +162,6 @@ Biome 提供了一個簡單的贊助計劃,允許公司在各種開發者中
|
|
|
163
162
|
<td align="center" valign="middle">
|
|
164
163
|
<a href="http://rstudio.org/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/513560?s=200&v=4" width="80" alt="RStudio logo"></a>
|
|
165
164
|
</td>
|
|
166
|
-
<td align="center" valign="middle">
|
|
167
|
-
<a href="https://pennylane.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://avatars.githubusercontent.com/u/57875210?s=200&v=4" width="80" alt="Pennylane logo"></a>
|
|
168
|
-
</td>
|
|
169
165
|
<td align="center" valign="middle">
|
|
170
166
|
<a href="https://jetbrains.com/?utm_source=biome&utm_medium=readme" target="_blank"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" width="100" alt="JetBrains logo"></a>
|
|
171
167
|
</td>
|
package/bin/biome
CHANGED
|
@@ -34,6 +34,10 @@ const PLATFORMS = {
|
|
|
34
34
|
x64: "@biomejs/cli-linux-x64-musl/biome",
|
|
35
35
|
arm64: "@biomejs/cli-linux-arm64-musl/biome",
|
|
36
36
|
},
|
|
37
|
+
android: {
|
|
38
|
+
x64: "@biomejs/cli-android-x64/biome",
|
|
39
|
+
arm64: "@biomejs/cli-android-arm64/biome",
|
|
40
|
+
},
|
|
37
41
|
};
|
|
38
42
|
|
|
39
43
|
const binPath = env.BIOME_BINARY ||
|
|
@@ -66,7 +70,15 @@ if (binPath) {
|
|
|
66
70
|
throw result.error;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
|
-
|
|
73
|
+
// We check `signal` instead of `status` because a child killed by a signal
|
|
74
|
+
// has a null `status`, which Node turns into exit code 0. The shell
|
|
75
|
+
// convention for that case is 128 + signal number.
|
|
76
|
+
if (result.signal) {
|
|
77
|
+
const signalNumber = require("os").constants.signals[result.signal];
|
|
78
|
+
process.exitCode = signalNumber ? 128 + signalNumber : 1;
|
|
79
|
+
} else {
|
|
80
|
+
process.exitCode = result.status;
|
|
81
|
+
}
|
|
70
82
|
} else {
|
|
71
83
|
console.error(
|
|
72
84
|
"The Biome CLI package doesn't ship with prebuilt binaries for your platform yet. " +
|