Skip to content

Commit

Permalink
use gci lint + install tools (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbavelier authored Feb 13, 2025
1 parent 6231a15 commit 53c0d8c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,22 @@
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"runArgs": ["--name", "datadog-operator-devenv", "-w", "/workspaces/datadog-operator"],
"postStartCommand": ["git", "config", "--global", "--add", "safe.directory", "/workspaces/datadog-operator"]
"postStartCommand": "git config --global --add safe.directory /workspaces/datadog-operator && make install-tools",
"customizations": {
"vscode": {
"settings": {
"go.lintTool": "golangci-lint",
"go.lintOnSave": "package",
"go.lintFlags": [
"--config=/workspaces/datadog-operator/.golangci.toml"
],
"[go]": {
"editor.formatOnSave": true
}
},
"extensions": [
"golang.Go"
]
}
},
}

0 comments on commit 53c0d8c

Please sign in to comment.