Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Feb 7, 2024
1 parent 50a4c7c commit 8b7561b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions .golangci-soft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,17 @@ issues:

linters:
enable:
# - dupl
- exhaustive
# - exhaustivestruct
- goconst
- godot
- godox
- gomnd
- gomoddirectives
- goprintffuncname
- ifshort
# - lll
- misspell
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
- wrapcheck

Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func main() {
Listen: *listen,
Port: int64(*port),
Factory: func(e wishlist.Endpoint) (*ssh.Server, error) {
// nolint: wrapcheck
return wish.NewServer(
wish.WithAddress(e.Address),
wish.WithHostKeyPath(fmt.Sprintf(".ssh/%s", strings.ToLower(e.Name))),
Expand Down

0 comments on commit 8b7561b

Please sign in to comment.