@yuu1111/biome-config 3.0.0 → 3.1.0
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.ja.md +4 -1
- package/README.md +4 -1
- package/base.json +1 -1
- package/package.json +1 -1
- package/react.json +1 -1
package/README.ja.md
CHANGED
|
@@ -44,7 +44,7 @@ GritQLのpluginはBiomeのlintを約2倍遅くしていたが、Oxlintでは同
|
|
|
44
44
|
| `markdown.formatter.enabled` | `true` |
|
|
45
45
|
| `assist.source.organizeImports` | `on` |
|
|
46
46
|
| `linter.rules.preset` | `recommended` |
|
|
47
|
-
| `nursery.noFloatingPromises` | `
|
|
47
|
+
| `nursery.noFloatingPromises` | `off` |
|
|
48
48
|
| `style.useImportsFirst` | `error` |
|
|
49
49
|
| `performance.noBarrelFile`、`performance.noReExportAll` | `error` |
|
|
50
50
|
| `complexity.noExcessiveCognitiveComplexity` | `warn` |
|
|
@@ -53,6 +53,9 @@ GritQLのpluginはBiomeのlintを約2倍遅くしていたが、Oxlintでは同
|
|
|
53
53
|
| `style.noNestedTernary`、`style.useErrorCause` | `warn` |
|
|
54
54
|
| `suspicious.noEmptyBlockStatements` | `warn` |
|
|
55
55
|
|
|
56
|
+
`nursery.noFloatingPromises` は型情報を使い、Biomeのlintの時間の大半を占める
|
|
57
|
+
同じ検出は [`@yuu1111/oxc-config`](../oxc-config/README.ja.md) の `oxlint/base` が `typescript/no-floating-promises` としてerrorで行うため、Biome側では切る
|
|
58
|
+
|
|
56
59
|
```json
|
|
57
60
|
{
|
|
58
61
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ GritQL plugins made the Biome lint about twice as slow, and Oxlint runs the same
|
|
|
44
44
|
| `markdown.formatter.enabled` | `true` |
|
|
45
45
|
| `assist.source.organizeImports` | `on` |
|
|
46
46
|
| `linter.rules.preset` | `recommended` |
|
|
47
|
-
| `nursery.noFloatingPromises` | `
|
|
47
|
+
| `nursery.noFloatingPromises` | `off` |
|
|
48
48
|
| `style.useImportsFirst` | `error` |
|
|
49
49
|
| `performance.noBarrelFile`, `performance.noReExportAll` | `error` |
|
|
50
50
|
| `complexity.noExcessiveCognitiveComplexity` | `warn` |
|
|
@@ -53,6 +53,9 @@ GritQL plugins made the Biome lint about twice as slow, and Oxlint runs the same
|
|
|
53
53
|
| `style.noNestedTernary`, `style.useErrorCause` | `warn` |
|
|
54
54
|
| `suspicious.noEmptyBlockStatements` | `warn` |
|
|
55
55
|
|
|
56
|
+
`nursery.noFloatingPromises` uses type information and takes most of the Biome lint time.
|
|
57
|
+
The `oxlint/base` preset of [`@yuu1111/oxc-config`](../oxc-config/README.md) reports the same problem as an error through `typescript/no-floating-promises`, so Biome leaves it off.
|
|
58
|
+
|
|
56
59
|
```json
|
|
57
60
|
{
|
|
58
61
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
package/base.json
CHANGED
package/package.json
CHANGED