Open History to see the last commit
1// @ts-check
2β
3import { defineConfig } from 'eslint/config'
4import rootConfig from './root.eslint.config.js'
5β
6export default defineConfig([
7 ...rootConfig,
8 {
9 rules: {
10 'cspell/spellchecker': 'off',
11 '@typescript-eslint/no-unnecessary-condition': 'off',
12 'import/no-duplicates': 'off',
13 'import/no-unresolved': 'off',
14 'import/order': 'off',
15 'no-shadow': 'off',
16 'sort-imports': 'off',
17 },
18 },
19 {
20 files: ['src/**/__testfixtures__/**'],
21 rules: {
22 // Codemod fixtures intentionally preserve historical QueryClient syntax.
23 'no-restricted-syntax': 'off',
24 },
25 },
26])