Vendor dependencies and expose mcproxyctl binary via nix build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
77 lines
1.2 KiB
TOML
77 lines
1.2 KiB
TOML
version = "2"
|
|
|
|
[linters]
|
|
default = "none"
|
|
enable = [
|
|
"asciicheck",
|
|
"bodyclose",
|
|
"dogsled",
|
|
"dupl",
|
|
"durationcheck",
|
|
"errcheck",
|
|
"errorlint",
|
|
"exhaustive",
|
|
"forbidigo",
|
|
"gochecknoinits",
|
|
"goconst",
|
|
"gocritic",
|
|
"godoclint",
|
|
"goheader",
|
|
"gomodguard",
|
|
"goprintffuncname",
|
|
"gosec",
|
|
"govet",
|
|
"importas",
|
|
"ineffassign",
|
|
"lll",
|
|
"makezero",
|
|
"mirror",
|
|
"misspell",
|
|
"nakedret",
|
|
"nilerr",
|
|
"noctx",
|
|
"nolintlint",
|
|
"perfsprint",
|
|
"prealloc",
|
|
"predeclared",
|
|
"revive",
|
|
"rowserrcheck",
|
|
"sqlclosecheck",
|
|
"staticcheck",
|
|
"thelper",
|
|
"tparallel",
|
|
"unconvert",
|
|
"unparam",
|
|
"unused",
|
|
"usetesting",
|
|
"wastedassign",
|
|
"whitespace",
|
|
]
|
|
|
|
[linters.settings.exhaustive]
|
|
default-signifies-exhaustive = true
|
|
|
|
[linters.settings.lll]
|
|
line-length = 150
|
|
|
|
[[linters.exclusions.rules]]
|
|
path = ".test.go"
|
|
linters = ["goconst", "gosec"]
|
|
|
|
[[linters.exclusions.rules]]
|
|
path = "main.go"
|
|
linters = ["forbidigo"]
|
|
|
|
[[linters.exclusions.rules]]
|
|
path = "internal"
|
|
linters = ["revive"]
|
|
text = "(exported|indent-error-flow): "
|
|
|
|
[formatters]
|
|
enable = [
|
|
"gci",
|
|
"gofmt",
|
|
"gofumpt",
|
|
"goimports",
|
|
]
|