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

oxlint.config.ts

32 lines724 Bytes

1import { defineConfig } from 'oxlint'
2import rootConfig from './root.oxlint.config.ts'
3​
4export default defineConfig({
5 extends: [rootConfig],
6 settings: rootConfig.settings,
7 overrides: [
8 {
9 files: ['**/*.spec.ts*', '**/*.test.ts*', '**/*.test-d.ts*'],
10 rules: {
11 'vitest/expect-expect': [
12 'error',
13 {
14 assertFunctionNames: [
15 'expect',
16 'expectSignals',
17 'expectTypeOf',
18 'assertType',
19 ],
20 },
21 ],
22 },
23 },
24 {
25 files: ['**/__tests__/**'],
26 rules: {
27 'typescript/no-unnecessary-condition': 'off',
28 'typescript/require-await': 'off',
29 },
30 },
31 ],
32})