diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:11:40 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 21:11:40 -0800 |
| commit | d5a413382c93efeb1d888daf3216c51cd5f40f75 (patch) | |
| tree | a7d8505a0a1c90050ea6bd33c02f7e8a5b5537e5 /.devcontainer/devcontainer.json | |
| parent | a7369274ba24298a0449865f147fc65253e992a2 (diff) | |
| download | neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.gz neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.tar.bz2 neko-d5a413382c93efeb1d888daf3216c51cd5f40f75.zip | |
chore: fix lint and type errors to resolve CI failures
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..af4ea12 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,55 @@ +{ + "name": "Neko (Podman)", + "build": { + "dockerfile": "Dockerfile", + "context": ".." + }, + "features": { + "ghcr.io/devcontainers/features/node:1": { + "node": "20" + } + }, + "customizations": { + "vscode": { + "settings": { + "go.toolsManagement.checkForUpdates": "local", + "go.useLanguageServer": true, + "go.gopath": "/go", + "editor.formatOnSave": true, + "eslint.workingDirectories": [ + "./frontend" + ] + }, + "extensions": [ + "golang.Go", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "vitest.explorer", + "ms-azuretools.vscode-docker" + ] + } + }, + "forwardPorts": [ + 8080, + 5173 + ], + "portsAttributes": { + "5173": { + "label": "Frontend (Vite)", + "onAutoForward": "notify" + }, + "8080": { + "label": "Backend (Neko)", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "go mod download && (cd frontend && npm install)", + "remoteUser": "vscode", + "runArgs": [ + "--security-opt", + "label=disable" + ], + "containerEnv": { + "NEKO_PORT": "8080" + } +}
\ No newline at end of file |
