Skip to content

Commit

Permalink
[+] replace deprecated golint linter with revive, closes #112
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Nov 2, 2022
1 parent 1f31cd9 commit 697eba4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
linters:
enable:
- gocyclo
- golint
- misspell
disable:
- structcheck # too many false positives
- misspell
- revive

linters-settings:
gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 20

issues:
# List of regexps of issue texts to exclude, empty list by default.
# But independently from this option we use default exclude patterns,
# it can be disabled by `exclude-use-default: false`. To list all
# excluded by default patterns execute `golangci-lint run --help`
exclude:
- SA5008 # ignore staticcheck for go-flags
min-complexity: 20

0 comments on commit 697eba4

Please sign in to comment.