@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 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` | `warn` |
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` | `warn` |
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
@@ -38,7 +38,7 @@
38
38
  "noExcessiveCognitiveComplexity": "warn"
39
39
  },
40
40
  "nursery": {
41
- "noFloatingPromises": "warn"
41
+ "noFloatingPromises": "off"
42
42
  },
43
43
  "performance": {
44
44
  "noBarrelFile": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuu1111/biome-config",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Shared Biome configuration",
5
5
  "homepage": "https://yuu1111.github.io/configs/packages/config/biome-config/",
6
6
  "repository": {
package/react.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "noExcessiveCognitiveComplexity": "warn"
39
39
  },
40
40
  "nursery": {
41
- "noFloatingPromises": "warn"
41
+ "noFloatingPromises": "off"
42
42
  },
43
43
  "performance": {
44
44
  "noBarrelFile": "error",