-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.eslintrc
83 lines (82 loc) · 1.61 KB
/
.eslintrc
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
{
"extends": [
"plugin:vue/vue3-recommended",
"@vue/eslint-config-typescript"
],
"rules": {
"arrow-parens": [
"warn",
"as-needed"
],
"no-multi-spaces": "warn",
"no-tabs": "off",
"arrow-spacing": ["warn", { "before": true, "after": true }],
"space-infix-ops": "warn",
"indent": "off",
"quotes": [
"warn",
"double"
],
"semi": [
"warn",
"always"
],
"no-console": "off",
"no-multiple-empty-lines": [
"warn",
{
"max": 1,
"maxEOF": 0
}
],
"no-mixed-spaces-and-tabs": "warn",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/semi": [
"warn",
"always"
],
"@typescript-eslint/no-restricted-imports": "warn",
"@typescript-eslint/quotes": [
"warn",
"double"
],
"vue/no-v-html": "off",
"vue/component-tags-order": [
"warn",
{
"order": [
"script",
"template",
"style"
]
}
],
"vue/no-mutating-props": "off",
"vue/prefer-import-from-vue": "warn",
"vue/html-closing-bracket-spacing": "warn",
"vue/no-unused-components": "warn",
"vue/html-self-closing": "warn",
"vue/no-unused-refs": "warn"
},
"plugins": [
"vue"
],
"settings": {
"import/resolver": {
"alias": {
"map": [
[
"@",
"./src/renderer"
]
],
"extensions": [
".ts",
".vue"
]
}
}
}
}