-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvue3-webui.code-workspace
126 lines (126 loc) · 2.65 KB
/
vue3-webui.code-workspace
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"folders": [
{
"path": ".",
},
],
"settings": {
// For unocss suggestions
"editor.quickSuggestions": {
"strings": "on",
"comments": "on",
},
// For i18n-ally
"i18n-ally.localesPaths": [
"src/locales"
],
// For eslint to work with flat config
"eslint.useFlatConfig": true,
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"eslint.codeActionsOnSave.mode": "all",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{
"rule": "style/*",
"severity": "off",
"fixable": true
},
{
"rule": "format/*",
"severity": "off",
"fixable": true
},
{
"rule": "*-indent",
"severity": "off",
"fixable": true
},
{
"rule": "*-spacing",
"severity": "off",
"fixable": true
},
{
"rule": "*-spaces",
"severity": "off",
"fixable": true
},
{
"rule": "*-order",
"severity": "off",
"fixable": true
},
{
"rule": "*-dangle",
"severity": "off",
"fixable": true
},
{
"rule": "*-newline",
"severity": "off",
"fixable": true
},
{
"rule": "*quotes",
"severity": "off",
"fixable": true
},
{
"rule": "*semi",
"severity": "off",
"fixable": true
}
],
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"css",
"less",
"scss",
"pcss",
"postcss"
],
"i18n-ally.keystyle": "nested"
},
"extensions": {
"recommendations": [
// For vue3 development experience
"Vue.volar",
// For lint and format
"dbaeumer.vscode-eslint",
// For unocss support
"antfu.unocss",
// For iconify support
"antfu.iconify",
// For npm packages management
"idered.npm",
// For i18n support
"lokalise.i18n-ally",
// For better development experience
"christian-kohler.path-intellisense",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
],
},
}