|
| 1 | +/* eslint-disable jsonc/comma-dangle */ |
1 | 2 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the |
2 | 3 | // README at: https://github.com/devcontainers/templates/tree/main/src/alpine |
3 | 4 | { |
|
20 | 21 | "customizations": { |
21 | 22 | "vscode": { |
22 | 23 | "extensions": [ |
23 | | - "AMiner.codegeex", |
24 | | - "antfu.goto-alias", |
25 | | - "antfu.iconify", |
26 | | - "antfu.open-in-github-button", |
27 | | - "antfu.unocss", |
28 | | - "antfu.vite", |
29 | | - "antfu.where-am-i", |
30 | | - "Bito.Bito", |
31 | | - "ChakrounAnas.turbo-console-log", |
32 | | - "cweijan.vscode-mysql-client2", |
33 | 24 | "dbaeumer.vscode-eslint", |
34 | | - "eamodio.gitlens", |
35 | | - "funkyremi.vscode-google-translate", |
36 | | - "george-alisson.html-preview-vscode", |
37 | | - "GitHub.vscode-pull-request-github", |
38 | | - "Gruntfuggly.todo-tree", |
39 | | - "jock.svg", |
40 | | - "lokalise.i18n-ally", |
41 | | - "ms-vscode.live-server", |
42 | | - "naumovs.color-highlight", |
43 | | - "oderwat.indent-rainbow", |
44 | | - "rangav.vscode-thunder-client", |
45 | | - "richie5um2.vscode-sort-json", |
46 | | - "RobertOstermann.inline-parameters-extended", |
47 | 25 | "streetsidesoftware.code-spell-checker", |
48 | | - "svsool.markdown-memo", |
49 | | - "unional.vscode-sort-package-json", |
50 | 26 | "usernamehw.errorlens", |
51 | | - "Vue.volar", |
52 | | - "Vue.vscode-typescript-vue-plugin", |
53 | | - "yzhang.markdown-all-in-one" |
| 27 | + "yoavbls.pretty-ts-errors", |
54 | 28 | ] |
55 | 29 | } |
56 | 30 | }, |
57 | 31 | // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
58 | | - // "remoteUser": "root" |
59 | | - "workspaceMount": "", |
60 | | - "workspaceFolder": "${localWorkspaceFolder}", |
| 32 | + // "remoteUser": "root", |
61 | 33 | "runArgs": [ |
62 | | - // run container as current user |
63 | | - "--userns=keep-id", |
64 | | - // disable selinux isolation that breaks bind mounts |
65 | | - "--security-opt=label=disable", |
66 | | - // ensure project directory is mounted incase it exists outside the home directory |
67 | | - "--volume=${localWorkspaceFolder}:${localWorkspaceFolder}", |
68 | 34 | // mount pnpm store for shared caching/linking |
69 | | - "--volume=${env:PNPM_HOME}/store:${env:PNPM_HOME}/store" |
| 35 | + // "--volume=${env:PNPM_HOME}/store:${env:PNPM_HOME}/store", |
| 36 | + |
70 | 37 | // // Enable both in this block if you want to mount home dir |
71 | 38 | // mount user home directory for things like git, ssh, and other configs |
72 | 39 | // "--volume=${env:HOME}:${env:HOME}", |
73 | 40 | // isolate the .vscode-server folder so you don't overwrite settings from remote ssh vscode |
74 | | - // "--volume=${localWorkspaceFolder}/.cache/vscode-server:${env:HOME}/.vscode-server" |
| 41 | + // "--volume=${localWorkspaceFolder}/.cache/vscode-server:${env:HOME}/.vscode-server", |
75 | 42 | // // |
76 | 43 | ], |
77 | | - "containerEnv": { |
78 | | - // ensure users home directory is the same inside the container as it is outside |
79 | | - "HOME": "${env:HOME}" |
80 | | - } |
81 | 44 | } |
0 commit comments