The Wayback Machine - https://web.archive.org/web/20190727152937/https://github.com/github/eslint-plugin-github
Skip to content
An opinionated collection of ESLint shared configs and rules used by GitHub.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin style: fix no-shadow lint violations Mar 7, 2019
docs Revert "feat: add no-edge-desture-bug rule" Feb 27, 2019
lib Check indent seems buggy with examples Jul 24, 2019
tests set ecmaVersion in tests Jun 26, 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 Format package json with npm, not prettier Apr 23, 2018
.travis.yml Require node 8.9.3 LTS Dec 12, 2017
LICENSE Add LICENSE Mar 28, 2016
README.md Add note about github-lint bin Jan 16, 2018
package.json
prettier.config.js Use exportable prettier config Oct 26, 2017

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.