DashboardcliBiome noParameterProperties: never use …

Biome noParameterProperties: never use TypeScript constructor parameter properties in class definitions

Category: gotcha
Confidence: 1.00
ID: 019ef4b1-50f9-7612-8918-c3e086a9ffbf
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 1
Source session: 08YtbNcAJb0puQ22U
Created: 2026-06-23 13:35:21
Updated: 2026-06-23 13:35:21

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 15h ago

Content

Trap: TypeScript parameter properties (constructor(private readonly handle: FileHandle)) look like idiomatic shorthand and compile fine. But Biome enforces noParameterProperties and will error. Fix: always declare explicit class fields and assign in constructor body. Applies to all new classes in src/lib/**/*.ts. Caught during FileOldReader/MemoryOldReader addition in bspatch.ts — 4 Biome errors at lines 281, 310, 311, 312.

Move to: