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

By default bundled with:

Qodana for Ruby 2024.1, RubyMine 2024.1,

Can be installed with plugin:

CoffeeScript, 241.SNAPSHOT

Last modified: 12 March 2024