@biomejs/biome 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/configuration_schema.json +16 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
|
-
**Biome** formats
|
|
29
|
+
**Biome** formats and lints your code in a [fraction of a second][bench].
|
|
30
30
|
|
|
31
31
|
**Biome** supports JavaScript, TypeScript, JSON, and CSS.
|
|
32
32
|
It aims to support [all main languages][language-support] of modern web development.
|
|
@@ -50,12 +50,8 @@ with a sophisticated parser that represents the source text in full fidelity and
|
|
|
50
50
|
Check out our [homepage][biomejs] to learn more about Biome,
|
|
51
51
|
or directly head to the [Getting Started guide][getting-started] to start using Biome.
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Browse Biome's internal [Rust API Documentation] if you're interested to learn more about how Biome works.
|
|
56
|
-
|
|
53
|
+
[bench]: https://github.com/biomejs/biome/blob/main/benchmark/README.md
|
|
57
54
|
[biomejs]: https://biomejs.dev/
|
|
58
55
|
[biome-philosophy]: https://biomejs.dev/
|
|
59
|
-
[Rust API Documentation]: https://rustdocs.biomejs.dev/
|
|
60
56
|
[language-support]: https://biomejs.dev/internals/language_support/
|
|
61
|
-
[getting-started]: https://biomejs.dev/guides/getting-started/
|
|
57
|
+
[getting-started]: https://biomejs.dev/guides/getting-started/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "Configuration",
|
|
4
|
-
"description": "The configuration that is contained inside the file `
|
|
4
|
+
"description": "The configuration that is contained inside the file `biome.json`",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"$schema": {
|
|
@@ -957,6 +957,13 @@
|
|
|
957
957
|
{ "type": "null" }
|
|
958
958
|
]
|
|
959
959
|
},
|
|
960
|
+
"noUselessThisAlias": {
|
|
961
|
+
"description": "Disallow useless this aliasing.",
|
|
962
|
+
"anyOf": [
|
|
963
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
964
|
+
{ "type": "null" }
|
|
965
|
+
]
|
|
966
|
+
},
|
|
960
967
|
"noVoid": {
|
|
961
968
|
"description": "Disallow the use of void operators, which is not a familiar operator.",
|
|
962
969
|
"anyOf": [
|
|
@@ -989,6 +996,13 @@
|
|
|
989
996
|
{ "type": "null" }
|
|
990
997
|
]
|
|
991
998
|
},
|
|
999
|
+
"useGetterReturn": {
|
|
1000
|
+
"description": "Enforce get methods to always return a value.",
|
|
1001
|
+
"anyOf": [
|
|
1002
|
+
{ "$ref": "#/definitions/RuleConfiguration" },
|
|
1003
|
+
{ "type": "null" }
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
992
1006
|
"useGroupedTypeImport": {
|
|
993
1007
|
"description": "Enforce the use of import type when an import only has specifiers with type qualifier.",
|
|
994
1008
|
"anyOf": [
|
|
@@ -1692,7 +1706,7 @@
|
|
|
1692
1706
|
"type": ["boolean", "null"]
|
|
1693
1707
|
},
|
|
1694
1708
|
"root": {
|
|
1695
|
-
"description": "The folder where Biome should check for VCS files. By default, Biome will use the same folder where `
|
|
1709
|
+
"description": "The folder where Biome should check for VCS files. By default, Biome will use the same folder where `biome.json` was found.\n\nIf Biome can't find the configuration, it will attempt to use the current working directory. If no current working directory can't be found, Biome won't use the VCS integration, and a diagnostic will be emitted",
|
|
1696
1710
|
"type": ["string", "null"]
|
|
1697
1711
|
},
|
|
1698
1712
|
"useIgnoreFile": {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/biome","version":"0.2.
|
|
1
|
+
{"name":"@biomejs/biome","version":"0.2.3","bin":"bin/biome","scripts":{"postinstall":"node scripts/postinstall.js"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"packages/@biomejs/biome"},"author":"Emanuele Stoppa","license":"MIT","bugs":"https://github.com/biomejs/biome/issues","description":"Biome is a toolchain for the web: formatter, linter and more","files":["bin/biome","scripts/postinstall.js","configuration_schema.json","README.md"],"keywords":["JavaScript","TypeScript","format","lint","toolchain","JSON"],"engines":{"node":">=14.*"},"optionalDependencies":{"@biomejs/cli-win32-x64":"0.2.3","@biomejs/cli-win32-arm64":"0.2.3","@biomejs/cli-darwin-x64":"0.2.3","@biomejs/cli-darwin-arm64":"0.2.3","@biomejs/cli-linux-x64":"0.2.3","@biomejs/cli-linux-arm64":"0.2.3"}}
|