1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
| import type { OxlintConfig } from 'oxlint';
|
| const overrides: OxlintConfig = {
| overrides: [
| {
| files: ['*.d.ts', '**/*.d.ts'],
| rules: {
| 'import/no-unassigned-import': 'off',
| 'typescript/triple-slash-reference': 'off',
| },
| },
| {
| files: [
| '**/__tests__/**/*.js',
| '**/__tests__/**/*.cjs',
| '**/__tests__/**/*.mjs',
| '**/__tests__/**/*.jsx',
| '**/__tests__/**/*.ts',
| '**/__tests__/**/*.cts',
| '**/__tests__/**/*.mts',
| '**/__tests__/**/*.tsx',
| '**/*.spec.js',
| '**/*.spec.cjs',
| '**/*.spec.mjs',
| '**/*.spec.jsx',
| '**/*.spec.ts',
| '**/*.spec.cts',
| '**/*.spec.mts',
| '**/*.spec.tsx',
| '**/*.test.js',
| '**/*.test.cjs',
| '**/*.test.mjs',
| '**/*.test.jsx',
| '**/*.test.ts',
| '**/*.test.cts',
| '**/*.test.mts',
| '**/*.test.tsx',
| '**/*.bench.js',
| '**/*.bench.cjs',
| '**/*.bench.mjs',
| '**/*.bench.jsx',
| '**/*.bench.ts',
| '**/*.bench.cts',
| '**/*.bench.mts',
| '**/*.bench.tsx',
| '**/*.benchmark.js',
| '**/*.benchmark.cjs',
| '**/*.benchmark.mjs',
| '**/*.benchmark.jsx',
| '**/*.benchmark.ts',
| '**/*.benchmark.cts',
| '**/*.benchmark.mts',
| '**/*.benchmark.tsx',
| ],
| rules: {
| 'no-console': 'off',
| },
| },
| {
| files: ['packages/@core/base/shared/src/utils/inference.ts'],
| rules: {
| 'vue/prefer-import-from-vue': 'off',
| },
| },
| {
| files: ['packages/@core/ui-kit/menu-ui/src/sub-menu.vue'],
| rules: {
| 'import/no-self-import': 'off',
| },
| },
| {
| files: [
| 'scripts/**/*.js',
| 'scripts/**/*.cjs',
| 'scripts/**/*.mjs',
| 'scripts/**/*.jsx',
| 'scripts/**/*.ts',
| 'scripts/**/*.cts',
| 'scripts/**/*.mts',
| 'scripts/**/*.tsx',
| 'internal/**/*.js',
| 'internal/**/*.cjs',
| 'internal/**/*.mjs',
| 'internal/**/*.jsx',
| 'internal/**/*.ts',
| 'internal/**/*.cts',
| 'internal/**/*.mts',
| 'internal/**/*.tsx',
| ],
| rules: {
| 'no-console': 'off',
| 'unicorn/no-process-exit': 'off',
| },
| },
| ],
| };
|
| export { overrides };
|
|