@biomejs/biome 1.8.3 → 1.8.4-nightly.a579bf7

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 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/embed/fund-our-backlog.svg?org=biomejs)](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
 
@@ -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
- "type": ["boolean", "null"]
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": [
@@ -1958,7 +2066,7 @@
1958
2066
  "useImportExtensions": {
1959
2067
  "description": "Enforce file extensions for relative imports.",
1960
2068
  "anyOf": [
1961
- { "$ref": "#/definitions/RuleFixConfiguration" },
2069
+ { "$ref": "#/definitions/UseImportExtensionsConfiguration" },
1962
2070
  { "type": "null" }
1963
2071
  ]
1964
2072
  },
@@ -2049,6 +2157,13 @@
2049
2157
  { "type": "null" }
2050
2158
  ]
2051
2159
  },
2160
+ "bracketSpacing": {
2161
+ "description": "Whether to insert spaces around brackets in object literals. Defaults to true.",
2162
+ "anyOf": [
2163
+ { "$ref": "#/definitions/BracketSpacing" },
2164
+ { "type": "null" }
2165
+ ]
2166
+ },
2052
2167
  "enabled": { "type": ["boolean", "null"] },
2053
2168
  "formatWithErrors": {
2054
2169
  "description": "Stores whether formatting should be allowed to proceed if a given file has syntax errors",
@@ -2121,6 +2236,13 @@
2121
2236
  { "type": "null" }
2122
2237
  ]
2123
2238
  },
2239
+ "graphql": {
2240
+ "description": "Specific configuration for the Graphql language",
2241
+ "anyOf": [
2242
+ { "$ref": "#/definitions/GraphqlConfiguration" },
2243
+ { "type": "null" }
2244
+ ]
2245
+ },
2124
2246
  "ignore": {
2125
2247
  "description": "A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.",
2126
2248
  "anyOf": [{ "$ref": "#/definitions/StringSet" }, { "type": "null" }]
@@ -2443,6 +2565,25 @@
2443
2565
  },
2444
2566
  "additionalProperties": false
2445
2567
  },
2568
+ "RuleWithUseImportExtensionsOptions": {
2569
+ "type": "object",
2570
+ "required": ["level", "options"],
2571
+ "properties": {
2572
+ "fix": {
2573
+ "description": "The kind of the code actions emitted by the rule",
2574
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
2575
+ },
2576
+ "level": {
2577
+ "description": "The severity of the emitted diagnostics by the rule",
2578
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2579
+ },
2580
+ "options": {
2581
+ "description": "Rule's options",
2582
+ "allOf": [{ "$ref": "#/definitions/UseImportExtensionsOptions" }]
2583
+ }
2584
+ },
2585
+ "additionalProperties": false
2586
+ },
2446
2587
  "RuleWithUseValidAutocompleteOptions": {
2447
2588
  "type": "object",
2448
2589
  "required": ["level", "options"],
@@ -2930,6 +3071,21 @@
2930
3071
  },
2931
3072
  "additionalProperties": false
2932
3073
  },
3074
+ "SuggestedExtensionMapping": {
3075
+ "type": "object",
3076
+ "required": ["component", "module"],
3077
+ "properties": {
3078
+ "component": {
3079
+ "description": "Extension that should be used for component file imports",
3080
+ "type": "string"
3081
+ },
3082
+ "module": {
3083
+ "description": "Extension that should be used for module imports",
3084
+ "type": "string"
3085
+ }
3086
+ },
3087
+ "additionalProperties": false
3088
+ },
2933
3089
  "Suspicious": {
2934
3090
  "description": "A list of rules that belong to this group",
2935
3091
  "type": "object",
@@ -3364,6 +3520,26 @@
3364
3520
  }
3365
3521
  ]
3366
3522
  },
3523
+ "UseImportExtensionsConfiguration": {
3524
+ "anyOf": [
3525
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3526
+ { "$ref": "#/definitions/RuleWithUseImportExtensionsOptions" }
3527
+ ]
3528
+ },
3529
+ "UseImportExtensionsOptions": {
3530
+ "type": "object",
3531
+ "required": ["suggestedExtensions"],
3532
+ "properties": {
3533
+ "suggestedExtensions": {
3534
+ "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",
3535
+ "type": "object",
3536
+ "additionalProperties": {
3537
+ "$ref": "#/definitions/SuggestedExtensionMapping"
3538
+ }
3539
+ }
3540
+ },
3541
+ "additionalProperties": false
3542
+ },
3367
3543
  "UseValidAutocompleteConfiguration": {
3368
3544
  "anyOf": [
3369
3545
  { "$ref": "#/definitions/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.8.3",
3
+ "version": "1.8.4-nightly.a579bf7",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -42,13 +42,13 @@
42
42
  "url": "https://opencollective.com/biome"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@biomejs/cli-win32-x64": "1.8.3",
46
- "@biomejs/cli-win32-arm64": "1.8.3",
47
- "@biomejs/cli-darwin-x64": "1.8.3",
48
- "@biomejs/cli-darwin-arm64": "1.8.3",
49
- "@biomejs/cli-linux-x64": "1.8.3",
50
- "@biomejs/cli-linux-arm64": "1.8.3",
51
- "@biomejs/cli-linux-x64-musl": "1.8.3",
52
- "@biomejs/cli-linux-arm64-musl": "1.8.3"
45
+ "@biomejs/cli-win32-x64": "1.8.4-nightly.a579bf7",
46
+ "@biomejs/cli-win32-arm64": "1.8.4-nightly.a579bf7",
47
+ "@biomejs/cli-darwin-x64": "1.8.4-nightly.a579bf7",
48
+ "@biomejs/cli-darwin-arm64": "1.8.4-nightly.a579bf7",
49
+ "@biomejs/cli-linux-x64": "1.8.4-nightly.a579bf7",
50
+ "@biomejs/cli-linux-arm64": "1.8.4-nightly.a579bf7",
51
+ "@biomejs/cli-linux-x64-musl": "1.8.4-nightly.a579bf7",
52
+ "@biomejs/cli-linux-arm64-musl": "1.8.4-nightly.a579bf7"
53
53
  }
54
54
  }