From 562ff3acbe6d586443ab9e75288411655cda8b9b Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 28 Dec 2025 15:29:58 +0800 Subject: [PATCH] *: update devcontainer config --- .devcontainer/devcontainer.json | 3 ++- .vscode/settings.json | 14 +++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 27fad2213..e8014acd5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -16,6 +16,7 @@ "remoteUser": "root", "forwardPorts": [ 2333, + 3010, 8000 ], "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" -} \ No newline at end of file +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 9208b34f3..f92637c3d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,5 +16,17 @@ }, "files.associations": { "*.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" } -} \ No newline at end of file +}