eslint-plugin-ignore-use-effect
v1.2.1
Published
Better react exhaustive-deps eslint plugin
Downloads
9,608
Maintainers
Readme
Better react exhaustive-deps eslint plugin with static variable check
Installation
npm i eslint-plugin-ignore-use-effect
Usage
To use this plugin, you must disable original react-hooks/exhaustive-deps
rule
module.exports = {
// ...
plugins: ["react-hooks"],
rules: {
"react-hooks/exhaustive-deps": "off",
'ignore-use-effect/exhaustive-deps': 'warn',
}
// ...
}