Skip to content

Commit

Permalink
Enabled gofmt and unused
Browse files Browse the repository at this point in the history
  • Loading branch information
sayboras committed Oct 12, 2019
1 parent 2b51fb2 commit 33a79b6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,17 @@ linters-settings:
linters:
disable-all: true
enable:
- gofmt
- unused
- govet
- golint
- errcheck
- deadcode
- misspell
# TODO: enable the below linter in the future
# - goimports
# - maligned
# - prealloc
# - gocyclo
# - lll
# - gosec
4 changes: 2 additions & 2 deletions pkg/gitops/flux/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"strings"
"time"

portforward "github.com/justinbarrick/go-k8s-portforward"
"github.com/kris-nova/logger"
fluxapi "github.com/fluxcd/flux/pkg/api/v6"
transport "github.com/fluxcd/flux/pkg/http"
"github.com/fluxcd/flux/pkg/http/client"
"github.com/fluxcd/flux/pkg/ssh"
portforward "github.com/justinbarrick/go-k8s-portforward"
"github.com/kris-nova/logger"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
kubeclient "k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
Expand Down

0 comments on commit 33a79b6

Please sign in to comment.