Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

Performance History

Latest Results

fix(lint): noMisleadingReturnType false positive on union with exhausted boolean Add `GLOBAL_BOOLEAN_ID` so the `boolean` keyword is a predefined global type, alongside `GLOBAL_NUMBER_ID` and `GLOBAL_STRING_ID`. Expose `Type::with_id` so a `Type` can be reframed against a different global ID while reusing its resolver. `TypeData::union_of` collapses `true | false` to the `boolean` keyword during inference. The signature takes `&mut dyn TypeResolver` so it can register the boolean keyword if neither variant is already present. The lint rule canonicalizes its per-return type vec in place: a `true`/`false` literal pair is replaced with a single boolean reference (via `Type::with_id(GLOBAL_BOOLEAN_ID)`). The downstream wider-than checks then see the canonical form, so the bare-`boolean` shortcut and the duplicated boolean-exhaustion logic both disappear.
minseong0324:fix/no-misleading-return-type-boolean-union
4 minutes ago
fix tests
Netail:feat/no-unnormalized-object-keys
10 hours ago
Merge branch 'main' into feat/no-unnormalized-object-keys
Netail:feat/no-unnormalized-object-keys
10 hours ago
Merge branch 'main' into feat/no-unsafe-values
Netail:feat/no-unsafe-values
12 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(lint): noMisleadingReturnType false positive on union with exhausted boolean#10115
5 hours ago
6fb1b62
minseong0324:fix/no-misleading-return-type-boolean-union
CodSpeed Performance Gauge
0%
10 hours ago
2119f62
Netail:feat/no-unnormalized-object-keys
CodSpeed Performance Gauge
-44%
12 hours ago
5a3e353
Netail:feat/no-unsafe-values
© 2026 CodSpeed Technology
Home Terms Privacy Docs