Socket
Socket
Sign inDemoInstall

@instea/eslint-config-react

Package Overview
Dependencies
6
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @instea/eslint-config-react

ESLint config for React projects


Version published
Weekly downloads
26
increased by188.89%
Maintainers
3
Created
Weekly downloads
 

Readme

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

Last updated on 04 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc