Skip to content

Commit c402dbe

Browse files
committed
feat: upgraded files
1 parent 5a61df2 commit c402dbe

File tree

77 files changed

+23132
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+23132
-273
lines changed

.devcontainer.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"name": "go-subtree dev container",
3-
"image": "mcr.microsoft.com/devcontainers/go:0-1.24-bullseye",
4-
"features": {
5-
"ghcr.io/devcontainers/features/github-cli:1": {},
6-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
7-
},
8-
"mounts": [
9-
"type=cache,target=/home/vscode/.cache/go-build",
10-
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock"
11-
],
12-
"runArgs": [
13-
"--cap-drop=ALL",
14-
"--security-opt",
15-
"no-new-privileges:true"
16-
],
17-
"postCreateCommand": "make lint && go vet ./... && go test ./...",
18-
"customizations": {
19-
"vscode": {
20-
"settings": {
21-
"go.useLanguageServer": true,
22-
"go.lintTool": "golangci-lint",
23-
"go.toolsEnvVars": {
24-
"GOFLAGS": "-buildvcs=false"
25-
},
26-
"editor.formatOnSave": true,
27-
"editor.codeActionsOnSave": {
28-
"source.organizeImports": true
29-
}
30-
},
31-
"extensions": [
32-
"golang.Go",
33-
"github.vscode-github-actions",
34-
"eamodio.gitlens"
35-
]
36-
}
37-
},
38-
"remoteUser": "vscode"
2+
"customizations": {
3+
"vscode": {
4+
"extensions": [
5+
"golang.Go",
6+
"github.vscode-github-actions",
7+
"eamodio.gitlens"
8+
],
9+
"settings": {
10+
"editor.codeActionsOnSave": {
11+
"source.organizeImports": true
12+
},
13+
"editor.formatOnSave": true,
14+
"go.lintTool": "golangci-lint",
15+
"go.toolsEnvVars": {
16+
"GOFLAGS": "-buildvcs=false"
17+
},
18+
"go.useLanguageServer": true
19+
}
20+
}
21+
},
22+
"features": {
23+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
24+
"ghcr.io/devcontainers/features/github-cli:1": {}
25+
},
26+
"image": "mcr.microsoft.com/devcontainers/go:0-1.24-bullseye",
27+
"mounts": [
28+
"type=cache,target=/home/vscode/.cache/go-build",
29+
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock"
30+
],
31+
"name": "go-subtree dev container",
32+
"postCreateCommand": "make lint && go vet ./... && go test ./...",
33+
"remoteUser": "vscode",
34+
"runArgs": [
35+
"--cap-drop=ALL",
36+
"--security-opt",
37+
"no-new-privileges:true"
38+
]
3939
}

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ indent_size = 2
1818

1919
[*.{json,prettierrc}]
2020
indent_style = space
21-
indent_size = 2
21+
indent_size = 4
2222

2323
[*.{js,mjs,cjs,ts}]
2424
indent_style = space
25-
indent_size = 2
25+
indent_size = 4
2626

2727
[*.py]
2828
indent_style = space

0 commit comments

Comments
 (0)