Problem
--only "" parses to enabledRules: [], which falls through the length guard and runs all rules instead of none.
Where
src/cli.ts (split/filter) + src/engine/engine.ts (enabledRules.length > 0 guard).
Acceptance
Add a failing test first asserting --only "" errors or runs zero rules. Then fix.
Problem
--only ""parses toenabledRules: [], which falls through the length guard and runs all rules instead of none.Where
src/cli.ts(split/filter) +src/engine/engine.ts(enabledRules.length > 0guard).Acceptance
Add a failing test first asserting
--only ""errors or runs zero rules. Then fix.