Give that you already have ESLint installed, run:
yarn add -D @kiwi/eslint-plugin
After installing the module, just add it to your plugins
array inside your .eslintrc
.
// .eslintrc
{
...,
"plugins": ["@kiwi"]
}
This plugin provides the following custom ESLint rules:
-
react-descriptive-effect
: Encourage descriptive React effects.