@brickblock/eslint-config-react

Our shared eslint-config-react implementing our React code styleguide

Stats

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

Readme

eslint-config-react

ESLint shareable config for all our React projects. This package contains only React-specific rules. In addition to this package, you should also install our eslint-config-base.

How to use this package?

  1. Install Package

    yarn add --dev @brickblock/eslint-config-react
    
  2. Install Peer Dependencies

    npm info "@brickblock/eslint-config-react@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "@brickblock/eslint-config-react@latest"
    
  3. Use Package

Once @brickblock/eslint-config-react is installed, you can use it by adding it to the extends section of your ESLint configuration.

/* .eslintrc.js */

module.exports = {
  extends: [
    '@brickblock/eslint-config-base',
    '@brickblock/eslint-config-react'
  ]
}

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.