eslint-config-wzx-react
v0.4.2
Published
The custom react eslint rules based on eslint-config-wzx. (Follow airbnb and Support Typescript Eslint)
Downloads
86
Maintainers
Readme
eslint-config-wzx-react
The custom react eslint rules based on eslint-config-wzx. (Follow airbnb and Support Typescript Eslint)
:cd: Installation
npm install --save-dev eslint-config-wzx-react
:bulb: Typescript eslint needs to install typescript, @typescript-eslint/parser, @typescript-eslint/eslint-plugin.
npm install --save-dev typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin
:rocket: Usage
Add eslint-config-wzx-react to the "extends" in your .eslintrc.* file
.
{
"extends": "wzx-react"
}
:bulb: Typescript eslint needs tsconfig.json
in your project root directory.
:lock: License
MIT.