🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@brickblock/eslint-config-react

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brickblock/eslint-config-react

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

latest
npmnpm
Version
3.0.0
Version published
Weekly downloads
42
-51.16%
Maintainers
2
Weekly downloads
 
Created
Source

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?

  • Install Package

    yarn add --dev @brickblock/eslint-config-react
    
  • 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"
    
  • 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'
  ]
}

FAQs

Package last updated on 28 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts