Open History to see the last commit
1import { tanstackConfig } from '@tanstack/config/eslint'
2import pluginQuery from '@tanstack/eslint-plugin-query'
3import pluginReact from '@eslint-react/eslint-plugin'
4import * as reactHooks from 'eslint-plugin-react-hooks'
5β
6export default [
7 ...tanstackConfig,
8 ...pluginQuery.configs['flat/recommended'],
9 pluginReact.configs.recommended,
10 reactHooks.configs.recommended,
11 {
12 rules: {
13 'react-hooks/exhaustive-deps': 'error',
14 'react-hooks/rules-of-hooks': 'error',
15 },
16 },
17]