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

eslint.config.js

25 lines572 Bytes

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