correcting code for advanced-frontend project
npm install eslint-plugin-kvolk-plugincorrecting code for advanced-frontend project
You'll first need to install ESLint:
``sh`
npm i eslint --save-dev
Next, install eslint-plugin-kvolk-plugin:
`sh`
npm install eslint-plugin-kvolk-plugin --save-dev
Add kvolk-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
`json`
{
"plugins": [
"kvolk-plugin"
]
}
Then configure the rules you want to use under the rules section.
`json``
{
"rules": {
"kvolk-plugin/rule-name": 2
}
}
* Fill in provided rules here