|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
2 | 2 | // README at: https://github.com/devcontainers/images/tree/main/src/typescript-node
|
3 | 3 | {
|
4 |
| - "name": "TypeScript", |
5 |
| - "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye", |
6 |
| - // Features to add to the dev container. More info: https://containers.dev/features. |
7 |
| - // "features": {}, |
8 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
9 |
| - // "forwardPorts": [], |
10 |
| - // Use 'postCreateCommand' to run commands after the container is created. |
11 |
| - "postCreateCommand": "sudo chmod +x ./.devcontainer/setup.sh && ./.devcontainer/setup.sh", |
12 |
| - "customizations": { |
13 |
| - "vscode": { |
14 |
| - "extensions": [ |
15 |
| - "ms-vscode.vscode-typescript-tslint-plugin", |
16 |
| - "esbenp.prettier-vscode", |
17 |
| - "github.vscode-pull-request-github" |
18 |
| - ], |
19 |
| - "settings": { |
20 |
| - "files.eol": "\n", |
21 |
| - "editor.formatOnSave": true, |
22 |
| - "typescript.tsc.autoDetect": "on", |
23 |
| - "typescript.updateImportsOnFileMove.enabled": "always", |
24 |
| - "typescript.preferences.importModuleSpecifier": "relative", |
25 |
| - "[typescript]": { |
26 |
| - "editor.codeActionsOnSave": { |
27 |
| - "source.organizeImports": true |
28 |
| - } |
| 4 | + "name": "TypeScript", |
| 5 | + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye", |
| 6 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 7 | + // "features": {}, |
| 8 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 9 | + // "forwardPorts": [], |
| 10 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 11 | + "postCreateCommand": "sudo chmod +x ./.devcontainer/setup.sh && ./.devcontainer/setup.sh", |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + "extensions": [ |
| 15 | + "ms-vscode.vscode-typescript-tslint-plugin", |
| 16 | + "esbenp.prettier-vscode", |
| 17 | + "github.vscode-pull-request-github" |
| 18 | + ], |
| 19 | + "settings": { |
| 20 | + "files.eol": "\n", |
| 21 | + "editor.formatOnSave": true, |
| 22 | + "typescript.tsc.autoDetect": "on", |
| 23 | + "typescript.updateImportsOnFileMove.enabled": "always", |
| 24 | + "typescript.preferences.importModuleSpecifier": "relative", |
| 25 | + "[typescript]": { |
| 26 | + "editor.codeActionsOnSave": { |
| 27 | + "source.organizeImports": true |
| 28 | + } |
| 29 | + }, |
| 30 | + "[typescriptreact]": { |
| 31 | + "editor.codeActionsOnSave": { |
| 32 | + "source.organizeImports": true |
| 33 | + } |
| 34 | + } |
| 35 | + } |
29 | 36 | },
|
30 |
| - "[typescriptreact]": { |
31 |
| - "editor.codeActionsOnSave": { |
32 |
| - "source.organizeImports": true |
33 |
| - } |
| 37 | + "codespaces": { |
| 38 | + "openFiles": [ |
| 39 | + ".devcontainer/README.md" |
| 40 | + ] |
34 | 41 | }
|
35 |
| - } |
36 |
| - }, |
37 |
| - "codespaces": { |
38 |
| - "openFiles": [".devcontainer/README.md"] |
39 | 42 | }
|
40 |
| - } |
41 |
| - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
42 |
| - // "remoteUser": "root" |
| 43 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 44 | + // "remoteUser": "root" |
43 | 45 | }
|
0 commit comments