forked from IceWhaleTech/CasaOS-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCasaOS-UI.code-workspace
More file actions
61 lines (61 loc) · 1.35 KB
/
CasaOS-UI.code-workspace
File metadata and controls
61 lines (61 loc) · 1.35 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
{
"folders": [
{
"path": ".",
},
],
"settings": {
"files.associations": {
"*.css": "tailwindcss",
},
"editor.quickSuggestions": {
"strings": "on",
},
// Disable the default formatter, use eslint instead
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
".*Styles*"
],
"tailwindCSS.experimental.classRegex": [
// class: "" / class: ''
"\\bclass:\\s*[\"']([^\"']*)[\"']",
// class: []
"\\bclass:\\s*\\[[^\\]]*\\]",
// class: {}
"\\bclass:\\s*\\{[^}]*\\}",
],
// Silent the stylistic rules in you IDE, but still auto fix them
// For i18n-ally
"i18n-ally.localesPaths": [
"src/assets/lang"
],
// Enable eslint for all supported languages
"i18n-ally.keystyle": "nested",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
}
},
"extensions": {
"recommendations": [
// For vue2 development experience
"octref.vetur",
// For lint and format
"dbaeumer.vscode-eslint",
// 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",
],
},
}