ignite-standard

1.0.0 • Public • Published

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

  1. Clone this repo
  2. Run yarn install
  3. Run yarn test
  4. Check out a branch and make your changes
  5. Write tests for those changes
  6. Submit a pull request back upstream

License

This plugin is licensed MIT

Readme

Keywords

none

Package Sidebar

Install

npm i ignite-standard

Weekly Downloads

403

Version

1.0.0

License

MIT

Last publish

Collaborators

  • robinheinze