The Wayback Machine - https://web.archive.org/web/20180611154224/https://github.com/github/eslint-plugin-github
Skip to content
An opinionated collection of ESLint shared configs and rules used by GitHub.
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
lib
tests
.eslintrc.js
.flowconfig
.gitignore
.prettierignore
.travis.yml
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.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.