Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

eslint.config.js

20 lines392 Bytes

1// @ts-check
2​
3import vitest from '@vitest/eslint-plugin'
4import rootConfig from './root.eslint.config.js'
5​
6export default [
7 ...rootConfig,
8 {
9 plugins: { vitest },
10 rules: {
11 ...vitest.configs.recommended.rules,
12 'vitest/expect-expect': [
13 'warn',
14 {
15 assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'],
16 },
17 ],
18 },
19 },