8000 GitHub - github/eslint-plugin-github at bc687f59421fb71e009a25742dab5edd2bc72961
[go: up one dir, main page]

Skip to content

github/eslint-plugin-github

Repository files navigation

eslint-plugin-github

Node CI

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:

  • internal
    • 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.

About

An opinionated collection of ESLint rules used by GitHub.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 51

Languages

0