Package Exports
- coffeelint-no-operation-expression
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (coffeelint-no-operation-expression) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
coffeelint-no-operation-expression
CoffeeLint rule that finds instances where there's some code that doesn't do anything. This could mean a variable, string, or number on a line with no assignment or calls happening to it.
Ex: Any of these statements on a line by itself:
5
'stuff'
obj
By themselves, they don't do anything at all. They're likely a development oversight The chai variables "expect", "assert", and "should" bypass this rule since they have __getter__ magic happening in them.
Installation
npm install coffeelint-no-operation-expression
Usage
Add the following configuration to coffeelint.json:
"no_operation_expression": {
"module": "coffeelint-no-operation-expression"
}
Configuration
There are currently no configuration options.