webhook-action/node_modules/eslint-plugin-github
Joel Male 9380ee26ff add ability to call self-signed or invalid certificate clients 2021-02-26 13:58:33 +10:00
..
bin Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
lib Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
node_modules/.bin add ability to call self-signed or invalid certificate clients 2021-02-26 13:58:33 +10:00
LICENSE Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
README.md Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
package.json Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00

README.md

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.