@braiins/eslint-config

Based on [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) with some changes and added plugins.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@braiins/eslint-config
Minified + gzip package size for @braiins/eslint-config in KB

Readme

eslint-config

Based on eslint-config-airbnb with some changes and added plugins.

Usage

Default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Install the correct versions of each package listed by the command:
npm info "@braiins/eslint-config@latest" peerDependencies

Linux/OSX users can run

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

Which produces and runs a command like:

yarn add -D @braiins/eslint-config eslint@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.#

Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.

npm install -g install-peerdeps
install-peerdeps --dev @braiins/eslint-config
  1. Add "extends": "@braiins/eslint-config" to your .eslintrc.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.