@biomejs/cli-linux-arm64
Advanced tools
Changelog
1.4.1 (2023-11-30)
package.json
, tsconfig.json
, etc.Fix some accidental line breaks when printing array expressions within arrow functions and other long lines #917. Contributed by @faultyserver
Match Prettier's breaking strategy for ArrowChain
layouts #934.
Contributed by @faultyserver
Fix double-printing of leading comments in arrow chain expressions #951. Contributed by @faultyserver
noSvgWithoutTitle
should skip elements that
have aria-hidden
attributes. Contributed by @vasucp1207Address #924
and #920. noUselessElse
now ignores else
clauses that follow at least one if
statement that doesn't break early. Contributed by @Conaclos
For example, the following code is no longer reported by the rule:
function f(x) {
if (x < 0) {
// this `if` doesn't break early.
} else if (x > 0) {
return x;
} else {
// This `else` block was previously reported as useless.
}
}
Fix #918. useSimpleNumberKeys no longer repports false positive on comments. Contributed by @kalleep
Fix #953. noRedeclare no longer reports type parameters with the same name in different mapped types as redeclarations. Contributed by @Conaclos
Fix #608. useExhaustiveDependencies no longer repports missing dependencies for React hooks without dependency array. Contributed by @kalleep