Files
vikunja/.devcontainer/devcontainer.json
kolaente 59a707a493 chore(devenv): provide go 1.27.0 and golangci-lint 2.13.0 in dev shell
nixos-unstable still ships go 1.27rc3 and golangci-lint 2.12.2, so:
- switch nixpkgs-unstable input to nixos-unstable-small (has go 1.27.0)
- pin languages.go to go_1_27
- build golangci-lint 2.13.0 from source with buildGo127Module
- skip go-tools (staticcheck) tests, which panic when rebuilt with go 1.27

All three workarounds are commented for later removal.
2026-08-20 10:48:47 +02:00

37 lines
722 B
JSON

{
"customizations": {
"vscode": {
"extensions": [
"Syler.sass-indented",
"codezombiech.gitignore",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"golang.Go",
"lokalise.i18n-ally",
"mikestead.dotenv",
"mkhl.direnv",
"vitest.explorer",
"vue.volar"
]
},
"zed": {
"extensions": []
}
},
"forwardPorts": [
4173,
3456
],
"image": "ghcr.io/cachix/devenv/devcontainer:latest",
"overrideCommand": false,
"portsAttributes": {
"3456": {
"label": "Vikunja API"
},
"4173": {
"label": "Vikunja Frontend dev server"
}
},
"updateContentCommand": "devenv test"
}