0.1.0 • Published 7 years ago

eslint-plugin-react-r2v v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-react-r2v

rules for react to vue

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-react-r2v:

$ npm install eslint-plugin-react-r2v --save-dev

Note: 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
    }
}