eslint-config-react-union
v0.20.0
Published
ESLint for React Union
Downloads
126
Keywords
Readme
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 [email protected] [email protected] [email protected] [email protected] [email protected] --save-dev
or
yarn add eslint-config-react-union [email protected] [email protected] [email protected] [email protected] [email protected] -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.*
.