eslint-config-ksv741/rules/react/.eslint-react-hooks.js
Sergey Krylov 23f1c08611 feat: add eslint 9 support, update dependencies
BREAKING CHANGE: not support eslint 8 versions and lower
2024-11-01 07:49:28 +03:00

13 lines
255 B
JavaScript

const reactHooks = require('eslint-plugin-react-hooks');
module.exports = {
name: 'react-hooks',
plugins: {
'react-hooks': reactHooks,
},
rules: {
'react-hooks/exhaustive-deps': 'error',
'react-hooks/rules-of-hooks': 'error',
},
};