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

@blucass/eslint-config-react

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blucass/eslint-config-react

A set of lint config rules for react project

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-react

A set of lint config rules for React project.

Installation

yarn add -D @blucass/eslint-config-react

# or

npm install -D @blucass/eslint-config-react

Usage

It's easy to integrate if you're using typescript. In your eslint config file, set extends:

module.exports = {
  extends: ['@blucass/react']
}

# or

module.exports = require('@blucass/eslint-config-react')

That's all!

Just for JS

NOTE:you must provide a babel config file such as babel.config.js in the root directory, since will not parse any experimental syntax when no configuration file is found. See more.

If you are just using js/jsx, what means you don't need typescript lint rules. The package also support it with @blucass/eslint-config-react/lib/eslint.

module.exports = {
  extends: [require.resolve('@blucass/eslint-config-react/lib/eslint')]
}

FAQs

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

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