Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 455 Bytes

no-duplicate-case.md

File metadata and controls

13 lines (7 loc) · 455 Bytes

Pattern: Duplicate case in switch statement

Issue: -

Description

Deprecated - This rule can be replaced with TSLint's no-duplicate-switch-case.

Do not use duplicate case labels in switch statements. Similar to the ESLint no-duplicate-case rule.

Further Reading