mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-04-01 13:37:30 +02:00
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:
40
53/425877e242/0/prompt.txt
Normal file
40
53/425877e242/0/prompt.txt
Normal 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
|
||||
Reference in New Issue
Block a user