-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
eslint.config.js
100 lines (97 loc) · 1.98 KB
/
eslint.config.js
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
99
100
import antfu from '@antfu/eslint-config'
import { eslintIgnoreDefaults, eslintRulesDefaults } from 'zeed'
export default antfu(
{
typescript: true,
vue: true,
regexp: false,
ignores: [
...eslintIgnoreDefaults(),
'*.md',
'**/*.md/**',
'**/*.md',
'_archive',
'**/_archive/**',
'.*',
'**/.*/**',
'*.json',
'**/*.json/**',
'*.local',
'**/*.local/**',
'*.log',
'**/*.log/**',
'*.wasm.js',
'**/*.wasm.js/**',
'*.mjs',
'**/*.mjs/**',
'*.cjs',
'**/*.cjs/**',
'bg.jpg',
'**/bg.jpg/**',
'build',
'**/build/**',
'coverage',
'**/coverage/**',
'data',
'**/data/**',
'dist',
'**/dist/**',
'dist_*',
'**/dist_*/**',
'docker',
'**/docker/**',
'geoip',
'**/geoip/**',
'help',
'**/help/**',
'internal',
'**/internal/**',
'legacy',
'**/legacy/**',
'logs',
'**/logs/**',
'node_modules',
'**/node_modules/**',
'npm-debug.log',
'**/npm-debug.log/**',
'package-lock.json',
'**/package-lock.json/**',
'pnpm-lock.yaml',
'**/pnpm-lock.yaml/**',
'public',
'**/public/**',
'scripts',
'**/scripts/**',
'tmp',
'**/tmp/**',
'video',
'**/video/**',
'wiki',
'**/wiki/**',
'www',
'**/www/**',
'yarn-error.log',
'**/yarn-error.log/**',
'vite.config.ts',
'**/vite.config.ts/**',
'vitest*',
'**/vitest*/**',
'zerva-vite/ssr-vue/*',
'zerva-vite/ssr-vue/*/**',
'examples/vite-ssr/*',
'examples/vite-ssr/*/**',
'**/.out.*',
'.out.*',
],
},
{},
{
rules: {
...eslintRulesDefaults(),
'regexp/*': 'off',
'regexp/confusing-quantifier': 'off',
'antfu/consistent-list-newline': 'off',
'eslint-disable-unused-imports/no-unused-imports': 'off',
},
},
)