-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
78 lines (78 loc) · 1.94 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
{
"extends": [
"punkave",
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:vue/vue3-essential"
],
"globals": {
"$": "readonly",
"_": "readonly",
"ace": "readonly",
"apos": "writable",
"after": "readonly",
"before": "readonly"
},
"plugins": [
"jest"
],
"env": {
"es6": true,
"jest": true,
"jest/globals": true
},
"rules": {
"vue/html-indent": [
"error",
"tab"
], // enforce tabs in template
"vue/first-attribute-linebreak": [
"error",
{
"singleline": "ignore",
"multiline": "ignore"
}
],
"vue/html-closing-bracket-spacing": "off",
"vue/max-attributes-per-line": [
"warn",
{
"singleline": {
"max": 4
},
"multiline": {
"max": 4
}
}
],
"vue/new-line-between-multi-line-property": [
"error",
{
"minLineOfMultilineProperty": 2
}
],
"vue/require-default-prop": "off",
"vue/attribute-hyphenation": "off",
"vue/v-on-event-hyphenation": "off",
"vue/html-closing-bracket-newline": "off",
"vue/html-self-closing": "off",
"no-case-declarations": "off",
"indent": "off",
"space-before-function-paren": "off",
"semi": "warn",
"no-tabs": "off",
"no-return-assign": "off",
"no-unused-labels": "error",
"no-unused-expressions": "off",
"padded-blocks": "off",
"eol-last": "off",
"no-unused-vars": "error",
"no-debugger": "warn",
"jest/valid-expect": [
"error",
{
"maxArgs": 2
}
]
}
}