coffeelint-brunch
Adds CoffeeLint support to brunch.
Last updated 3 years ago by paulmillr .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install coffeelint-brunch 
SYNC missed versions from official npm registry.

coffeelint-brunch

Adds coffeelint support to brunch.

Usage

Install the plugin via npm with npm install --save-dev coffeelint-brunch.

Or, do manual install:

  • Add "coffeelint-brunch": "x.y.z" to package.json of your brunch app. Pick a plugin version that corresponds to your minor (y) brunch version.
  • If you want to use git version of plugin, add "coffeelint-brunch": "git+ssh://git@github.com:ilkosta/coffeelint-brunch.git".

By default, only files in your config.paths.app are linted.

You can customize coffeelint config by changing brunch config using the native coffeelint options:

config =
  plugins:
    coffeelint:
      pattern: /^app\/.*\.coffee$/
      options:
        no_trailing_semicolons:
          level: "ignore"

You can also use the standard coffeelint.json file instead of adding exceptions in the brunch config:

config =
  plugins:
    coffeelint:
      useCoffeelintJson: yes

In the second case, any rules in plugins.coffeelint.options are ignored and instead coffeelint is supplied with the contents of the coffeelint.json file found in the root directory as the configuration object.

Every sub-option (pattern, options, useCoffeelintJson, globals) is optional.

License

Copyright (c) 2012 "ilkosta" Costantino Giuliodori.

Licensed under the MIT license.

Current Tags

  • 2.10.0                                ...           latest (3 years ago)

11 Versions

  • 2.10.0                                ...           3 years ago
  • 2.0.0                                ...           4 years ago
  • 1.7.1                                ...           5 years ago
  • 1.7.0                                ...           6 years ago
  • 1.5.0                                ...           7 years ago
  • 1.4.4                                ...           8 years ago
  • 1.4.3                                ...           8 years ago
  • 1.4.2                                ...           8 years ago
  • 1.4.1                                ...           8 years ago
  • 1.4.0                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 3
Last Month 19
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |