Code Inspections in CoffeeScript
This topic lists all JetBrains Rider code inspections available in CoffeeScript.
You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the IDE settings Ctrl+Alt+S.
Probable bugs
Inspection | Description | Default Severity |
---|---|---|
'switch' statement with no 'default' branch | Reports a | |
Infinite loop statement | Reports a | |
Missing import statement | Reports a module that is not referenced through an Suggests inserting an import statement. | |
Object literal call | Reports an object literal expression that is invoked as if it were a function. | |
Variable assigned to itself | Reports any assignment of the form |
General
Inspection | Description | Default Severity |
---|---|---|
Function signature mismatch | Checks an argument in a CoffeeScript call expression that doesn't match the signature of the referenced function, including types, the number, and the order of arguments. Also, reports an overloading function that does not match the overloaded one in terms of parameters and return types. | |
Unused local symbols | Reports an unused locally accessible parameter, local variable, function, class, or private member declaration. |