coffeelint-no-class-fat-arrows
v0.1.0
Published
CoffeeLint rule which forbids fat arrows for object methods.
Downloads
757
Readme
coffeelint-no-class-fat-arrows
CoffeeLint rule which forbids fat arrows for object methods.
Description
This CoffeeLint rule verifies that object methods are not defined
with a fat arrow. This is useful for the code style where caller is expected to assure calls
of object methods are bound with the correct this
value.
Installation
npm install coffeelint-no-class-fat-arrows
Usage
Add the following configuration to coffeelint.json
:
"no_class_fat_arrows": {
"module": "coffeelint-no-class-fat-arrows"
}
Configuration
There are currently no configuration options.