Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 18, 2024
1 parent 8cea470 commit 76a37b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions pkg/config/linters_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ var defaultLintersSettings = LintersSettings{
IgnoreTests: true,
WatchForScripts: []string{"Han"},
},
Iface: IfaceSettings{
Unused: true,
Identical: true,
Opaque: true,
},
Inamedparam: INamedParamSettings{
SkipSingleParam: false,
},
Expand Down
5 changes: 3 additions & 2 deletions pkg/golinters/iface/iface.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package iface
import (
"slices"

"github.com/golangci/golangci-lint/pkg/config"
"github.com/golangci/golangci-lint/pkg/goanalysis"
"github.com/uudashr/iface/identical"
"github.com/uudashr/iface/opaque"
"github.com/uudashr/iface/unused"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/config"
"github.com/golangci/golangci-lint/pkg/goanalysis"
)

var allAnalyzers = []*analysis.Analyzer{
Expand Down

0 comments on commit 76a37b6

Please sign in to comment.