-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (31 loc) · 1.02 KB
/
Copy pathdevcontainer.json
File metadata and controls
31 lines (31 loc) · 1.02 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
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json",
"name": "zemd/react",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "node",
"updateRemoteUserUID": true,
"containerEnv": {
"DO_NOT_TRACK": "1"
},
"mounts": [
"source=${devcontainerId}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
"source=${devcontainerId}-pnpm-store,target=${containerWorkspaceFolder}/.pnpm-store,type=volume"
],
"postCreateCommand": "bash .devcontainer/post-create.sh",
"customizations": {
"vscode": {
"extensions": ["EditorConfig.EditorConfig@0.18.2", "oxc.oxc-vscode@1.60.0"],
"settings": {
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"eslint.enable": false,
"oxc.typeAware": true,
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
}
}
}