-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy path.eslintrc
41 lines (41 loc) · 921 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
{
"extends": "standard",
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"node": true,
"browser": true,
"es6": true,
"amd": true,
"jquery": true
},
"plugins": ["html", "vue", "standard"],
"rules": {
"generator-star-spacing": 2,
"space-before-function-paren": ["error", "never"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"comma-spacing": ["error", { "before": false, "after": true }],
"curly": 0,
"no-multi-spaces": [
"error",
{
"ignoreEOLComments": true
}
],
"quotes": ["error", "single"],
"semi": 0,
"no-debugger": ["error"],
"no-console": ["off"],
"no-new": ["off"],
"no-extend-native": ["off"],
"camelcase": ["off"],
"vue/jsx-uses-vars": 2
}
}