lightsoutAlpha

no-any

an `any` annotation with no lint-suppression comment licensing it

Deterministic checkblocking by defaultbasecode

The argument

No any — use unknown and narrow with type guards when the type is genuinely unknown; use specific types or generics when it isn't. A rare, justified bypass gets the project's lint-suppression comment with an explanation.

The proof

failsrc/parsing/parseRecord.ts
export const parseRecord = ({ raw }: { raw: any }): string => String(raw);
pass
// The rare, justified bypass the rule allows, with the reason written down.
// biome-ignore lint/suspicious/noExplicitAny: the vendor callback is untyped and its shape is not published
export const parseLegacyRecord = ({ raw }: { raw: any }): string => String(raw);

Turn it down

Both lines go in your lightsout.config.json.

"standards-checks": { "no-any": "advisory" }
"standards-checks": { "no-any": "off" }