0.3.0 • Published 2 years ago

eslint-plugin-bullhorn v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-bullhorn

This package provides Bullhorn's .eslintrc as an extensible shared config.

Usage

We export three ESLint configurations for your usage.

eslint-plugin-bullhorn

Our default export contains all of our ESLint rules, including EcmaScript 6+ and React. It requires eslint.

  1. npm install --save-dev eslint-config-bullhorn eslint
  2. add "plugins": ["bullhorn"] to your .eslintrc

Extend the configs you wish to use.

JSON ESLint config example:

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

The available configs are:

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

See ESlint config docs for more information.