File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,16 +3,12 @@ import globals from 'globals';
33import reactHooks from 'eslint-plugin-react-hooks' ;
44import reactRefresh from 'eslint-plugin-react-refresh' ;
55import tseslint from 'typescript-eslint' ;
6- import tanstackQuery from '@tanstack/query' ;
76
7+ // TODO: Add TanStack Query ESLint plugin when it works with ESLint 9.
88export default tseslint . config (
99 { ignores : [ 'dist' ] } ,
1010 {
11- extends : [
12- js . configs . recommended ,
13- ...tseslint . configs . strictTypeChecked ,
14- 'plugin:@tanstack/eslint-plugin-query/recommended' ,
15- ] ,
11+ extends : [ js . configs . recommended , ...tseslint . configs . recommended ] ,
1612 files : [ '**/*.{ts,tsx}' ] ,
1713 languageOptions : {
1814 ecmaVersion : 2021 ,
@@ -21,7 +17,6 @@ export default tseslint.config(
2117 plugins : {
2218 'react-hooks' : reactHooks ,
2319 'react-refresh' : reactRefresh ,
24- '@tanstack/eslint-plugin-query' : tanstackQuery ,
2520 } ,
2621 rules : {
2722 ...reactHooks . configs . recommended . rules ,
You can’t perform that action at this time.
0 commit comments