diff --git a/.golangci.toml b/.golangci.toml index adb290416e752809d42a984b471e973836ac2dd9..1799ee033dc4409bb712d5462086f64acb73f949 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -20,7 +20,6 @@ enable = [ 'contextcheck', 'cyclop', 'decorder', - 'depguard', 'dogsled', 'dupl', 'dupword', @@ -83,23 +82,13 @@ enable = [ 'wastedassign', 'whitespace', 'wrapcheck', - 'wsl' + 'wsl', ] [linters.exclusions] generated = 'lax' -presets = [ - 'comments', - 'common-false-positives', - 'legacy', - 'std-error-handling' -] -paths = [ - 'frontend', - 'third_party$', - 'builtin$', - 'examples$' -] +presets = ['comments', 'common-false-positives', 'legacy', 'std-error-handling'] +paths = ['frontend', 'third_party$', 'builtin$', 'examples$'] [issues] max-issues-per-linter = 0 @@ -108,17 +97,8 @@ new = false fix = false [formatters] -enable = [ - 'gci', - 'gofumpt', - 'goimports' -] +enable = ['gci', 'gofumpt', 'goimports'] [formatters.exclusions] generated = 'lax' -paths = [ - 'frontend', - 'third_party$', - 'builtin$', - 'examples$' -] +paths = ['frontend', 'third_party$', 'builtin$', 'examples$']