coffeelint-no-class-fat-arrows

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i coffeelint-no-class-fat-arrows

Weekly Downloads

117

Version

0.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • mitar