refactor: Update devcontainer and configuration files for improved formatting and linting, corrected access to ssh keys (ref: #14)

This commit is contained in:
GitHub Copilot
2025-05-02 11:07:35 +00:00
parent 075cbe1e12
commit d8a70e0f08
3 changed files with 21 additions and 17 deletions

View File

@@ -8,7 +8,6 @@
"vscode": {
"extensions": [
"astro-build.astro-vscode",
"biomejs.biome-vscode",
"GitHub.copilot",
"GitHub.copilot-chat",
"ms-vscode.vscode-typescript-next",
@@ -16,14 +15,23 @@
],
"settings": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome-vscode",
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": null,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": null,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"editor.codeActionsOnSave": {
"source.organizeImports.biome": true,
"quickfix.biome": true
},
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.bracketPairColorization.enabled": true,
"files.exclude": {
@@ -37,6 +45,7 @@
}
},
"forwardPorts": [3000],
"postCreateCommand": "npm install",
"remoteUser": "node"
"postCreateCommand": "npm install && npm run check",
"remoteUser": "node",
"mounts": ["type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"]
}