diff --git a/packages/eslint-plugin-query/eslint.config.js b/packages/eslint-plugin-query/eslint.config.js index 8ce6ad05fc..b3c65a3dce 100644 --- a/packages/eslint-plugin-query/eslint.config.js +++ b/packages/eslint-plugin-query/eslint.config.js @@ -1,5 +1,19 @@ // @ts-check import rootConfig from '../../eslint.config.js' +import vitest from '@vitest/eslint-plugin' -export default [...rootConfig] +export default [ + ...rootConfig, + { + plugins: { vitest }, + rules: { + 'vitest/expect-expect': [ + 'warn', + { + assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'], + }, + ], + }, + }, +]