Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instea/eslint-config-react

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instea/eslint-config-react

ESLint config for React projects

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34
decreased by-15%
Maintainers
3
Weekly downloads
 
Created
Source

@instea/eslint-plugin-react

Default ESLint rules for React projects.

Installation

yarn add --dev prettier eslint

yarn add --dev @instea/eslint-config-react

Usage

Extend from this plugin in eslint configuration:

{
  "extends": ["@instea/react"]
}

Create .prettierrc file with this content:

{
  "semi": true,
  "singleQuote": true,
  "printWidth": 80,
  "trailingComma": "es5",
  "arrowParens": "avoid"
}

Run eslint using yarn:

yarn eslint . --max-warnings 0

FAQs

Package last updated on 04 Apr 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