diff --git a/.golangci.yml b/.golangci.yml index 2c73a7fd03a..803a5d32c83 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,11 +34,11 @@ linters: - goconst # - gocritic <- re enable later to catch capitalized local variables # - gocyclo <- disabled because it won't work with how we cosmos - - godot + # - godot # - godox <- detects TODO/BUG/FIXME and we may wantnthis later but isn't appropriate now # - goerr113 <- disabled due to lack of comprehension - gofmt - - gofumpt + # - gofumpt - goheader - goimports # - gomoddirectives <- disables replaces diff --git a/Makefile b/Makefile index f57232bd9b0..1257f17eb08 100644 --- a/Makefile +++ b/Makefile @@ -231,7 +231,7 @@ benchmark: ############################################################################### lint: - golangci-lint run --disable-all -E errcheck + golangci-lint run find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs gofmt -d -s format: