@flycode-org/eslint-plugin-react-query
v0.0.2
Published
ESLint plugin for validating React Query code
Downloads
3
Readme
@flycode-org/eslint-plugin-react-query
ESLint plugin for validating React Query code
Installation
Install the plugin's package:
npm install --save-dev @flycode-org/eslint-plugin-react-query
# or
yarn add --dev @flycode-org/eslint-plugin-react-query
Add the plugin to the .eslintrc
file:
"plugins": [
...
+ "@flycode-org/react-query"
],
"rules": {
...
+ "@flycode-org/react-query/exhaustive-deps": "error",
}