Socket
Book a DemoInstallSign in
Socket

@spotify/eslint-config-react

Package Overview
Dependencies
Maintainers
4
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spotify/eslint-config-react

Spotify's ESLint config for React projects

latest
Source
npmnpm
Version
15.0.0
Version published
Weekly downloads
56K
9.29%
Maintainers
4
Weekly downloads
 
Created
Source

eslint-config-react

Spotify's ESLint config for react.

Installation

yarn add --dev @spotify/eslint-config-react eslint eslint-plugin-react eslint-plugin-jsx-a11y

Usage

After installing, update your project's .eslintrc.json file to import the rule sets you want:

{
  "extends" : [
    "@spotify/eslint-config-react"
  ]
}

Read the ESlint config docs for more information.

FAQs

Package last updated on 18 May 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