From 342e7b051b45419b6f052c1d4b83e904e14414ff Mon Sep 17 00:00:00 2001 From: meowgorithm <25087+meowgorithm@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:57:41 +0000 Subject: [PATCH] chore(ci): sync golangci-lint config --- .golangci-soft.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .golangci-soft.yml diff --git a/.golangci-soft.yml b/.golangci-soft.yml new file mode 100644 index 00000000..87837137 --- /dev/null +++ b/.golangci-soft.yml @@ -0,0 +1,40 @@ +run: + tests: false + +issues: + include: + - EXC0001 + - EXC0005 + - EXC0011 + - EXC0012 + - EXC0013 + + max-issues-per-linter: 0 + max-same-issues: 0 + +linters: + enable: + - exhaustive + - goconst + - godot + - godox + - mnd + - gomoddirectives + - goprintffuncname + - misspell + - nakedret + - nestif + - noctx + - nolintlint + - prealloc + - wrapcheck + + # disable default linters, they are already enabled in .golangci.yml + disable: + - errcheck + - gosimple + - govet + - ineffassign + - staticcheck + - typecheck + - unused