0.0.6 • Published 9 years ago

coffeelint-ensure-named-args v0.0.6

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

coffeelint-ensure-named-args

A CoffeeLint rule that prohibits calling a function without first naming each argument.

Description

This CoffeeLint rule forbids calling a function without first naming each argument.

For example, myFunc(name = 'Bob') is OK, but myFunc('Bob') forbidden.

Installation

npm install coffeelint-ensure-named-args

Usage

Add the following configuration to coffeelint.json:

"ensure-named-args": {
  "module": "coffeelint-ensure-named-args"
}