@@ -4,12 +4,12 @@ import reactHooks from 'eslint-plugin-react-hooks';
44import reactRefresh from 'eslint-plugin-react-refresh' ;
55import tseslint from 'typescript-eslint' ;
66import eslintConfigPrettier from 'eslint-config-prettier/flat' ;
7- import prettier from 'eslint-config-prettier' ;
87import importPlugin from 'eslint-plugin-import' ;
98import { defineConfig } from 'eslint/config' ;
109import reactPlugin from 'eslint-plugin-react' ;
1110import testingLibraryPlugin from 'eslint-plugin-testing-library' ;
1211import tanstackQuery from '@tanstack/eslint-plugin-query' ;
12+ import jsxA11y from 'eslint-plugin-jsx-a11y' ;
1313
1414export default defineConfig (
1515 { ignores : [ 'dist' , 'tests/setup.ts' , 'src/api' ] } ,
@@ -18,6 +18,7 @@ export default defineConfig(
1818 js . configs . recommended ,
1919 eslintConfigPrettier ,
2020 importPlugin . flatConfigs . recommended ,
21+ jsxA11y . flatConfigs . recommended ,
2122 ...tseslint . configs . recommendedTypeChecked ,
2223 ] ,
2324 files : [ '**/*.{ts,tsx}' ] ,
@@ -122,7 +123,5 @@ export default defineConfig(
122123 'react-hooks/rules-of-hooks' : 'off' ,
123124 'react-hooks/exhaustive-deps' : 'off' ,
124125 } ,
125- } ,
126-
127- prettier
126+ }
128127) ;
0 commit comments