Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jul 18, 2024
1 parent 93699e7 commit 2ee3d98
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 575 deletions.
18 changes: 11 additions & 7 deletions .golangci.next.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1208,13 +1208,15 @@ linters-settings:
var-require-grouping: true

iface:
# By default set to empty. Leave it empty means all analyzers are enabled.
# Default: []
enable:
- unused
- empty
- duplicate
- opaque
# Identifies interfaces that are not used anywhere in the same package where the interface is defined.
# Default: false
unused: true
# Identifies interfaces in the same package with identical methods or constraints.
# Default: false
identical: true
# Identifies functions that return interfaces, but the actual returned value is always a single concrete implementation.
# Default: false
opaque: true

importas:
# Do not allow unaliased imports of aliased packages.
Expand Down Expand Up @@ -2641,6 +2643,7 @@ linters:
- gosmopolitan
- govet
- grouper
- iface
- importas
- inamedparam
- ineffassign
Expand Down Expand Up @@ -2756,6 +2759,7 @@ linters:
- gosmopolitan
- govet
- grouper
- iface
- importas
- inamedparam
- ineffassign
Expand Down
Loading

0 comments on commit 2ee3d98

Please sign in to comment.