Open History to see the last commit
1// @ts-check
2β
3import pluginReactHooks from 'eslint-plugin-react-hooks'
4import rootConfig from '../../eslint.config.js'
5β
6/** @type {import('eslint').Linter.Config[]} */
7export default [
8 ...rootConfig,
9 {
10 plugins: {
11 'react-hooks': pluginReactHooks,
12 },
13 rules: {
14 'react-hooks/exhaustive-deps': 'error',
15 'react-hooks/rules-of-hooks': 'error',
16 },
17 },
18]