tree: f5a4628192808911eb087b232e17bbfc0e93cb03 [path history] [tgz]
  1. bin/
  2. lib/
  3. node_modules/
  4. LICENSE
  5. package.json
  6. prettier.config.js
  7. README.md
node_modules/eslint-plugin-github/README.md

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.