-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
68 lines (66 loc) · 1.8 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
import antfu from '@antfu/eslint-config'
export default antfu(
{
typescript: true,
vue: true,
ignores: [
'**/_archive/**',
'**/.*/**',
'**/*.json/**',
'**/*.local/**',
'**/*.log/**',
'**/*.wasm.js/**',
'**/*.mjs/**',
'**/*.cjs/**',
'**/bg.jpg/**',
'**/build/**',
'**/coverage/**',
'**/data/**',
'**/dist/**',
'**/dist_*/**',
'**/dist_macos/**',
'**/dist_electron/**',
'**/docker/**',
'**/geoip/**',
'**/help/**',
'**/internal/**',
'**/legacy/**',
'**/logs/**',
'**/node_modules/**',
'**/npm-debug.log/**',
'**/package-lock.json/**',
'**/pnpm-lock.yaml/**',
'**/public/**',
'**/scripts/**',
'**/tmp/**',
'**/video/**',
'**/wiki/**',
'**/www/**',
'**/yarn-error.log/**',
'**/vite.config.ts/**',
'**/vitest*/**',
'zerva-vite/ssr-vue/*',
'zerva-vite/ssr-vue/*/**',
'examples/vite-ssr/*',
'examples/vite-ssr/*/**'],
},
{},
{
rules: {
'eslint-comments/no-unlimited-disable': 'off',
'unused-imports/no-unused-vars': 'off',
'antfu/consistent-list-newline': 'off',
'eslint-disable-unused-imports/no-unused-imports': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-misused-promises': 'off',
// Markdown in oui-float example throws error
'vue/no-unused-refs': 'off',
},
},
)