Socket
Book a DemoInstallSign in
Socket

@wolox/eslint-config-react

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wolox/eslint-config-react

Wolox's ESLint configuration for React projects

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

@wolox/eslint-config-react

FEArmy

Wolox's default ESLint React configuration

Dependencies

We use eslint as our linter and prettier as our code formatter

Also, this configuration relies on some peer dependencies you must add in your project as dev dependencies:

Make sure you check that the version you install in your project matches the one in this configuration's package.json

Usage

To use this config, make your eslint config extend from this configuration:

{
  // In case you want to use more than one config, you can compose it 
  // using an array of configurations instead of this string 
  "extends": "@wolox/eslint-config-react",
  "rules": {
    // You can override any rule here.
  }
}

Note that we use this configuration with @wolox/eslint-config. Although it is recommended to do so, it's not mandatory.

Keywords

ESLint

FAQs

Package last updated on 12 Apr 2023

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