coffeelint-no-class-fat-arrows

CoffeeLint rule which forbids fat arrows for object methods.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
coffeelint-no-class-fat-arrows
000.1.08 years ago8 years agoMinified + gzip package size for coffeelint-no-class-fat-arrows in KB

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.