*: update devcontainer config

This commit is contained in:
Baoshuo committed 2026-05-10 01:12:46 +08:00
1 parent 9d5bff2470
commit 562ff3acbe
2 files changed
+15 -2

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@
"remoteUser": "root", "remoteUser": "root",
"forwardPorts": [ "forwardPorts": [
2333, 2333,
3010,
8000 8000
], ],
"features": { "features": {
@@ -32,4 +33,4 @@
} }
}, },
"postCreateCommand": "git submodule update --init && yarn install && npx hydrooj cli system set server.port 2333 && npx hydrooj cli user create root@hydro.local root rootroot 2 && npx hydrooj cli user setSuperAdmin 2" "postCreateCommand": "git submodule update --init && yarn install && npx hydrooj cli system set server.port 2333 && npx hydrooj cli user create root@hydro.local root rootroot 2 && npx hydrooj cli user setSuperAdmin 2"
} }
+13 -1
View File
@@ -16,5 +16,17 @@
}, },
"files.associations": { "files.associations": {
"*.html": "nunjucks" "*.html": "nunjucks"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
} }
} }