Skip to content

Commit

Permalink
chore: update linter configuration to newest version
Browse files Browse the repository at this point in the history
  • Loading branch information
nachtjasmin committed Jul 8, 2024
1 parent cf64354 commit 4a0ed49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
linters:
enable-all: true
disable:
- exhaustivestruct
- depguard
- execinquery # deprecated since v1.58.0
- funlen
- gci
- goconst
- gochecknoglobals
- goconst
- gofumpt
- gomnd
- lll
- mnd # some magic numbers are acceptable.
- nlreturn
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func copyStaticFiles(staticPath string, destinationPath string) error {
if err != nil {
return fmt.Errorf("error creating directory %q: %w", destinationPath, err)
}

return nil
}

Expand Down

0 comments on commit 4a0ed49

Please sign in to comment.