Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

eslint.config.js

25 lines507 Bytes

1// @ts-check
2​
3// import pluginReact from '@eslint-react/eslint-plugin'
4// import pluginReactHooks from 'eslint-plugin-react-hooks'
5import rootConfig from '../../eslint.config.js'
6​
7export default [
8 ...rootConfig,
9 {
10 // ...pluginReact.configs.recommended,
11 files: ['**/*.{ts,tsx}'],
12 },
13 {
14 plugins: {
15 // 'react-hooks': pluginReactHooks,
16 },
17 rules: {},
18 },
19 {
20 files: ['**/__tests__/**'],
21 rules: {
22 '@typescript-eslint/no-unnecessary-condition': 'off',
23 },
24 },