| Summary: | [eslint] provide a no-fallthrough rule | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 6.0 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Michael Rennie
Pushed fix + tests to: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f4e5c19d8ddd5d640fca5a76f2cde55d9c15e4d4 Note that this rule does not do any form of flow analysis, but only checks for a returnable statement in the case statements block. An expected fall-through can be silenced using the //$FALLTHROUGH$ comment |