Skip to content

Commit 7398b24

Browse files
committed
fix(devtools): import useQueryClient directly from react-query
eslint-allow import from react-query everywhere to be aligned with the rollup config
1 parent a6df794 commit 7398b24

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.eslintrc

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,8 @@
2929
],
3030
"no-shadow": "error",
3131
"import/no-cycle": "error",
32-
"import/no-unresolved": "error",
32+
"import/no-unresolved": ["error", { "ignore": ["react-query"] }]
3333
"import/no-unused-modules": ["off", { "unusedExports": true }],
3434
"no-redeclare": "off"
35-
},
36-
"overrides": [
37-
{
38-
"files": ["src/devtools/**/*.{ts,tsx}"],
39-
"rules": {
40-
"import/no-unresolved": ["error", { "ignore": ["react-query"] }]
41-
}
42-
}
43-
]
35+
}
4436
}

0 commit comments

Comments
 (0)