feat: add 12 stricter biome lint rules
New rules added to biome.json: style: - noShoutyConstants: discourage SCREAMING_SNAKE for non-exported consts - noEnum: prefer union types over TypeScript enums - noNestedTernary: ban nested ternary expressions - useCollapsedIf: merge nested if into else-if - useThrowNewError: require `new` with Error constructors - useThrowOnlyError: only throw Error objects - useNumberNamespace: prefer Number.X over global X - useAtIndex: prefer .at(-n) over arr[arr.length - n] complexity: - noUselessStringConcat: ban redundant string concatenation - noForEach: prefer for-of over .forEach() suspicious: - noConsole: ban console.log (catches debug leftovers) - noEvolvingTypes: ban implicitly widening types Fixed 15 existing violations (12 nested ternaries, 3 useAtIndex).
xonecas2026-03-18
e1c84e3343d8ba460fdb680ef7cc3f4e49195de2
parent 817223c