-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (49 loc) · 1.26 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
{
"root": true,
"extends": [
"standard",
"@vue/typescript/recommended",
"plugin:vue/vue3-recommended",
"@vue/typescript",
"plugin:vue/base"
],
"env": {
"browser": true,
"es6": true,
"vue/setup-compiler-macros": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"max-len": ["warn", {
"code": 80,
"comments": 80,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignorePattern": "\".+\""
}],
"no-console": ["warn", {
"allow": ["warn", "error"]
}],
"no-debugger": "error",
"comma-dangle": ["warn", "only-multiline"],
"arrow-parens": "off",
"indent": "off",
"@typescript-eslint/indent": ["warn", 2, { "SwitchCase": 1 }],
"no-trailing-spaces": "warn",
"object-curly-spacing": ["warn", "always"],
"no-multi-spaces": "warn",
"no-multiple-empty-lines": ["warn", { "max": 1, "maxEOF": 0 }],
"eol-last": "warn",
"keyword-spacing": "warn",
"space-infix-ops": "warn",
"vue/multi-word-component-names": "off",
"vue/padding-line-between-blocks": "warn",
"vue/v-on-event-hyphenation": ["warn", "always", {
"ignore": ["update:modelValue"]
}]
}
}