coffeelint-prefer-english-operator
==================================
coffeelint-prefer-english-operator is a plugin of coffeelint. It checks for ==
, !=
, &&
, ||
. Some coding style such as polarmobile prefers english style operators.
i is i #yes
i == i #no
How to Install
- add
"coffeelint-prefer-english-operator": "0.0.3"
asdevDependencies
inpackage.json
npm install
How to Use
In your coffeelint.json
, add
{
#... other lint rules
{
"prefer_english_operator": {
"module": "coffeelint-prefer-english-operator",
"level": "error"
}
}
}
and run coffeelint