Socket
Book a DemoInstallSign in
Socket

eslint-config-react-union

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-react-union

ESLint for React Union

Source
npmnpm
Version
0.15.0
Version published
Weekly downloads
38
52%
Maintainers
2
Weekly downloads
 
Created
Source

eslint-config-react-union

The package provides React Unions's .eslintrc.* as an extensible shared config.

Usage

There are two ESLint configurations for you to use.

eslint-config-react-union

The default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires eslint, babel-eslint, eslint-plugin-babel, eslint-plugin-import and eslint-plugin-react.

Installation

npm install eslint-config-react-union eslint@5.5.0 babel-eslint@10.0.0 eslint-plugin-babel@5.2.1 eslint-plugin-react@7.11.1 eslint-plugin-import@2.14.0 --save-dev

or

yarn add eslint-config-react-union eslint@5.5.0 babel-eslint@10.0.0 eslint-plugin-babel@5.2.1 eslint-plugin-react@7.11.1 eslint-plugin-import@2.14.0 -D

And add "extends": "react-union" to your .eslintrc.

eslint-config-react-union/base

The eslint-config-react-union without excluding rules for React.

Add "extends": "eslint-config-react-union/base" to your .eslintrc.*.

FAQs

Package last updated on 03 Dec 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.