plugin · always apply · plugin
typescript-exhaustive-switch
Use exhaustive switch handling for TypeScript unions and enums
rules/typescript-exhaustive-switch/RULE.md · 4dd36de feat: catalog cursor mcps and rules
typescript-exhaustive-switch: In switch statements over discriminated unions or enums, use a never check in the default case so newly added variants cause compile-time failures until handled.
Changelog
- 4dd36defeat: catalog cursor mcps and rulesErbil Nas · 11/23/2026
Used with
- mcpscloudflarehttp: https://mcp.cloudflare.com/mcp
- mcpsgmailhttp: https://gmailmcp.googleapis.com/mcp/v1
- mcpsgoogle-calendarhttp: https://calendarmcp.googleapis.com/mcp/v1
- mcpspostmanhttp: https://mcp.postman.com/mcp
- mcpsquiveraihttp: https://app.quiver.ai/mcp
- mcpsstripehttp: https://mcp.stripe.com
- mcpsxhttp: https://api.x.com/mcp