github-pages-deploy-action/node_modules/eslint-plugin-github
James Ives 132898c54c 3.7.0 🚀
2020-10-17 15:22:15 -04:00
..
bin 3.7.0 🚀 2020-10-17 15:22:15 -04:00
lib 3.7.0 🚀 2020-10-17 15:22:15 -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.7.0 🚀 2020-10-17 15:22:15 -04:00
README.md 3.7.0 🚀 2020-10-17 15:22:15 -04:00

eslint-plugin-github

Installation

$ npm install --save-dev eslint eslint-plugin-github

Setup

Add github to your list of plugins in your ESLint config.

JSON ESLint config example:

{
  "plugins": ["github"]
}

Extend the configs you wish to use.

JSON ESLint config example:

{
  "extends": ["plugin:github/recommended"]
}

The available configs are:

  • app
    • Rules useful for github applications.
  • browser
    • Useful rules when shipping your app to the browser.
  • recommended
    • Recommended rules for every application.
  • typescript
    • Useful rules when writing TypeScript.