You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Malformed disabledRules shape is silently ignored #22
{"disabledRules": "MCP001"} (string instead of array) is silently ignored and all rules run. A user who thinks they disabled a rule gets a false sense of coverage.
Where
src/config.ts (normalizeConfig: only handles Array.isArray(obj.disabledRules)).
Acceptance
Add a failing test first asserting normalizeConfig({disabledRules: "MCP001"}) throws. Then fix.
Activity
royalpinto007 commentedon Sep 23, 2026
Closing as completed: PR #51 landed the fix — non-array disabledRules now throws instead of being silently ignored, with a regression test.