forked from mbnuqw/sidebery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 1.05 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:vue/recommended", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-console": 2,
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "never"],
"require-atomic-updates": "off",
"vue/html-self-closing": "off",
"vue/require-default-prop": "off",
"no-async-promise-executor": "off",
"no-prototype-builtins": "off"
},
"globals": {
"Vue": true,
"Vuex": true,
"Utils": true,
"process": true,
"browser": true,
"global": true,
"jest": true,
"expect": true,
"mockFn": true,
"config": true,
"afterEach": true,
"beforeEach": true,
"describe": true,
"it": true,
"test": true,
"runs": true,
"waitsFor": true,
"pit": true,
"require": true,
"xdescribe": true,
"xit": true
}
}