Skip to content

Commit

Permalink
Run gofmt via golangci-lint (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas authored and k8s-ci-robot committed Dec 7, 2019
1 parent a31442b commit e37ee1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# all available settings of specific linters
linters-settings:
gofmt:
simplify: true
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
Expand All @@ -24,6 +26,7 @@ run:

linters:
enable:
- gofmt
- gocritic
- goimports
- golint
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ before_install:
script:
- hack/verify-code-patterns.sh
- hack/verify-boilerplate.sh
- hack/verify-gofmt.sh
- hack/run-lint.sh
- go test -short -coverprofile=coverage.txt -covermode=atomic ./...
- hack/make-all.sh
Expand Down
26 changes: 0 additions & 26 deletions hack/verify-gofmt.sh

This file was deleted.

0 comments on commit e37ee1d

Please sign in to comment.