CoffeeLint rule that disallows trailing commas
This CoffeeLint rule disallows trailing commas.
npm install coffeelint-no-implicit-returns
Add the following configuration to coffeelint.json
:
"no_trailing_commas": {
"module": "coffeelint-no-trailing-commas"
}
There are currently no configuration options.
To run tests:
~/coffeelint-no-trailing-commas]$ npm run test
> coffeelint-no-trailing-commas@1.0.1 test /Users/jasonku/coffeelint-no-trailing-commas
> coffee vowsrunner.coffee --spec test/RuleProcessor.test.coffee
♢ no_trailing_commas
...
✓ OK » 3 honored (0.083s)