Skip to content

Commit

Permalink
Update Make lint, disable gofumpt and godot until future
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Mar 23, 2022
1 parent 1642c86 commit d3be4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d3be4b2

Please sign in to comment.