forked from WeakAuras/WeakAuras-Companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
63 lines (63 loc) · 1.16 KB
/
.eslintrc.json
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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"@unocss",
"prettier"
],
"ignorePatterns": [
"dist",
"node_modules",
"dist_electron",
"dist-electron",
"release",
"index.html",
"tools/**/*.js",
"uno.config.ts",
"vite.config.ts",
"*.d.ts"
],
"rules": {
"no-console": "off",
"@typescript-eslint/comma-dangle": [
"error",
"only-multiline"
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-implicit-any": "off",
"@typescript-eslint/quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": false
}
],
"@typescript-eslint/semi": [
"error",
"always"
],
"vue/multi-word-component-names": "off",
"vue/block-order": [
"error",
{
"order": [
"script",
"template",
"style"
]
}
]
},
"parserOptions": {
"parser": "@typescript-eslint/parser",
"extraFileExtensions": [
".vue"
],
"project": true
},
"plugins": [
"vue",
"@typescript-eslint"
]
}