-
Notifications
You must be signed in to change notification settings - Fork 31
/
.eslintrc
54 lines (53 loc) · 1.05 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
{
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@babel/eslint-parser",
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"plugins": [
"@babel"
],
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"LM_OK": false,
"LM_INFO": false,
"LM_WARN": false,
"LM_ERR": false,
"LM_FATAL": false,
"LM_TOTAL": false
},
"rules": {
"vue/html-indent": ["warn", 4, {
"alignAttributesVertically": false
}],
"vue/max-attributes-per-line": "off",
"vue/html-self-closing": "off",
"vue/no-v-html": "off",
"vue/no-v-model-argument": "off",
"strict": 0,
"indent": [0, 4, {
"SwitchCase": 1
}],
"space-before-function-paren": [2, "never"],
"valid-jsdoc": [2, {
"requireReturn": false,
"prefer": {
"returns": "return"
}
}],
"require-jsdoc": 0,
"max-len": [1, 200, 4, {
"ignoreComments": true,
"ignoreUrls": true
}],
"no-console": off
}
}