chore: add golangci-lint tasks and force LF on Go files

Add VS Code tasks to run golangci-lint (with and without --fix) and mark
*.go as text eol=lf so Go sources check out with LF, avoiding spurious
CRLF lint failures on Windows. Also drop the now-redundant explicit
DockerInit.sh/DockerEntrypoint.sh entries already covered by *.sh.
This commit is contained in:
MHSanaei
2026-07-08 22:11:28 +02:00
parent a067f817ae
commit 5c5a509605
2 changed files with 30 additions and 4 deletions
+29
View File
@@ -115,6 +115,35 @@
"$go"
]
},
{
"label": "go: golangci-lint run",
"type": "shell",
"command": "golangci-lint",
"args": [
"run"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$go"
]
},
{
"label": "go: golangci-lint run --fix",
"type": "shell",
"command": "golangci-lint",
"args": [
"run",
"--fix"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$go"
]
},
{
"label": "frontend: ncu -u",
"type": "shell",