github-pages-deploy-action/node_modules/eslint-plugin-github
2020-03-31 08:54:32 -04:00
..
bin 3.4.3 2020-03-31 08:42:07 -04:00
lib 3.4.3 2020-03-31 08:42:07 -04:00
node_modules/.bin 3.4.3 Dependencies 2020-03-31 08:54:32 -04:00
LICENSE 3.4.3 2020-03-31 08:42:07 -04:00
package.json 3.4.3 Dependencies 2020-03-31 08:54:32 -04:00
prettier.config.js 3.4.3 2020-03-31 08:42:07 -04:00
README.md 3.4.3 2020-03-31 08:42:07 -04:00

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.