Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 440 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 440 Bytes

eslint-plugin-github

Installation

$ npm install --save-dev eslint
$ npm install --save-dev eslint-plugin-github

Run initialization wizard.

$ node_modules/.bin/eslint-github-init

Set up npm run lint script.

{
  "private": true,
  "scripts": {
    "lint": "github-lint"
  }
}

The github-lint command will run eslint, flow and flow coverage checking depending on your project configuration.