Checkpoint: 53425877e242

Entire-Session: 9fa13bc4-ded3-497b-9553-eaac6e6ee61e
Entire-Strategy: manual-commit
Entire-Agent: Claude Code
Ephemeral-branch: entire/82c514b-e3b0c4
This commit is contained in:
2026-03-30 16:23:12 +02:00
parent 585d518a30
commit 61aec8f9bc
5 changed files with 176 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
Add a Make target to format all go files using gofumpt. Add another target to run the linter using the following settings: gopls = {
gofumpt = true,
codelenses = {
gc_details = false,
generate = true,
regenerate_cgo = true,
run_govulncheck = true,
test = true,
tidy = true,
upgrade_dependency = true,
vendor = true,
},
hints = {
assignVariableTypes = true,
compositeLiteralFields = true,
compositeLiteralTypes = true,
constantValues = true,
functionTypeParameters = true,
parameterNames = true,
rangeVariableTypes = true,
},
analyses = {
nilness = true,
unusedparams = true,
unusedwrite = true,
useany = true,
},
usePlaceholders = true,
completeUnimported = true,
staticcheck = true,
directoryFilters = { "-.git", "-.vscode", "-.idea", "-.vscode-test", "-node_modules" },
semanticTokens = true, . How can go linter configuration be set project specific?
---
Analyse which directories should be added to the directoryFilters
---
Add infos about the new make targets including the required tools and how to install them to the README