Skip to content

Commit d18599f

Browse files
uudashrldez
authored andcommitted
Add iface linter
1 parent 7187c89 commit d18599f

16 files changed

+716
-0
lines changed

.golangci.next.reference.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,15 @@ linters-settings:
12221222
# Default: false
12231223
var-require-grouping: true
12241224

1225+
iface:
1226+
# By default set to empty. Leave it empty means all analyzers are enabled.
1227+
# Default: []
1228+
enable:
1229+
- unused
1230+
- empty
1231+
- duplicate
1232+
- opaque
1233+
12251234
importas:
12261235
# Do not allow unaliased imports of aliased packages.
12271236
# Default: false

0 commit comments

Comments
 (0)