-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
56 lines (56 loc) · 1.22 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
// 0-close, 1-warn,2-error
{
"extends": "vue",
"parser": "babel-eslint",
"plugins": ["vue"],
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"classes": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true
},
"globals": {
"$": true
},
"rules": {
"indent": [2, 4, {"SwitchCase": 1}],
"space-before-function-paren": [2, "never"],
"comma-dangle": [2, "never"],
"radix": 0,
"func-names": 0,
"no-console": 0,
"max-len": 0,
"no-unused-vars": 1,
"arrow-body-style": 0,
"array-callback-return": 0,
"no-confusing-arrow": 0,
"no-nested-ternary": 0,
"no-return-assign": 0,
"consistent-return": 0,
"no-alert": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/first": 0,
"no-unused-expressions": 0,
"arrow-parens": 0,
"semi": [2, "always"],
"jsx-quotes": [2, "prefer-double"],
"object-curly-spacing": [2, "always"],
"space-unary-ops": [2, {
"words": true,
"nonwords": true,
"overrides": {
"!": false,
"!!": false,
"-": false
}
}
]
}
}