A Bystander plugin for CoffeeLint
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
test
.gitignore
Makefile
README.md
package.json

README.md

By-CoffeeLint

A Bystander plugin to auto-CoffeeLint after CoffeeScript compilation.
Note it has to be used in conjunction with by-coffeescript plugin.

Installation

To install by-coffeelint,

sudo npm install -g by-coffeelint

Options

config : an object of coffeelint options.

See the CoffeeLint website for the lint options and an example json config data.

Examples

Set no_trailing_whitespace to warn level.

// .bystander config file
.....
.....
  "plugins" : ["by-coffeescript", "by-write2js"],
  "by" : {
    "coffeelint" : {
      "config" : {
        "no_trailing_whitespace" : {
          "level" : "warn"
        }
      }
    }
  },
.....
.....

Broadcasted Events for further hacks

linted : successfully linted the given code.

See the annotated source for details.

Running Tests

Run tests with mocha

make

License

By-CoffeeLint is released under the MIT License. - see the LICENSE file