@biomejs/biome 1.9.1 → 1.9.2

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.hi.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- हिन्दी | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.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) | [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)
35
+ हिन्दी | [English](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.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) | [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)
36
36
 
37
37
  </div>
38
38
 
@@ -41,7 +41,7 @@
41
41
 
42
42
  **Biome** *JavaScript*, *TypeScript*, *JSX* और *JSON* के लिए **एक [तेज़ स्वरूपक](./benchmark#formatting)[^5]** है जो **[*Prettier* के साथ ९७% अनुकूलता](https://console.algora.io/challenges/prettier)[^6]** स्कोर[^7] करता है।
43
43
 
44
- **Biome *JavaScript*, *TypeScript* और *JSX* के लिए एक [प्रदर्शनकारी लिंटर](https://github.com/biomejs/biome/tree/main/benchmark#linting)[^8]** है जिसमें ESLint, typescript-eslint और [अन्य स्रोतों](https://github.com/biomejs/biome/discussions/3) से **[२०० से अधिक नियम](https://biomejs.dev/linter/rules/)** शामिल हैं। यह **विस्तृत[^9] और संदर्भिकृत[^10] निदान[^11]** आउटपुट[^12] करता है जो आपको अपना कोड[^13] बेहतर बनाने और एक बेहतर प्रोग्रामर[^14] बनने में मदद करता है!
44
+ **Biome *JavaScript*, *TypeScript* और *JSX* के लिए एक [प्रदर्शनकारी लिंटर](https://github.com/biomejs/biome/tree/main/benchmark#linting)[^8]** है जिसमें ESLint, typescript-eslint और [अन्य स्रोतों](https://github.com/biomejs/biome/discussions/3) से **[२७० से अधिक नियम](https://biomejs.dev/linter/rules/)** शामिल हैं। यह **विस्तृत[^9] और संदर्भिकृत[^10] निदान[^11]** आउटपुट[^12] करता है जो आपको अपना कोड[^13] बेहतर बनाने और एक बेहतर प्रोग्रामर[^14] बनने में मदद करता है!
45
45
 
46
46
  **Biome** को शुरू से ही [संपादक](https://biomejs.dev/guides/integrate-in-editor/)[^15] [के भीतर अंतरक्रियात्मक](https://biomejs.dev/guides/integrate-in-editor/)[^16] [रूप से](https://biomejs.dev/guides/integrate-in-editor/) उपयोग करने के लिए डिज़ाइन[^17] किया गया है। यह आपके द्वारा लिखे जा रहे विकृत[^18] कोड[^13] को स्वरूप[^5] और लिंट[^8] कर सकता है।
47
47
 
package/README.ja.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- [हिन्दी](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) | [简体中文](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.zh-CN.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)
35
+ [हिन्दी](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) | [繁體中文](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) | 日本語 | [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)
36
36
 
37
37
  </div>
38
38
 
@@ -41,7 +41,7 @@
41
41
 
42
42
  **Biome は _JavaScript_, _TypeScript_, _JSX_ そして _JSON_ 向けの[高速なFormatter](./benchmark#formatting)**であり、**[_Prettier_ との互換性は97%](https://console.algora.io/challenges/prettier)** を達成しています。
43
43
 
44
- **Biome は _JavaScript_, _TypeScript_, _JSX_ のための[高性能なLinter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** であり、ESLint, typescript-eslint, [その他のソース](https://github.com/biomejs/biome/discussions/3)から **[260以上のルール](https://biomejs.dev/linter/rules/)**を提供しています。Biome は**詳細で文脈に沿った結果を出力**するため、コードを改善し、より良いプログラマになるための手助けをします!
44
+ **Biome は _JavaScript_, _TypeScript_, _JSX_ のための[高性能なLinter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** であり、ESLint, typescript-eslint, [その他のソース](https://github.com/biomejs/biome/discussions/3)から **[270以上のルール](https://biomejs.dev/linter/rules/)**を提供しています。Biome は**詳細で文脈に沿った結果を出力**するため、コードを改善し、より良いプログラマになるための手助けをします!
45
45
 
46
46
  **Biome** は最初から[**エディタ内で対話的に**](https://biomejs.dev/ja/guides/integrate-in-editor/)使用できるように設計されています。
47
47
  あなたがコードを書いているときに、形の崩れたコードを format と lint することができます。
package/README.kr.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- [हिन्दी](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) | [简体中文](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) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-br.md) | 한글
35
+ [हिन्दी](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) | [繁體中文](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) | [Português do Brasil](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.pt-br.md) | 한글
36
36
 
37
37
  </div>
38
38
 
@@ -41,7 +41,7 @@
41
41
 
42
42
  **Biome** 은 _JavaScript_, _TypeScript_, _JSX_ 그리고 _JSON_ 을 위한 **[고속 Formatter](./benchmark#formatting)** 로, **[_Prettier_ 와의 호환성 97%](https://console.algora.io/challenges/prettier)** 을 달성하고 있습니다.
43
43
 
44
- **Biome** 은 _JavaScript_, _TypeScript_, _JSX_을 위한 **[고성능 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** 로、ESLint, typescript-eslint, [등의 리소스](https://github.com/biomejs/biome/discussions/3)에서 **[260개 이상의 룰](https://biomejs.dev/linter/rules/)** 을 제공하고 있습니다. Biome 은 **상세하며 문맥에 맞는 결과를 출력**하기 위해, 코드를 개선하고, 더 좋은 프로그래머가 되기 위한 도움을 드립니다!
44
+ **Biome** 은 _JavaScript_, _TypeScript_, _JSX_을 위한 **[고성능 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)** 로、ESLint, typescript-eslint, [등의 리소스](https://github.com/biomejs/biome/discussions/3)에서 **[270개 이상의 룰](https://biomejs.dev/linter/rules/)** 을 제공하고 있습니다. Biome 은 **상세하며 문맥에 맞는 결과를 출력**하기 위해, 코드를 개선하고, 더 좋은 프로그래머가 되기 위한 도움을 드립니다!
45
45
 
46
46
  **Biome** 은 처음부터 [**에디터 내에서 인터렉티브하게**](https://biomejs.dev/ja/guides/integrate-in-editor/) 사용하도록 설계되어 있습니다.
47
47
  여러분이 코드를 작성할 때, 형식이 잘못된 코드에 format, lint 를 적용합니다.
package/README.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- [हिन्दी](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.zh-CN.md) | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.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)
35
+ [हिन्दी](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.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) | [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)
36
36
 
37
37
  </div>
38
38
 
package/README.pt-BR.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- [हिन्दी](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) | [简体中文](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) | Português do Brasil | [한글](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md)
35
+ [हिन्दी](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) | [繁體中文](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) | Português do Brasil | [한글](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.kr.md)
36
36
 
37
37
  </div>
38
38
 
@@ -40,7 +40,7 @@
40
40
 
41
41
  **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)**.
42
42
 
43
- **Biome é um [linter eficiente](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, e _JSX_ que possui **[mais de 190 regras](https://biomejs.dev/linter/rules/)** do ESLint, typescript-eslint, e de [outras fontes](https://github.com/biomejs/biome/discussions/3).
43
+ **Biome é um [linter eficiente](https://github.com/biomejs/biome/tree/main/benchmark#linting)** para _JavaScript_, _TypeScript_, e _JSX_ que possui **[mais de 270 regras](https://biomejs.dev/linter/rules/)** do ESLint, typescript-eslint, e de [outras fontes](https://github.com/biomejs/biome/discussions/3).
44
44
  Ele **fornece diagnósticos detalhados e contextualizados** que ajudam você a melhorar seu código e se tornar um programador melhor!
45
45
 
46
46
  **Biome** é projetado desde o início para ser usado [interativamente dentro de um editor](https://biomejs.dev/guides/integrate-in-editor/).
package/README.zh-CN.md CHANGED
@@ -32,7 +32,7 @@
32
32
  https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
33
  <div align="center">
34
34
 
35
- [हिन्दी](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) | 简体中文 | [日本語](https://github.com/biomejs/biome/blob/main/packages/%40biomejs/biome/README.ja.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)
35
+ [हिन्दी](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) | [繁體中文](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) | [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)
36
36
 
37
37
  </div>
38
38
 
@@ -40,7 +40,7 @@
40
40
 
41
41
  **Biome 是一个[快速的格式化工具](./benchmark#formatting)**,适用于 _JavaScript_、_TypeScript_、_JSX_、_JSON_ 等,与 _Prettier_ 的兼容性达到了 **[97%](https://console.algora.io/challenges/prettier)**。
42
42
 
43
- **Biome 是一个[高性能的 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[190 余项规则](https://biomejs.dev/zh-cn/linter/rules/)**。它**输出详细且有上下文诊断信息**,能帮助你优化代码,成为一名更好的程序员!
43
+ **Biome 是一个[高性能的 Linter](https://github.com/biomejs/biome/tree/main/benchmark#linting)**,适用于 _JavaScript_、_TypeScript_、_JSX_ 等,包含了来自 ESLint、typescript-eslint 和[其他来源](https://github.com/biomejs/biome/discussions/3)的 **[270 余项规则](https://biomejs.dev/zh-cn/linter/rules/)**。它**输出详细且有上下文诊断信息**,能帮助你优化代码,成为一名更好的程序员!
44
44
 
45
45
  **Biome** 从一开始就设计为[在编辑器中交互式使用](https://biomejs.dev/zh-cn/guides/integrate-in-editor/)。它可以在你编写代码时格式化并检查出不规范的代码。
46
46
 
@@ -0,0 +1,169 @@
1
+ <p align="center">
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">
6
+ </picture>
7
+ </p>
8
+
9
+ <div align="center">
10
+
11
+ [![Discord chat][discord-badge]][discord-url]
12
+ [![CI on main][ci-badge]][ci-url]
13
+ [![npm version][npm-badge]][npm-url]
14
+ [![VSCode version][vscode-badge]][vscode-url]
15
+ [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
+
17
+ [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
+ [discord-url]: https://discord.gg/BypW39g6Yc
19
+ [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
+ [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
+ [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
22
+ [npm-url]: https://www.npmjs.com/package/@biomejs/biome/v/latest
23
+ [vscode-badge]: https://badgen.net/vs-marketplace/v/biomejs.biome?label=vscode&icon=visualstudio&color=green
24
+ [vscode-url]: https://marketplace.visualstudio.com/items?itemName=biomejs.biome
25
+ [open-vsx-badge]: https://badgen.net/open-vsx/version/biomejs/biome?label=open-vsx&color=green
26
+ [open-vsx-url]: https://open-vsx.org/extension/biomejs/biome
27
+
28
+ </div>
29
+
30
+ <!-- Insert new entries lexicographically by language code.
31
+ For example given below is the same order as these files appear on page:
32
+ https://github.com/biomejs/biome/tree/main/packages/%40biomejs/biome -->
33
+ <div align="center">
34
+
35
+ [हिन्दी](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) | 繁體中文 | [简体中文](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) | [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)
36
+
37
+ </div>
38
+
39
+ **Biome** 是一個高效能的 Web 專案工具鏈,旨在提供開發工具以維持這些專案的健康。
40
+
41
+ **Biome 是一個 [快速格式化工具](./benchmark#formatting)**,支持 _JavaScript_、_TypeScript_、_JSX_、_JSON_、_CSS_ 和 _GraphQL_,其 **與 _Prettier_ 的相容性達到 [97%](https://console.algora.io/challenges/prettier)**。
42
+
43
+ **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)的 **超過 270 條規則**。
44
+ 它 **輸出詳細且具上下文的診斷資訊**,幫助你改進程式碼並成為更好的程式設計師!
45
+
46
+ **Biome** 從一開始就設計為可在 [編輯器中互動使用](https://biomejs.dev/guides/integrate-in-editor/)。
47
+ 它可以在你編寫程式碼時格式化和檢查錯誤的程式碼。
48
+
49
+ ### 安裝
50
+
51
+ ```shell
52
+ npm install --save-dev --save-exact @biomejs/biome
53
+ ```
54
+
55
+ ### 使用
56
+
57
+ ```shell
58
+ # 格式化文件
59
+ npx @biomejs/biome format --write ./src
60
+
61
+ # 檢查文件並應用安全的修正
62
+ npx @biomejs/biome lint --write ./src
63
+
64
+ # 執行格式化、檢查等並應用安全的修正
65
+ npx @biomejs/biome check --write ./src
66
+
67
+ # 在 CI 環境中檢查所有文件的格式、檢查等
68
+ npx @biomejs/biome ci ./src
69
+ ```
70
+
71
+ 如果你想在不安裝 Biome 的情況下運行它,請使用 [線上 Playground](https://biomejs.dev/playground/),他被編譯為 WebAssembly。
72
+
73
+ ## 文件
74
+
75
+ 訪問我們的[首頁][biomejs]以了解更多關於 Biome 的資訊,
76
+ 或直接前往[入門指南][getting-started]開始使用 Biome。
77
+
78
+ ## 關於 Biome 的更多資訊
79
+
80
+ **Biome** 擁有合理的預設設定,無需配置。
81
+
82
+ **Biome** 旨在支持現代 Web 開發的 [所有主要開發語言][language-support]。
83
+
84
+ **Biome** [不需要 Node.js](https://biomejs.dev/guides/manual-installation/) 即可運行。
85
+
86
+ **Biome** 擁有一流的 LSP 支持,配備了能完整保留原文的先進解析器和頂級的錯誤修復能力。
87
+
88
+ **Biome** 整合了以前分離的工具功能。基於共享基礎構建,讓我們能夠為程式碼處理、錯誤顯示、並行工作、快取記憶體和配置提供一致的體驗。
89
+
90
+ 閱讀更多關於我們的[專案理念][biome-philosophy]。
91
+
92
+ **Biome** 採用 [MIT 授權](https://github.com/biomejs/biome/tree/main/LICENSE-MIT) 或 [Apache 2.0 授權](https://github.com/biomejs/biome/tree/main/LICENSE-APACHE),並根據 [貢獻者公約行為準則](https://github.com/biomejs/biome/tree/main/CODE_OF_CONDUCT.md) 進行管理。
93
+
94
+ ## 資金支持
95
+
96
+ 你可以通過不同的方式支持這個專案
97
+
98
+ ### 專案贊助和資金支持
99
+
100
+ 你可以通過 [Open Collective](https://opencollective.com/biome) 或 [GitHub Sponsors](https://github.com/sponsors/biomejs) 贊助或資助這個專案。
101
+
102
+ Biome 提供了一個簡單的贊助計劃,允許公司在各種開發者中獲得可見性和認可。
103
+
104
+ ### 問題資金支持
105
+
106
+ 我們使用 [Polar.sh](https://polar.sh/biomejs) 來提升和推廣你希望看到和實現的特定功能。查看我們的待辦事項並幫助我們:
107
+
108
+ <a href="https://polar.sh/biomejs"><img src="https://polar.sh/embed/fund-our-backlog.svg?org=biomejs" /></a>
109
+
110
+ ## 贊助商
111
+
112
+ ### 金牌贊助商
113
+
114
+ <table>
115
+ <tbody>
116
+ <tr>
117
+ <td align="center" valign="middle">
118
+ <a href="https://shiguredo.jp/" target="_blank"><img src="https://shiguredo.jp/official_shiguredo_logo.svg" height="120"></a>
119
+ </td>
120
+ </tr>
121
+ </tbody>
122
+ </table>
123
+
124
+ ### 銀牌贊助商
125
+
126
+ <table>
127
+ <tbody>
128
+ <tr>
129
+ <td align="center" valign="middle">
130
+ <a href="https://l2beat.com/" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100"></a>
131
+ </td>
132
+ <td align="center" valign="middle">
133
+ <a href="https://www.phoenixlabs.dev/" target="_blank"><img src="https://images.opencollective.com/phoenix-labs/2824ed4/logo/100.png?height=100" height="100"></a>
134
+ </td>
135
+ </tr>
136
+ </tbody>
137
+ </table>
138
+
139
+ ### 銅牌贊助商
140
+
141
+ <table>
142
+ <tbody>
143
+ <tr>
144
+ <td align="center" valign="middle">
145
+ <a href="https://www.kanamekey.com" target="_blank"><img src="https://images.opencollective.com/kaname/d15fd98/logo/256.png?height=80" width="80"></a>
146
+ </td>
147
+ <td align="center" valign="middle">
148
+ <a href="https://nanabit.dev/" target="_blank"><img src="https://images.opencollective.com/nanabit/d15fd98/logo/256.png?height=80" width="80"></a>
149
+ </td>
150
+ <td align="center" valign="middle">
151
+ <a href="https://vital.io/" target="_blank"><img src="https://avatars.githubusercontent.com/u/25357309?s=200" width="80"></a>
152
+ </td>
153
+ <td align="center" valign="middle">
154
+ <a href="https://coderabbit.ai/" target="_blank"><img src="https://avatars.githubusercontent.com/u/132028505?s=200&v=4" width="80"></a>
155
+ </td>
156
+ <td align="center" valign="middle">
157
+ <a href="https://forge42.dev/" target="_blank"><img src="https://avatars.githubusercontent.com/u/161314831?s=200&v=4" width="80"></a>
158
+ </td>
159
+ <td align="center" valign="middle">
160
+ <a href="https://transloadit.com/" target="_blank"><img src="https://avatars.githubusercontent.com/u/125754?s=200&v=4" width="80"></a>
161
+ </td>
162
+ </tr>
163
+ </tbody>
164
+ </table>
165
+
166
+ [biomejs]: https://biomejs.dev/
167
+ [biome-philosophy]: https://biomejs.dev/internals/philosophy/
168
+ [language-support]: https://biomejs.dev/internals/language-support/
169
+ [getting-started]: https://biomejs.dev/guides/getting-started/
@@ -2132,6 +2132,13 @@
2132
2132
  { "type": "null" }
2133
2133
  ]
2134
2134
  },
2135
+ "noMissingVarFunction": {
2136
+ "description": "Disallow missing var function for css variables.",
2137
+ "anyOf": [
2138
+ { "$ref": "#/definitions/RuleConfiguration" },
2139
+ { "type": "null" }
2140
+ ]
2141
+ },
2135
2142
  "noProcessEnv": {
2136
2143
  "description": "Disallow the use of process.env.",
2137
2144
  "anyOf": [
@@ -2220,6 +2227,15 @@
2220
2227
  { "type": "null" }
2221
2228
  ]
2222
2229
  },
2230
+ "useComponentExportOnlyModules": {
2231
+ "description": "Enforce declaring components only within modules that export React Components exclusively.",
2232
+ "anyOf": [
2233
+ {
2234
+ "$ref": "#/definitions/UseComponentExportOnlyModulesConfiguration"
2235
+ },
2236
+ { "type": "null" }
2237
+ ]
2238
+ },
2223
2239
  "useConsistentCurlyBraces": {
2224
2240
  "description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.",
2225
2241
  "anyOf": [
@@ -2809,6 +2825,23 @@
2809
2825
  },
2810
2826
  "additionalProperties": false
2811
2827
  },
2828
+ "RuleWithUseComponentExportOnlyModulesOptions": {
2829
+ "type": "object",
2830
+ "required": ["level", "options"],
2831
+ "properties": {
2832
+ "level": {
2833
+ "description": "The severity of the emitted diagnostics by the rule",
2834
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2835
+ },
2836
+ "options": {
2837
+ "description": "Rule's options",
2838
+ "allOf": [
2839
+ { "$ref": "#/definitions/UseComponentExportOnlyModulesOptions" }
2840
+ ]
2841
+ }
2842
+ },
2843
+ "additionalProperties": false
2844
+ },
2812
2845
  "RuleWithUseImportExtensionsOptions": {
2813
2846
  "type": "object",
2814
2847
  "required": ["level", "options"],
@@ -3918,6 +3951,28 @@
3918
3951
  }
3919
3952
  ]
3920
3953
  },
3954
+ "UseComponentExportOnlyModulesConfiguration": {
3955
+ "anyOf": [
3956
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3957
+ { "$ref": "#/definitions/RuleWithUseComponentExportOnlyModulesOptions" }
3958
+ ]
3959
+ },
3960
+ "UseComponentExportOnlyModulesOptions": {
3961
+ "type": "object",
3962
+ "properties": {
3963
+ "allowConstantExport": {
3964
+ "description": "Allows the export of constants. This option is for environments that support it, such as [Vite](https://vitejs.dev/)",
3965
+ "default": false,
3966
+ "type": "boolean"
3967
+ },
3968
+ "allowExportNames": {
3969
+ "description": "A list of names that can be additionally exported from the module This option is for exports that do not hinder [React Fast Refresh](https://github.com/facebook/react/tree/main/packages/react-refresh), such as [`meta` in Remix](https://remix.run/docs/en/main/route/meta)",
3970
+ "type": "array",
3971
+ "items": { "type": "string" }
3972
+ }
3973
+ },
3974
+ "additionalProperties": false
3975
+ },
3921
3976
  "UseImportExtensionsConfiguration": {
3922
3977
  "anyOf": [
3923
3978
  { "$ref": "#/definitions/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
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.1",
54
- "@biomejs/cli-win32-arm64": "1.9.1",
55
- "@biomejs/cli-darwin-x64": "1.9.1",
56
- "@biomejs/cli-darwin-arm64": "1.9.1",
57
- "@biomejs/cli-linux-x64": "1.9.1",
58
- "@biomejs/cli-linux-arm64": "1.9.1",
59
- "@biomejs/cli-linux-x64-musl": "1.9.1",
60
- "@biomejs/cli-linux-arm64-musl": "1.9.1"
53
+ "@biomejs/cli-win32-x64": "1.9.2",
54
+ "@biomejs/cli-win32-arm64": "1.9.2",
55
+ "@biomejs/cli-darwin-x64": "1.9.2",
56
+ "@biomejs/cli-darwin-arm64": "1.9.2",
57
+ "@biomejs/cli-linux-x64": "1.9.2",
58
+ "@biomejs/cli-linux-arm64": "1.9.2",
59
+ "@biomejs/cli-linux-x64-musl": "1.9.2",
60
+ "@biomejs/cli-linux-arm64-musl": "1.9.2"
61
61
  }
62
62
  }