-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (39 loc) · 1.48 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
47
48
{
"env": {
"es6" : true,
"node" : true,
"browser": true
},
"extends": [ "eslint:recommended", "plugin:vue/recommended" ],
"parser" : "vue-eslint-parser",
"parserOptions": {
"parser" : "babel-eslint",
"sourceType" : "module",
"ecmaVersion" : 2018,
"ecmaFeatures": {
"globalReturn" : false,
"impliedStrict": false,
"jsx" : false
}
},
"rules": {
"quotes": [ "error", "single" ],
"semi" : [ "error", "always" ],
"curly" : [ "warn" , "all" ],
"indent": [ "warn", 4, {
"SwitchCase" : 1,
"FunctionExpression": { "parameters": "first" },
"CallExpression" : { "arguments" : "first" }
}],
"no-console" : "off",
"no-fallthrough": "off",
"vue/html-indent" : [ "error", 4, { "baseIndent": 0 }],
"vue/html-closing-bracket-newline" : [ "error", { "singleline": "never", "multiline": "never" }],
"vue/multiline-html-element-content-newline": [ "warn", { "allowEmptyLines" : true }],
"vue/no-multi-spaces" : "off",
"vue/html-self-closing" : "off",
"vue/max-attributes-per-line" : "off",
"vue/singleline-html-element-content-newline": "off",
"vue/attributes-order" : "off"
}
}