@biomejs/biome 1.8.3 → 1.8.4-nightly.bd1d0c6
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 +217 -0
- package/README.ja.md +5 -1
- package/README.md +13 -2
- package/{README.pt-br.md → README.pt-BR.md} +4 -1
- package/README.zh-CN.md +4 -1
- package/configuration_schema.json +227 -2
- package/package.json +12 -9
package/README.hi.md
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
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
|
+
हिन्दी | [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)
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
**Biome** वेब[^1] परियोजना[^2]ओं के लिए एक प्रदर्शनकारी उपकरण-श्रृंखला[^3] है, इसका उद्देश्य उक्त परियोजना[^2]ओं के स्वास्थ्य को बनाए रखने के लिए डेवलपर[^4] उपकरण प्रदान करना है।
|
|
41
|
+
|
|
42
|
+
**Biome** *JavaScript*, *TypeScript*, *JSX* और *JSON* के लिए **एक [तेज़ स्वरूपक](./benchmark#formatting)[^5]** है जो **[*Prettier* के साथ ९७% अनुकूलता](https://console.algora.io/challenges/prettier)[^6]** स्कोर[^7] करता है।
|
|
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] बनने में मदद करता है!
|
|
45
|
+
|
|
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
|
+
|
|
48
|
+
### स्थापना[^19]
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
npm install --save-dev --save-exact @biomejs/biome
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### प्रयोग[^20]
|
|
55
|
+
|
|
56
|
+
* फ़ाइलें[^21] स्वरूप[^5] करें
|
|
57
|
+
|
|
58
|
+
```shell
|
|
59
|
+
npx @biomejs/biome format --write ./src
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
* फ़ाइलें[^21] लिंट[^8] करें
|
|
63
|
+
|
|
64
|
+
```shell
|
|
65
|
+
npx @biomejs/biome lint ./src
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
* स्वरूप, लिंट आदि चलाएँ और सुरक्षित सुझाव लागू करें
|
|
69
|
+
|
|
70
|
+
```shell
|
|
71
|
+
npx @biomejs/biome check --write ./src
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
* CI वातावरण में सभी फ़ाइलों को स्वरूप, लिंट आदि के विरुद्ध जाँचें
|
|
75
|
+
|
|
76
|
+
```shell
|
|
77
|
+
npx @biomejs/biome ci ./src
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
यदि आप Biome को स्थापित[^19] किए बिना चलाना चाहते हैं, तो WebAssembly में संकलित[^22] [ऑनलाइन](https://biomejs.dev/playground/)[^23] [प्रयोगशाला](https://biomejs.dev/playground/)[^24] का उपयोग करें।
|
|
81
|
+
|
|
82
|
+
## दस्तावेज़ीकरण[^25]
|
|
83
|
+
|
|
84
|
+
Biome के बारे में अधिक जानने के लिए हमारे [मुखपृष्ठ][biomejs] पर जाएँ, या Biome का उपयोग शुरू करने के लिए सीधे [आरंभ करने की मार्गदर्शिका][आरंभ-करें][^26] पर जाएँ।
|
|
85
|
+
|
|
86
|
+
## Biome के बारे में और
|
|
87
|
+
|
|
88
|
+
**Biome** में उचित पूर्व-निर्धारन[^27] हैं और इसके लिए कॉन्फ़िगरेशन[^28] की आवश्यकता नहीं है।
|
|
89
|
+
|
|
90
|
+
**Biome** का लक्ष्य आधुनिक वेब[^1] विकास की [सभी मुख्य भाषाओं][भाषा-समर्थन] का समर्थन करना है।
|
|
91
|
+
|
|
92
|
+
**Biome** को कार्य करने के लिए [Node.js की आवश्यकता नहीं है।](https://biomejs.dev/guides/manual-installation/)
|
|
93
|
+
|
|
94
|
+
**Biome** में प्रथम-श्रेणी का LSP समर्थन है, जिसमें एक परिष्कृत[^29] पार्सर[^30] है जो स्रोत पाठ[^31] को पूर्ण निष्ठा और शीर्ष-स्तरीय त्रुटि[^32] पुनर्प्राप्ति[^33] में प्रस्तुत करता है।
|
|
95
|
+
|
|
96
|
+
**Biome** उन कार्यक्षमता[^34]ओं को एकीकृत करता है जो पहले अलग-अलग उपकरण थे। साझा आधार पर निर्माण करने से हमें कोड[^13] प्रोसेसिंग, त्रुटि[^32]यों को प्रदर्शित करने, समानांतर कार्य, कैशिंग[^35] और कॉन्फ़िगरेशन[^28] के लिए एक सुसंगत अनुभव प्रदान करने की अनुमति मिलती है।
|
|
97
|
+
|
|
98
|
+
हमारे [परियोजना दर्शनशास्र][biome-दर्शनशास्र] के बारे में और पढ़ें।
|
|
99
|
+
|
|
100
|
+
**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) के तहत संचालित है।
|
|
101
|
+
|
|
102
|
+
## वित्तपोषण[^36]
|
|
103
|
+
|
|
104
|
+
आप परियोजना[^2] को विभिन्न तरीकों से वित्तपोषित[^36] कर सकते हैं।
|
|
105
|
+
|
|
106
|
+
### परियोजना[^2] प्रायोजन[^37] और वित्तपोषण[^36]
|
|
107
|
+
|
|
108
|
+
आप [Open Collective](https://opencollective.com/biome) या [GitHub Sponsors](https://github.com/sponsors/biomejs) के माध्यम से परियोजना[^2] को प्रायोजित[^37] या वित्तपोषित[^36] कर सकते हैं।
|
|
109
|
+
|
|
110
|
+
Biome एक सरल प्रायोजन[^37] कार्यक्रम प्रदान करता है जो कंपनियों को विभिन्न डेवलपरों[^4] के बीच दृश्यता[^38] और मान्यता प्राप्त करने की अनुमति देता है।
|
|
111
|
+
|
|
112
|
+
### वित्तपोषण[^36] जारी करना
|
|
113
|
+
|
|
114
|
+
हम [Polar.sh](https://polar.sh/biomejs) का उपयोग उन विशिष्ट[^39] सुविधाओं के पक्ष में वोट[^40] करने और बढ़ावा देने के लिए करते हैं जिन्हें आप देखना और लागू करना चाहते हैं। हमारे बकाया कार्य[^41] की जाँच करें और हमारी मदद करें:
|
|
115
|
+
|
|
116
|
+
[](https://polar.sh/biomejs/)
|
|
117
|
+
|
|
118
|
+
## प्रायोजक[^37]
|
|
119
|
+
|
|
120
|
+
### स्वर्ण प्रायोजक[^42]
|
|
121
|
+
|
|
122
|
+
<table>
|
|
123
|
+
<tbody>
|
|
124
|
+
<tr>
|
|
125
|
+
<td align="center" valign="middle">
|
|
126
|
+
<a href="https://shiguredo.jp/" target="_blank"><img src="https://shiguredo.jp/official_shiguredo_logo.svg" height="120"></a>
|
|
127
|
+
</td>
|
|
128
|
+
</tr>
|
|
129
|
+
</tbody>
|
|
130
|
+
</table>
|
|
131
|
+
|
|
132
|
+
### रजत प्रायोजक[^43]
|
|
133
|
+
|
|
134
|
+
<table>
|
|
135
|
+
<tbody>
|
|
136
|
+
<tr>
|
|
137
|
+
<td align="center" valign="middle">
|
|
138
|
+
<a href="https://l2beat.com/" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100"></a>
|
|
139
|
+
</td>
|
|
140
|
+
</tr>
|
|
141
|
+
</tbody>
|
|
142
|
+
</table>
|
|
143
|
+
|
|
144
|
+
### कांस्य प्रायोजक[^44]
|
|
145
|
+
|
|
146
|
+
<table>
|
|
147
|
+
<tbody>
|
|
148
|
+
<tr>
|
|
149
|
+
<td align="center" valign="middle">
|
|
150
|
+
<a href="https://www.kanamekey.com" target="_blank"><img src="https://images.opencollective.com/kaname/d15fd98/logo/256.png?height=80" width="80"></a>
|
|
151
|
+
</td>
|
|
152
|
+
<td align="center" valign="middle">
|
|
153
|
+
<a href="https://nanabit.dev/" target="_blank"><img src="https://images.opencollective.com/nanabit/d15fd98/logo/256.png?height=80" width="80"></a>
|
|
154
|
+
</td>
|
|
155
|
+
<td align="center" valign="middle">
|
|
156
|
+
<a href="https://vital.io/" target="_blank"><img src="https://avatars.githubusercontent.com/u/25357309?s=200" width="80"></a>
|
|
157
|
+
</td>
|
|
158
|
+
<td align="center" valign="middle">
|
|
159
|
+
<a href="https://coderabbit.ai/" target="_blank"><img src="https://avatars.githubusercontent.com/u/132028505?s=200&v=4" width="80"></a>
|
|
160
|
+
</td>
|
|
161
|
+
</tr>
|
|
162
|
+
</tbody>
|
|
163
|
+
</table>
|
|
164
|
+
|
|
165
|
+
[biomejs]: https://biomejs.dev/
|
|
166
|
+
[biome-दर्शनशास्र]: https://biomejs.dev/internals/philosophy/
|
|
167
|
+
[भाषा-समर्थन]: https://biomejs.dev/internals/language-support/
|
|
168
|
+
[आरंभ-करें]: https://biomejs.dev/guides/getting-started/
|
|
169
|
+
|
|
170
|
+
## शब्द सूची
|
|
171
|
+
|
|
172
|
+
नीचे दिए गए तिरछे शब्द आगत शब्द हैं।
|
|
173
|
+
|
|
174
|
+
[^1]: *वेब* - web: the internet
|
|
175
|
+
[^2]: परियोजना - project
|
|
176
|
+
[^3]: उपकरण-श्रृंखला - toolchain
|
|
177
|
+
[^4]: *डेव/डेवलपर* - dev/developer
|
|
178
|
+
[^5]: स्वरूप/स्वरूपक - format/foramtter
|
|
179
|
+
[^6]: अनुकूल/अनुकूलता - compatible/compatibility
|
|
180
|
+
[^7]: *स्कोर* - score
|
|
181
|
+
[^8]: *लिंट/लिंटर* - lint/linter
|
|
182
|
+
[^9]: विस्तार/विस्तृत - detail/detailed
|
|
183
|
+
[^10]: संदर्भ/संदर्भिकृत - context/contextualized
|
|
184
|
+
[^11]: निदान - diagnosis
|
|
185
|
+
[^12]: *आउटपुट* - output
|
|
186
|
+
[^13]: *कोड* - code
|
|
187
|
+
[^14]: *प्रोग्रामर* - programmer
|
|
188
|
+
[^15]: संपादक - editor, the text editor: vscode, zed, etc.
|
|
189
|
+
[^16]: अंतरक्रिया/अंतरक्रियात्मक - interact/interactive
|
|
190
|
+
[^17]: *डिज़ाइन* - design
|
|
191
|
+
[^18]: विकृत - malformed
|
|
192
|
+
[^19]: स्थापित_करना/स्थापना - install/installation
|
|
193
|
+
[^20]: प्रयोग - usage
|
|
194
|
+
[^21]: *फ़ाइल* - file
|
|
195
|
+
[^22]: संकलित_करना/संकलित/संकलनकर्ता - compile/compiled/compiler
|
|
196
|
+
[^23]: *ऑनलाइन* - online
|
|
197
|
+
[^24]: प्रयोगशाला - laboratory
|
|
198
|
+
[^25]: दस्तावेज़/दस्तावेज़ीकरण - document/documentation
|
|
199
|
+
[^26]: मार्गदर्शिका - guide
|
|
200
|
+
[^27]: पूर्व-निर्धारित - default
|
|
201
|
+
[^28]: *कॉन्फ़िग/कॉन्फ़िगर/कॉन्फ़िगरेशन* - config/configure/configuration
|
|
202
|
+
[^29]: परिष्कृत - sophisticated
|
|
203
|
+
[^30]: *पार्सर* - parser
|
|
204
|
+
[^31]: पाठ - text
|
|
205
|
+
[^32]: त्रुटि - error
|
|
206
|
+
[^33]: पुनर्प्राप्ति - recovery
|
|
207
|
+
[^34]: कार्यक्षमता - functionality
|
|
208
|
+
[^35]: *कैश/कैशिंग* - cache/caching, ~~cash/cashing~~
|
|
209
|
+
[^36]: वित्तपोषित_करना/वित्तपोषण - fund/funding
|
|
210
|
+
[^37]: प्रायोजित/प्रायोजन - sponsor/sponsorship
|
|
211
|
+
[^38]: दृश्यता - visibility
|
|
212
|
+
[^39]: विशिष्ट - specific
|
|
213
|
+
[^40]: *वोट* - vote
|
|
214
|
+
[^41]: बकाया_कार्य - backlog
|
|
215
|
+
[^42]: स्वर्ण_प्रायोजक - Gold Sponsor
|
|
216
|
+
[^43]: रजत_प्रायोजक - Silver Sponsor
|
|
217
|
+
[^44]: कांस्य_प्रायोजक - Bronze Sponsor
|
package/README.ja.md
CHANGED
|
@@ -27,12 +27,16 @@
|
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
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 -->
|
|
30
33
|
<div align="center">
|
|
31
34
|
|
|
32
|
-
[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)
|
|
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)
|
|
33
36
|
|
|
34
37
|
</div>
|
|
35
38
|
|
|
39
|
+
|
|
36
40
|
**Biome** はWebプロジェクトのための高性能なツールチェーンであり、プロジェクトの健全性を維持するための開発者ツールの提供を目的としています。
|
|
37
41
|
|
|
38
42
|
**Biome は _JavaScript_, _TypeScript_, _JSX_ そして _JSON_ 向けの[高速なFormatter](./benchmark#formatting)**であり、**[_Prettier_ との互換性は97%](https://console.algora.io/challenges/prettier)** を達成しています。
|
package/README.md
CHANGED
|
@@ -25,12 +25,14 @@
|
|
|
25
25
|
[open-vsx-badge]: https://badgen.net/open-vsx/version/biomejs/biome?label=open-vsx&color=green
|
|
26
26
|
[open-vsx-url]: https://open-vsx.org/extension/biomejs/biome
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
</div>
|
|
30
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 -->
|
|
31
33
|
<div align="center">
|
|
32
34
|
|
|
33
|
-
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)
|
|
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)
|
|
34
36
|
|
|
35
37
|
</div>
|
|
36
38
|
|
|
@@ -128,6 +130,9 @@ We use [Polar.sh](https://polar.sh/biomejs) to up-vote and promote specific feat
|
|
|
128
130
|
<td align="center" valign="middle">
|
|
129
131
|
<a href="https://l2beat.com/" target="_blank"><img src="https://images.opencollective.com/l2beat/c2b2a27/logo/256.png" height="100"></a>
|
|
130
132
|
</td>
|
|
133
|
+
<td align="center" valign="middle">
|
|
134
|
+
<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>
|
|
135
|
+
</td>
|
|
131
136
|
</tr>
|
|
132
137
|
</tbody>
|
|
133
138
|
</table>
|
|
@@ -149,6 +154,12 @@ We use [Polar.sh](https://polar.sh/biomejs) to up-vote and promote specific feat
|
|
|
149
154
|
<td align="center" valign="middle">
|
|
150
155
|
<a href="https://coderabbit.ai/" target="_blank"><img src="https://avatars.githubusercontent.com/u/132028505?s=200&v=4" width="80"></a>
|
|
151
156
|
</td>
|
|
157
|
+
<td align="center" valign="middle">
|
|
158
|
+
<a href="https://forge42.dev/" target="_blank"><img src="https://avatars.githubusercontent.com/u/161314831?s=200&v=4" width="80"></a>
|
|
159
|
+
</td>
|
|
160
|
+
<td align="center" valign="middle">
|
|
161
|
+
<a href="https://transloadit.com/" target="_blank"><img src="https://avatars.githubusercontent.com/u/125754?s=200&v=4" width="80"></a>
|
|
162
|
+
</td>
|
|
152
163
|
</tr>
|
|
153
164
|
</tbody>
|
|
154
165
|
</table>
|
|
@@ -27,9 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
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 -->
|
|
30
33
|
<div align="center">
|
|
31
34
|
|
|
32
|
-
[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
|
|
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
|
|
33
36
|
|
|
34
37
|
</div>
|
|
35
38
|
|
package/README.zh-CN.md
CHANGED
|
@@ -27,9 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
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 -->
|
|
30
33
|
<div align="center">
|
|
31
34
|
|
|
32
|
-
[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)
|
|
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)
|
|
33
36
|
|
|
34
37
|
</div>
|
|
35
38
|
|
|
@@ -33,6 +33,13 @@
|
|
|
33
33
|
{ "type": "null" }
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
|
+
"graphql": {
|
|
37
|
+
"description": "Specific configuration for the GraphQL language",
|
|
38
|
+
"anyOf": [
|
|
39
|
+
{ "$ref": "#/definitions/GraphqlConfiguration" },
|
|
40
|
+
{ "type": "null" }
|
|
41
|
+
]
|
|
42
|
+
},
|
|
36
43
|
"javascript": {
|
|
37
44
|
"description": "Specific configuration for the JavaScript language",
|
|
38
45
|
"anyOf": [
|
|
@@ -299,6 +306,7 @@
|
|
|
299
306
|
},
|
|
300
307
|
"ArrowParentheses": { "type": "string", "enum": ["always", "asNeeded"] },
|
|
301
308
|
"AttributePosition": { "type": "string", "enum": ["auto", "multiline"] },
|
|
309
|
+
"BracketSpacing": { "type": "boolean" },
|
|
302
310
|
"Complexity": {
|
|
303
311
|
"description": "A list of rules that belong to this group",
|
|
304
312
|
"type": "object",
|
|
@@ -1100,6 +1108,13 @@
|
|
|
1100
1108
|
{ "type": "null" }
|
|
1101
1109
|
]
|
|
1102
1110
|
},
|
|
1111
|
+
"bracketSpacing": {
|
|
1112
|
+
"description": "Whether to insert spaces around brackets in object literals. Defaults to true.",
|
|
1113
|
+
"anyOf": [
|
|
1114
|
+
{ "$ref": "#/definitions/BracketSpacing" },
|
|
1115
|
+
{ "type": "null" }
|
|
1116
|
+
]
|
|
1117
|
+
},
|
|
1103
1118
|
"enabled": { "type": ["boolean", "null"] },
|
|
1104
1119
|
"formatWithErrors": {
|
|
1105
1120
|
"description": "Stores whether formatting should be allowed to proceed if a given file has syntax errors",
|
|
@@ -1135,6 +1150,82 @@
|
|
|
1135
1150
|
"lineWidth": {
|
|
1136
1151
|
"description": "What's the max width of a line. Defaults to 80.",
|
|
1137
1152
|
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
|
|
1153
|
+
},
|
|
1154
|
+
"useEditorconfig": {
|
|
1155
|
+
"description": "Use any `.editorconfig` files to configure the formatter. Configuration in `biome.json` will override `.editorconfig` configuration. Default: false.",
|
|
1156
|
+
"type": ["boolean", "null"]
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"additionalProperties": false
|
|
1160
|
+
},
|
|
1161
|
+
"GraphqlConfiguration": {
|
|
1162
|
+
"description": "Options applied to GraphQL files",
|
|
1163
|
+
"type": "object",
|
|
1164
|
+
"properties": {
|
|
1165
|
+
"formatter": {
|
|
1166
|
+
"description": "GraphQL formatter options",
|
|
1167
|
+
"anyOf": [
|
|
1168
|
+
{ "$ref": "#/definitions/GraphqlFormatter" },
|
|
1169
|
+
{ "type": "null" }
|
|
1170
|
+
]
|
|
1171
|
+
},
|
|
1172
|
+
"linter": {
|
|
1173
|
+
"anyOf": [
|
|
1174
|
+
{ "$ref": "#/definitions/GraphqlLinter" },
|
|
1175
|
+
{ "type": "null" }
|
|
1176
|
+
]
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"additionalProperties": false
|
|
1180
|
+
},
|
|
1181
|
+
"GraphqlFormatter": {
|
|
1182
|
+
"description": "Options that changes how the GraphQL formatter behaves",
|
|
1183
|
+
"type": "object",
|
|
1184
|
+
"properties": {
|
|
1185
|
+
"bracketSpacing": {
|
|
1186
|
+
"description": "Whether to insert spaces around brackets in object literals. Defaults to true.",
|
|
1187
|
+
"anyOf": [
|
|
1188
|
+
{ "$ref": "#/definitions/BracketSpacing" },
|
|
1189
|
+
{ "type": "null" }
|
|
1190
|
+
]
|
|
1191
|
+
},
|
|
1192
|
+
"enabled": {
|
|
1193
|
+
"description": "Control the formatter for GraphQL files.",
|
|
1194
|
+
"type": ["boolean", "null"]
|
|
1195
|
+
},
|
|
1196
|
+
"indentStyle": {
|
|
1197
|
+
"description": "The indent style applied to GraphQL files.",
|
|
1198
|
+
"anyOf": [
|
|
1199
|
+
{ "$ref": "#/definitions/PlainIndentStyle" },
|
|
1200
|
+
{ "type": "null" }
|
|
1201
|
+
]
|
|
1202
|
+
},
|
|
1203
|
+
"indentWidth": {
|
|
1204
|
+
"description": "The size of the indentation applied to GraphQL files. Default to 2.",
|
|
1205
|
+
"anyOf": [{ "$ref": "#/definitions/IndentWidth" }, { "type": "null" }]
|
|
1206
|
+
},
|
|
1207
|
+
"lineEnding": {
|
|
1208
|
+
"description": "The type of line ending applied to GraphQL files.",
|
|
1209
|
+
"anyOf": [{ "$ref": "#/definitions/LineEnding" }, { "type": "null" }]
|
|
1210
|
+
},
|
|
1211
|
+
"lineWidth": {
|
|
1212
|
+
"description": "What's the max width of a line applied to GraphQL files. Defaults to 80.",
|
|
1213
|
+
"anyOf": [{ "$ref": "#/definitions/LineWidth" }, { "type": "null" }]
|
|
1214
|
+
},
|
|
1215
|
+
"quoteStyle": {
|
|
1216
|
+
"description": "The type of quotes used in GraphQL code. Defaults to double.",
|
|
1217
|
+
"anyOf": [{ "$ref": "#/definitions/QuoteStyle" }, { "type": "null" }]
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"additionalProperties": false
|
|
1221
|
+
},
|
|
1222
|
+
"GraphqlLinter": {
|
|
1223
|
+
"description": "Options that changes how the GraphQL linter behaves",
|
|
1224
|
+
"type": "object",
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"enabled": {
|
|
1227
|
+
"description": "Control the formatter for GraphQL files.",
|
|
1228
|
+
"type": ["boolean", "null"]
|
|
1138
1229
|
}
|
|
1139
1230
|
},
|
|
1140
1231
|
"additionalProperties": false
|
|
@@ -1249,7 +1340,10 @@
|
|
|
1249
1340
|
},
|
|
1250
1341
|
"bracketSpacing": {
|
|
1251
1342
|
"description": "Whether to insert spaces around brackets in object literals. Defaults to true.",
|
|
1252
|
-
"
|
|
1343
|
+
"anyOf": [
|
|
1344
|
+
{ "$ref": "#/definitions/BracketSpacing" },
|
|
1345
|
+
{ "type": "null" }
|
|
1346
|
+
]
|
|
1253
1347
|
},
|
|
1254
1348
|
"enabled": {
|
|
1255
1349
|
"description": "Control the formatter for JavaScript (and its super languages) files.",
|
|
@@ -1713,6 +1807,20 @@
|
|
|
1713
1807
|
{ "type": "null" }
|
|
1714
1808
|
]
|
|
1715
1809
|
},
|
|
1810
|
+
"noDuplicatedFields": {
|
|
1811
|
+
"description": "No duplicated fields in GraphQL operations.",
|
|
1812
|
+
"anyOf": [
|
|
1813
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1814
|
+
{ "type": "null" }
|
|
1815
|
+
]
|
|
1816
|
+
},
|
|
1817
|
+
"noDynamicNamespaceImportAccess": {
|
|
1818
|
+
"description": "Disallow accessing namespace imports dynamically.",
|
|
1819
|
+
"anyOf": [
|
|
1820
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1821
|
+
{ "type": "null" }
|
|
1822
|
+
]
|
|
1823
|
+
},
|
|
1716
1824
|
"noEmptyBlock": {
|
|
1717
1825
|
"description": "Disallow CSS empty blocks.",
|
|
1718
1826
|
"anyOf": [
|
|
@@ -1755,6 +1863,20 @@
|
|
|
1755
1863
|
{ "type": "null" }
|
|
1756
1864
|
]
|
|
1757
1865
|
},
|
|
1866
|
+
"noIrregularWhitespace": {
|
|
1867
|
+
"description": "Disallows the use of irregular whitespace characters.",
|
|
1868
|
+
"anyOf": [
|
|
1869
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1870
|
+
{ "type": "null" }
|
|
1871
|
+
]
|
|
1872
|
+
},
|
|
1873
|
+
"noIrregularWhitespaceCss": {
|
|
1874
|
+
"description": "Disallows the use of irregular whitespace.",
|
|
1875
|
+
"anyOf": [
|
|
1876
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1877
|
+
{ "type": "null" }
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1758
1880
|
"noLabelWithoutControl": {
|
|
1759
1881
|
"description": "Enforce that a label element or component has a text label and an associated input.",
|
|
1760
1882
|
"anyOf": [
|
|
@@ -1790,6 +1912,13 @@
|
|
|
1790
1912
|
{ "type": "null" }
|
|
1791
1913
|
]
|
|
1792
1914
|
},
|
|
1915
|
+
"noStaticElementInteractions": {
|
|
1916
|
+
"description": "Enforce that static, visible elements (such as \\<div>) that have click handlers use the valid role attribute.",
|
|
1917
|
+
"anyOf": [
|
|
1918
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1919
|
+
{ "type": "null" }
|
|
1920
|
+
]
|
|
1921
|
+
},
|
|
1793
1922
|
"noSubstr": {
|
|
1794
1923
|
"description": "Enforce the use of String.slice() over String.substr() and String.substring().",
|
|
1795
1924
|
"anyOf": [
|
|
@@ -1874,6 +2003,13 @@
|
|
|
1874
2003
|
{ "type": "null" }
|
|
1875
2004
|
]
|
|
1876
2005
|
},
|
|
2006
|
+
"noValueAtRule": {
|
|
2007
|
+
"description": "Disallow use of @value rule in css modules.",
|
|
2008
|
+
"anyOf": [
|
|
2009
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
2010
|
+
{ "type": "null" }
|
|
2011
|
+
]
|
|
2012
|
+
},
|
|
1877
2013
|
"noYodaExpression": {
|
|
1878
2014
|
"description": "Disallow the use of yoda expressions.",
|
|
1879
2015
|
"anyOf": [
|
|
@@ -1899,6 +2035,13 @@
|
|
|
1899
2035
|
{ "type": "null" }
|
|
1900
2036
|
]
|
|
1901
2037
|
},
|
|
2038
|
+
"useConsistentCurlyBraces": {
|
|
2039
|
+
"description": "This rule enforces consistent use of curly braces inside JSX attributes and JSX children.",
|
|
2040
|
+
"anyOf": [
|
|
2041
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
2042
|
+
{ "type": "null" }
|
|
2043
|
+
]
|
|
2044
|
+
},
|
|
1902
2045
|
"useConsistentGridAreas": {
|
|
1903
2046
|
"description": "Disallows invalid named grid areas in CSS Grid Layouts.",
|
|
1904
2047
|
"anyOf": [
|
|
@@ -1958,7 +2101,7 @@
|
|
|
1958
2101
|
"useImportExtensions": {
|
|
1959
2102
|
"description": "Enforce file extensions for relative imports.",
|
|
1960
2103
|
"anyOf": [
|
|
1961
|
-
{ "$ref": "#/definitions/
|
|
2104
|
+
{ "$ref": "#/definitions/UseImportExtensionsConfiguration" },
|
|
1962
2105
|
{ "type": "null" }
|
|
1963
2106
|
]
|
|
1964
2107
|
},
|
|
@@ -1990,6 +2133,13 @@
|
|
|
1990
2133
|
{ "type": "null" }
|
|
1991
2134
|
]
|
|
1992
2135
|
},
|
|
2136
|
+
"useStrictMode": {
|
|
2137
|
+
"description": "Enforce the use of the directive \"use strict\" in script files.",
|
|
2138
|
+
"anyOf": [
|
|
2139
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
2140
|
+
{ "type": "null" }
|
|
2141
|
+
]
|
|
2142
|
+
},
|
|
1993
2143
|
"useThrowNewError": {
|
|
1994
2144
|
"description": "Require new when throwing an error.",
|
|
1995
2145
|
"anyOf": [
|
|
@@ -2011,6 +2161,13 @@
|
|
|
2011
2161
|
{ "type": "null" }
|
|
2012
2162
|
]
|
|
2013
2163
|
},
|
|
2164
|
+
"useTrimStartEnd": {
|
|
2165
|
+
"description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().",
|
|
2166
|
+
"anyOf": [
|
|
2167
|
+
{ "$ref": "#/definitions/RuleFixConfiguration" },
|
|
2168
|
+
{ "type": "null" }
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2014
2171
|
"useValidAutocomplete": {
|
|
2015
2172
|
"description": "Use valid values for the autocomplete attribute on input elements.",
|
|
2016
2173
|
"anyOf": [
|
|
@@ -2049,6 +2206,13 @@
|
|
|
2049
2206
|
{ "type": "null" }
|
|
2050
2207
|
]
|
|
2051
2208
|
},
|
|
2209
|
+
"bracketSpacing": {
|
|
2210
|
+
"description": "Whether to insert spaces around brackets in object literals. Defaults to true.",
|
|
2211
|
+
"anyOf": [
|
|
2212
|
+
{ "$ref": "#/definitions/BracketSpacing" },
|
|
2213
|
+
{ "type": "null" }
|
|
2214
|
+
]
|
|
2215
|
+
},
|
|
2052
2216
|
"enabled": { "type": ["boolean", "null"] },
|
|
2053
2217
|
"formatWithErrors": {
|
|
2054
2218
|
"description": "Stores whether formatting should be allowed to proceed if a given file has syntax errors",
|
|
@@ -2121,6 +2285,13 @@
|
|
|
2121
2285
|
{ "type": "null" }
|
|
2122
2286
|
]
|
|
2123
2287
|
},
|
|
2288
|
+
"graphql": {
|
|
2289
|
+
"description": "Specific configuration for the Graphql language",
|
|
2290
|
+
"anyOf": [
|
|
2291
|
+
{ "$ref": "#/definitions/GraphqlConfiguration" },
|
|
2292
|
+
{ "type": "null" }
|
|
2293
|
+
]
|
|
2294
|
+
},
|
|
2124
2295
|
"ignore": {
|
|
2125
2296
|
"description": "A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.",
|
|
2126
2297
|
"anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
|
|
@@ -2443,6 +2614,25 @@
|
|
|
2443
2614
|
},
|
|
2444
2615
|
"additionalProperties": false
|
|
2445
2616
|
},
|
|
2617
|
+
"RuleWithUseImportExtensionsOptions": {
|
|
2618
|
+
"type": "object",
|
|
2619
|
+
"required": ["level", "options"],
|
|
2620
|
+
"properties": {
|
|
2621
|
+
"fix": {
|
|
2622
|
+
"description": "The kind of the code actions emitted by the rule",
|
|
2623
|
+
"anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
|
|
2624
|
+
},
|
|
2625
|
+
"level": {
|
|
2626
|
+
"description": "The severity of the emitted diagnostics by the rule",
|
|
2627
|
+
"allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
|
|
2628
|
+
},
|
|
2629
|
+
"options": {
|
|
2630
|
+
"description": "Rule's options",
|
|
2631
|
+
"allOf": [{ "$ref": "#/definitions/UseImportExtensionsOptions" }]
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
"additionalProperties": false
|
|
2635
|
+
},
|
|
2446
2636
|
"RuleWithUseValidAutocompleteOptions": {
|
|
2447
2637
|
"type": "object",
|
|
2448
2638
|
"required": ["level", "options"],
|
|
@@ -2930,6 +3120,21 @@
|
|
|
2930
3120
|
},
|
|
2931
3121
|
"additionalProperties": false
|
|
2932
3122
|
},
|
|
3123
|
+
"SuggestedExtensionMapping": {
|
|
3124
|
+
"type": "object",
|
|
3125
|
+
"required": ["component", "module"],
|
|
3126
|
+
"properties": {
|
|
3127
|
+
"component": {
|
|
3128
|
+
"description": "Extension that should be used for component file imports",
|
|
3129
|
+
"type": "string"
|
|
3130
|
+
},
|
|
3131
|
+
"module": {
|
|
3132
|
+
"description": "Extension that should be used for module imports",
|
|
3133
|
+
"type": "string"
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
"additionalProperties": false
|
|
3137
|
+
},
|
|
2933
3138
|
"Suspicious": {
|
|
2934
3139
|
"description": "A list of rules that belong to this group",
|
|
2935
3140
|
"type": "object",
|
|
@@ -3364,6 +3569,26 @@
|
|
|
3364
3569
|
}
|
|
3365
3570
|
]
|
|
3366
3571
|
},
|
|
3572
|
+
"UseImportExtensionsConfiguration": {
|
|
3573
|
+
"anyOf": [
|
|
3574
|
+
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
|
3575
|
+
{ "$ref": "#/definitions/RuleWithUseImportExtensionsOptions" }
|
|
3576
|
+
]
|
|
3577
|
+
},
|
|
3578
|
+
"UseImportExtensionsOptions": {
|
|
3579
|
+
"type": "object",
|
|
3580
|
+
"required": ["suggestedExtensions"],
|
|
3581
|
+
"properties": {
|
|
3582
|
+
"suggestedExtensions": {
|
|
3583
|
+
"description": "A map of custom import extension mappings, where the key is the inspected file extension, and the value is a pair of `module` extension and `component` import extension",
|
|
3584
|
+
"type": "object",
|
|
3585
|
+
"additionalProperties": {
|
|
3586
|
+
"$ref": "#/definitions/SuggestedExtensionMapping"
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
},
|
|
3590
|
+
"additionalProperties": false
|
|
3591
|
+
},
|
|
3367
3592
|
"UseValidAutocompleteConfiguration": {
|
|
3368
3593
|
"anyOf": [
|
|
3369
3594
|
{ "$ref": "#/definitions/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4-nightly.bd1d0c6",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -41,14 +41,17 @@
|
|
|
41
41
|
"type": "opencollective",
|
|
42
42
|
"url": "https://opencollective.com/biome"
|
|
43
43
|
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"provenance": true
|
|
46
|
+
},
|
|
44
47
|
"optionalDependencies": {
|
|
45
|
-
"@biomejs/cli-win32-x64": "1.8.
|
|
46
|
-
"@biomejs/cli-win32-arm64": "1.8.
|
|
47
|
-
"@biomejs/cli-darwin-x64": "1.8.
|
|
48
|
-
"@biomejs/cli-darwin-arm64": "1.8.
|
|
49
|
-
"@biomejs/cli-linux-x64": "1.8.
|
|
50
|
-
"@biomejs/cli-linux-arm64": "1.8.
|
|
51
|
-
"@biomejs/cli-linux-x64-musl": "1.8.
|
|
52
|
-
"@biomejs/cli-linux-arm64-musl": "1.8.
|
|
48
|
+
"@biomejs/cli-win32-x64": "1.8.4-nightly.bd1d0c6",
|
|
49
|
+
"@biomejs/cli-win32-arm64": "1.8.4-nightly.bd1d0c6",
|
|
50
|
+
"@biomejs/cli-darwin-x64": "1.8.4-nightly.bd1d0c6",
|
|
51
|
+
"@biomejs/cli-darwin-arm64": "1.8.4-nightly.bd1d0c6",
|
|
52
|
+
"@biomejs/cli-linux-x64": "1.8.4-nightly.bd1d0c6",
|
|
53
|
+
"@biomejs/cli-linux-arm64": "1.8.4-nightly.bd1d0c6",
|
|
54
|
+
"@biomejs/cli-linux-x64-musl": "1.8.4-nightly.bd1d0c6",
|
|
55
|
+
"@biomejs/cli-linux-arm64-musl": "1.8.4-nightly.bd1d0c6"
|
|
53
56
|
}
|
|
54
57
|
}
|