0.1.0 • Published 7 years ago
eslint-plugin-react-r2v v0.1.0
eslint-plugin-react-r2v
rules for react to vue
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-react-r2v:
$ npm install eslint-plugin-react-r2v --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-react-r2v globally.
Usage
Add react-r2v to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"react-r2v"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"react-r2v/rule-name": 2
}
}0.1.0
7 years ago