diff --git a/.golangci.yml b/.golangci.yml index 46de87e..bd1c407 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,7 +4,7 @@ linters-settings: goconst: min-len: 2 min-occurrences: 3 - # since upgrading to v1.22.1 of go: + # since upgrading to v1.22.0 of go: # ERRO [linters_context] gocritic: load embedded ruleguard # rules: rules/rules.go:13: can't load fmt: setting an explicit GOROOT can fix this problem. # @@ -64,6 +64,13 @@ linters: - whitespace - wsl +issues: + max-issues-per-linter: 0 + max-same-issues: 0 + fix: true + exclude: + - "cuddle" + run: skip-dirs: - /generators/gola/templates diff --git a/.vscode/settings.json b/.vscode/settings.json index f81b46f..e8d5a21 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,6 +18,7 @@ "dotenv", "dupl", "errcheck", + "ERRO", "exportloopref", "extendio", "faydeaudeau", @@ -37,6 +38,7 @@ "gomega", "gomnd", "gomock", + "GOROOT", "gosec", "gosimple", "goveralls", @@ -65,6 +67,7 @@ "rebinder", "refl", "repotoken", + "ruleguard", "samber", "Selectf", "snivilised",