From 8dcaf9c010b3e74cb5e186f700231aa79cc3c230 Mon Sep 17 00:00:00 2001 From: DownerCase Date: Mon, 16 Dec 2024 14:19:42 +0000 Subject: [PATCH] Add golangci-lint config file --- .golangci.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .golangci.yaml diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..87c98f4 --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,36 @@ +linters: + enable-all: true + disable: + - exportloopref # Deprecated + - execinquery # Deprecated + - gci + - gocritic + - gofumpt + - forbidigo + - godot + - godox + - gomnd + - ireturn + - exhaustruct + - mnd + - forcetypeassert + - nlreturn + - nonamedreturns + - paralleltest + - predeclared + - testpackage + - thelper + - varnamelen + - wrapcheck + - wsl + - err113 + - stylecheck + - gochecknoglobals + - depguard + - cyclop + - whitespace + - revive + - goimports + - gosec + - protogetter + - funlen