Code Inspections in CoffeeScript
This topic lists all JetBrains Rider code inspections available in CoffeeScript.
|'switch' statement with no default branch|| |
Reports any switch statements in CoffeeScript content which lack default branches. Such statements may result in difficult bugs, if unexpected cases are silently ignored.
|Arguments object outside function|| |
Checks if arguments object used outside function
|Infinite loop statement|| |
Reports any instances of for , while , or do statements which can only exit by throwing an exception. While such statements may be correct, they are often a symptom of coding errors.
|Literal is not a function|| |
Reports when literal expression used as function call.
|Missing import statement|| |
Checks that all modules are referenced through import statements.
|Variable is assigned to itself|| |
Reports any assignments of the form x = x in CoffeeScript content. These are pointless, and usually indicate programmer error.