diff --git a/.golangci.yml b/.golangci.yml index a38884b..b801e64 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -38,8 +38,6 @@ linters: - lll enable: - bodyclose - - deadcode - - depguard - dogsled - dupl - errcheck @@ -63,13 +61,11 @@ linters: - prealloc - rowserrcheck - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - wsl diff --git a/cmd/synchronizer/main_test.go b/cmd/synchronizer/main_test.go index f120035..85696e3 100644 --- a/cmd/synchronizer/main_test.go +++ b/cmd/synchronizer/main_test.go @@ -14,6 +14,7 @@ const ( trivialString = "h" ) +//nolint:goconst // test func TestDecode(t *testing.T) { t.Run("not encoded", func(t *testing.T) { res, err := decode(quote)