Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 5 additions & 34 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu24.04",
"containerUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.24"
},
"ghcr.io/github/features/goproxy:1": {},
"ghcr.io/github/features/go-linter:2": {},
"ghcr.io/devcontainers/features/node:1": {
"ghcr.io/devcontainers/features/node:2": {
"nodeGypDependencies": true,
"version": "lts",
"nvmVersion": "latest"
Expand All @@ -18,21 +16,15 @@
"version": "0.151.0"
}
},
"onCreateCommand": ".devcontainer/on-create-command.sh",
"postCreateCommand": "./tools/setup",
"containerEnv": {
"GOPROXY": "https://goproxy.githubapp.com/mod,https://proxy.golang.org/,direct",
"GOPRIVATE": "",
"GONOPROXY": "",
"GONOSUMDB": "github.com/github/*"
},
"customizations": {
"vscode": {
"extensions": [
"golang.go",
// Recommended for Hextra theme
"mhutchie.git-graph",
"esbenp.prettier-vscode",
"tamasfe.even-better-toml",
"budparr.language-hugo-vscode",
Comment thread
KittyChiu marked this conversation as resolved.

// Recommended extensions from https://gohugo.io/tools/editors/#visual-studio-code
"eliostruyf.vscode-front-matter",
Expand All @@ -43,11 +35,6 @@
"kaellarkin.hugo-shortcode-syntax"
],
"settings": {
"go.lintFlags": [
"--config=/workspaces/.golangci.toml",
"--whole-files",
"--new-from-rev=origin/main"
],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2,
"editor.insertSpaces": true,
Expand All @@ -56,22 +43,6 @@
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}
},
"codespaces": {
"repositories": {
"github/go-linter": {
"permissions": {
"contents": "read",
"packages": "read"
}
},
"github/features": {
"permissions": {
"contents": "read",
"packages": "read"
}
}
}
}
},
"forwardPorts": [1313],
Expand All @@ -80,4 +51,4 @@
"label": "dev-server"
}
}
}
}
6 changes: 0 additions & 6 deletions .devcontainer/on-create-command.sh

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ hugo.linux
.DS_Store
site
node_modules/
devcontainer-lock.json

# Playwright tests
/test-results/
Expand Down