Inspectopedia Help

'switch' statement with no 'default' branch

Reports a switch statement without default branches in CoffeeScript content. Such statements make tracking bugs difficult, if unexpected cases are ignored silently.

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

CoffeeScript, 233.SNAPSHOT

Last modified: 13 July 2023