Open History to see the last commit
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 'warn',
13 { assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'] },
14 ],
15 'vitest/require-hook': [
16 'error',
17 {
18 allowedFunctionCalls: [
19 'ruleTester.run',
20 'ruleTesterTypeChecked.run',
21 ],
22 },
23 ],
24 },
25 },
26 ],
27})