-
Notifications
You must be signed in to change notification settings - Fork 3
/
workspace.code-workspace
144 lines (144 loc) · 3.88 KB
/
workspace.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"folders": [
{
"name": "Root",
"path": "."
},
{
"name": "CMS",
"path": "./services/cms"
},
{
"name": "Course material",
"path": "./services/course-material"
},
{
"name": "Example exercise",
"path": "./services/example-exercise"
},
{
"name": "Headless LMS",
"path": "./services/headless-lms"
},
{
"name": "Main frontend",
"path": "./services/main-frontend"
},
{
"name": "Quizzes",
"path": "./services/quizzes"
},
{
"name": "Shared module",
"path": "./shared-module"
},
{
"name": "Storybook",
"path": "./storybook"
},
{
"name": "System tests",
"path": "./system-tests"
},
{
"name": "TMC",
"path": "./services/tmc"
}
],
"settings": {
"editor.wordWrap": "on",
"editor.tabSize": 2,
"files.eol": "\n",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.linkedEditing": true,
"sqltools.highlightQuery": false,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[sql]": {
"editor.defaultFormatter": "mtxr.sqltools"
},
"sqltools.format": {
"linesBetweenQueries": "preserve",
"reservedWordCase": "upper",
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/.hg/store/**": true,
"/target": true,
"**/.next/**": true
},
"eslint.lintTask.enable": true,
"eslint.format.enable": true,
"stylelint.validate": [
"css",
"less",
"postcss",
"typescriptreact",
"javascriptreact"
],
"files.readonlyInclude": {
// Autogenerated files
"**/bindings.ts": true,
"**/*.guard.ts": true,
"types/GutenbergBlockAttributes.ts": true,
"types/DeprecatedGutenbergBlockAttributes.ts": true,
// Matches only the shared-module folders that have been copied to service folders.
// If someone wants to edit shared-module files, they should do it in the shared-module that's in the repo root and have `bin/shared-module-sync-watch` running there as well.
"**/shared-module/**": true,
},
"rust-analyzer.cargo.extraEnv": {
// Speeds up type checking by making sqlx to not connect to the database in vscode. Also, this causes all the unprepaired queries to show up as an error in vscode that helps to remember to prepare them.
"SQLX_OFFLINE": "true"
},
"window.commandCenter": true,
"sqltools.connections": [
{
"previewLimit": 50,
"server": "localhost",
"driver": "PostgreSQL",
"name": "Project 331 - Development",
"connectString": "postgres://headless-lms@localhost:54328/headless_lms_dev"
},
{
"previewLimit": 50,
"server": "localhost",
"driver": "PostgreSQL",
"name": "Project 331 - Test",
"connectString": "postgres://headless-lms@localhost:54328/headless_lms_test"
}
],
"search.exclude": {
"**/node_modules": true,
"*.tsbuildinfo": true,
},
"rust-analyzer.showUnlinkedFileNotification": false,
"typescript.preferences.autoImportFileExcludePatterns": [
// Don't suggest wrong css imports
"@emotion/react",
"styled-jsx/css",
"styled-jsx",
],
},
"launch": {
"configurations": [],
"compounds": []
},
}