-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
43 lines (43 loc) · 1.04 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
{
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"indent": [2, 2],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "never"],
"camelcase": 0,
"max-statements-per-line": [2, { "max": 1 }],
"object-shorthand": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"vue/require-default-prop": false,
"arrow-body-style": ["error", "as-needed"],
"mocha/no-exclusive-tests": "error",
"arrow-parens": ["error", "as-needed"],
"keyword-spacing": "error",
"space-before-function-paren": ["error", "always"],
"vue/order-in-components": ["error", {
"order": [
"extends",
"name",
"model",
"mixins",
"components",
"props",
"data",
"computed",
"methods",
"watch",
"LIFECYCLE_HOOKS"
]
}]
},
"plugins": ["mocha"],
"extends": ["eslint:recommended", "plugin:vue/strongly-recommended"],
"env": {
"node": true,
"browser": true,
"mocha": true
}
}