broccoli-es7-decorator-jshint-guards

0.0.1 • Public • Published

broccoli-es7-decorator-jshint-guards Build Status

Wraps your ES7 decorators in jshint guards so that jshint doesn't complain about new syntax it doesn't (yet) understand.

Install

From NPM:

npm install broccoli-es7-decorator-jshint-guards --save-dev

Broccoli Filter

Assuming installation via NPM, you can use broccoli-es7-decorator-jshint-guards in your Brocfile.js like this:

var decoratorGuards = require('broccoli-es7-decorator-jshint-guards');
module.exports = decoratorGuards('src', {
  files: [
    '**/*.js'
  ]
});

The files option is passed directly to broccoli-replace, so check those docs for other patterns.

Package Sidebar

Install

npm i broccoli-es7-decorator-jshint-guards

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • machty