Skip to content

Rule: Warn on case fallthrough #19

Description

@nzakas

We should warn when a case falls through only if:

  1. There are statements in the case.
  2. There is no comment at the end of the case that says "falls through".

The rule ID should be no-fallthrough

Metadata

Metadata

Assignees

No one assigned

    Labels

    archived due to ageThis issue has been archived; please open a new issue for any further discussionenhancementThis change enhances an existing feature of ESLintruleRelates to ESLint's core rules

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions