From d5a413382c93efeb1d888daf3216c51cd5f40f75 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 21:11:40 -0800 Subject: chore: fix lint and type errors to resolve CI failures --- .devcontainer/devcontainer.json | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .devcontainer/devcontainer.json (limited to '.devcontainer/devcontainer.json') 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 -- cgit v1.2.3