Skip to content

Commit 00b224c

Browse files
committed
review
1 parent a7180e4 commit 00b224c

File tree

7 files changed

+48
-571
lines changed

7 files changed

+48
-571
lines changed

.golangci.next.reference.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,13 +1223,15 @@ linters-settings:
12231223
var-require-grouping: true
12241224

12251225
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
1226+
# Identifies interfaces that are not used anywhere in the same package where the interface is defined.
1227+
# Default: false
1228+
unused: true
1229+
# Identifies interfaces in the same package with identical methods or constraints.
1230+
# Default: false
1231+
identical: true
1232+
# Identifies functions that return interfaces, but the actual returned value is always a single concrete implementation.
1233+
# Default: false
1234+
opaque: true
12331235

12341236
importas:
12351237
# Do not allow unaliased imports of aliased packages.
@@ -2668,6 +2670,7 @@ linters:
26682670
- gosmopolitan
26692671
- govet
26702672
- grouper
2673+
- iface
26712674
- importas
26722675
- inamedparam
26732676
- ineffassign
@@ -2784,6 +2787,7 @@ linters:
27842787
- gosmopolitan
27852788
- govet
27862789
- grouper
2790+
- iface
27872791
- importas
27882792
- inamedparam
27892793
- ineffassign

0 commit comments

Comments
 (0)