-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
52 lines (52 loc) · 863 Bytes
/
.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
{
"root": true,
"parserOptions": {
"parser": "babel-eslint"
},
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"globals": {
"API_URL": false,
"html2canvas": false
},
"rules": {
"no-console": 0,
"no-alert": 2,
"no-debugger": 2,
"keyword-spacing": 2,
"no-spaced-func": 2,
"no-extra-semi": 2,
"no-extra-parens": 2,
"no-duplicate-case": 2,
"no-dupe-args": 2,
"no-const-assign": 2,
"no-unused-expressions": [
1,
{
"allowTernary": true
}
],
"no-unreachable": 2,
"no-use-before-define": 2,
"default-case": 2,
"yoda": 2,
"indent": [
1,
2
],
"space-infix-ops": 1,
"comma-spacing": 1,
"brace-style": 1,
"no-multiple-empty-lines": 1,
"operator-linebreak": 1,
"no-undef": 1,
"comma-dangle": 1,
"no-unused-vars": 0,
"no-useless-escape": 0
}
}