2.0.1 • Published 11 months ago
eslint-plugin-ko-react v2.0.1
eslint-plugin-ko-react
Eslint plugin for ko-react package
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-ko-react:
$ npm install eslint-plugin-ko-react --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ko-react globally.
Usage
Add ko-react to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["ko-react"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"ko-react/rule-name": 2
}
}Supported Rules
- Fill in provided rules here