The Wayback Machine - https://web.archive.org/web/20190825204956/https://github.com/github/eslint-plugin-github
Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
An opinionated collection of ESLint shared configs and rules used by GitHub.
JavaScript
Branch: master
Clone or download
Latest commit 9f6171d Aug 23, 2019

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.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.