-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsettings.json
More file actions
72 lines (72 loc) · 1.78 KB
/
Copy pathsettings.json
File metadata and controls
72 lines (72 loc) · 1.78 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"editor.tabSize": 2,
"editor.wordWrap": "on",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"eslint.validate": ["javascript", "html", "vue", "typescript"],
"eslint.format.enable": true,
"eslint.options": {
"overrideConfig": {
"env": {
"browser": true,
"node": true,
"es2021": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-debugger": "off"
}
}
},
"editor.formatOnSave": true,
"html.format.indentHandlebars": true,
"html.format.preserveNewLines": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true,
"source.fixAll.eslint": false
},
"emmet.includeLanguages": {
"vue": "html",
"javascript": "html"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// vue backup
"vetur.format.defaultFormatterOptions": {
"prettier": {
"semi": true,
"printWidth": 120,
"singleQuote": false,
"trailingComma": "aways",
"arrowParens": "aways"
}
},
"vetur.format.defaultFormatter.js": "prettier-eslint",
"vetur.format.defaultFormatter.html": "js-beautify-html"
}