ignite-standard
v1.0.0
Published
An ignite wrapper for Standard JS linter
Downloads
1,344
Readme
Ignite Standard
An Ignite wrapper for Standard.js
Adds the module, as well as the following npm scripts:
package.json
{
"scripts": {
...
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"fixcode": "standard --fix"
...
}
}
Also adds linting to the existing git-hook
Example
If you don't currently have a linter installed in your Ignite project, run ignite add standard
If you are igniting a project from scratch using IR boilerplates (https://github.com/infinitered/ignite/blob/master/BOILERPLATES.md), this plugin is included by default.
Contributing
Contributing
- Clone this repo
- Run yarn install
- Run yarn test
- Check out a branch and make your changes
- Write tests for those changes
- Submit a pull request back upstream
License
This plugin is licensed MIT