New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acolorbright/eslint-config-react

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acolorbright/eslint-config-react

ACB's ESLint config for using React

  • 4.2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by466.67%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-react

This plugin provides ACB's .eslintrc as an extensible shared config, based on Airbnb's eslint-config-airbnb.

Installation

The plugin requires eslint, @babel/core, @babel/eslint-parser, and the following other packages:

  • @mizdra/eslint-plugin-layout-shift
  • eslint-plugin-extra-rules
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-jsx-control-statements
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-simple-import-sort

If you don't need React, see eslint-config. For React with TypeScript see eslint-config-ts-react.

$ npx install-peerdeps -D @acolorbright/eslint-config-react && npm install -DE @acolorbright/eslint-config-react@latest

Then add "extends": "@acolorbright/eslint-config-react" to your .eslintrc file.

Since install-peerdeps doesn't have a flag to pin the exact version of the installed peer dependencies it's advisable to pin the installed versions in package.json by hand.

Keywords

FAQs

Package last updated on 30 May 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc