Skip to content

machty/broccoli-es7-decorator-jshint-guards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published