Skip to content
An opinionated collection of ESLint shared configs and rules used by GitHub.
Branch: master
Clone or download
Latest commit 03aa5d2 Mar 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
docs Revert "feat: add no-edge-desture-bug rule" Feb 27, 2019
lib
tests Revert "feat: add no-edge-desture-bug rule" Feb 27, 2019
.eslintrc.js Enable babel-eslint parser for async syntax Dec 9, 2017
.flowconfig Add flowconfig Jan 13, 2018
.gitignore Ignore yarn lockfile Dec 8, 2017
.prettierignore
.travis.yml Require node 8.9.3 LTS Dec 12, 2017
LICENSE
README.md
package.json
prettier.config.js

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.

You can’t perform that action at this time.