0.2.1 • Published 6 years ago

eslint-config-brinkbit v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-brinkbit

npm version

This package provides Brinkbit's base JS .eslintrc as an extensible shared config.

Usage

We export two ESLint configurations for your usage.

eslint-config-brinkbit

Our default export contains Airbnb's ESLint rules with a few custom overrides. It requires eslint, eslint-config-airbnb-base, eslint-plugin-import, eslint-plugin-jsx-a11y, and eslint-plugin-react.

  1. Install the correct versions of each package, which are listed by the command:

    npm info "eslint-config-brinkbit@latest" peerDependencies

    Linux/OSX users can simply run

    (
      export PKG=eslint-config-brinkbit;
      npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "$PKG@latest"
    )

    Which produces and runs a command like:

      yarn add --dev eslint-config-brinkbit eslint@^#.#.# eslint-plugin-import@^#.#.#
  2. Add "extends": "brinkbit" or "extends": "brinkbit/test" to your .eslintrc

0.2.1

6 years ago

0.2.0

6 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago