Skip to content

Commit

Permalink
Enables go fmt simplify (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1kola authored Apr 26, 2022
1 parent 5a7e281 commit b85d5cf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ issues:
exclude-use-default: false

linters-settings:
gofmt:
simplify: false

stylecheck:
# added additional checks for comments in Go.
# added additional checks for comments in Go.
# Refer https://staticcheck.io/docs/options#checks for details
checks: ["all", "-ST1000", "ST1020", "ST1021", "ST1022"]

Expand All @@ -32,6 +29,5 @@ linters:
- govet
- staticcheck
# TODO: Enable the stylecheck linter in a follow-up PR as it requires changes in a lot of files
# - stylecheck
# - stylecheck
- whitespace

0 comments on commit b85d5cf

Please sign in to comment.