0.0.1 • Published 9 years ago
broccoli-es7-decorator-jshint-guards v0.0.1
broccoli-es7-decorator-jshint-guards
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.
0.0.1
9 years ago