forked from WeakAuras/WeakAuras-Companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
63 lines (63 loc) · 1.39 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-essential",
"prettier"
],
"ignorePatterns": [
"dist",
"node_modules",
"dist_electron",
"dist-electron",
"release",
"index.html",
"tools/**/*.js"
],
"rules": {
"arrow-parens": "off",
"curly": "off",
"no-console": "off",
"no-mixed-operators": "off",
"quote-props": "off",
"padding-line-between-statements": [
"warn",
{
"blankLine": "always",
"prev": "*",
"next": [
"block",
"multiline-block-like",
"if",
"function",
"multiline-expression"
]
}
],
"@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"
},
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": "latest"
},
"plugins": ["vue", "@typescript-eslint"],
"settings": {
"import/core-modules": ["electron"],
"import/resolver": {
"vite": {
"configPath": "./vite.config.ts"
}
}
}
}