Skip to content

Commit

Permalink
fix: lint config
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jun 26, 2023
1 parent 66e5bab commit 68b6cbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 43 deletions.
11 changes: 9 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
run:
go: "1.19"
go: "1.20"
timeout: 5m
linters:
enable:
- thelper
Expand All @@ -12,7 +13,7 @@ linters:
- forbidigo
- tagliatelle
- misspell

- depguard
linters-settings:
forbidigo:
forbid:
Expand All @@ -23,3 +24,9 @@ linters-settings:
rules:
yaml: snake
json: snake
depguard:
rules:
main:
deny:
- pkg: "github.com/pkg/errors"
desc: "use stdlib instead"
41 changes: 0 additions & 41 deletions .golangci.yml

This file was deleted.

0 comments on commit 68b6cbd

Please sign in to comment.