snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
25
packages/query-codemods/eslint.config.js
Normal file
25
packages/query-codemods/eslint.config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
// @ts-check
|
||||
|
||||
import rootConfig from './root.eslint.config.js'
|
||||
|
||||
export default [
|
||||
...rootConfig,
|
||||
{
|
||||
rules: {
|
||||
'cspell/spellchecker': 'off',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'off',
|
||||
'import/no-duplicates': 'off',
|
||||
'import/no-unresolved': 'off',
|
||||
'import/order': 'off',
|
||||
'no-shadow': 'off',
|
||||
'sort-imports': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['src/**/__testfixtures__/**'],
|
||||
rules: {
|
||||
// Codemod fixtures intentionally preserve historical QueryClient syntax.
|
||||
'no-restricted-syntax': 'off',
|
||||
},
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user