-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (38 loc) · 749 Bytes
/
.eslintrc.json
File metadata and controls
39 lines (38 loc) · 749 Bytes
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
{
"env": {
"node": true
},
"plugins": [
"vue"
],
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"parser": "babel-eslint"
},
"rules": {
"curly": ["error", "multi"],
"linebreak-style": ["error", "unix"],
"no-cond-assign": "error",
"no-unused-vars": "warn",
"quotes": ["error", "single", {
"allowTemplateLiterals": true
}],
"semi": "off",
"vue/html-indent": ["warn", 4],
"vue/html-self-closing": ["off", {
"html": {
"void": "never",
"normal": "always",
"component": "always"
},
"svg": "always",
"math": "always"
}],
"vue/html-quotes": ["off", "double"]
}
}