Skip to content

Commit

Permalink
Add gocyclo linter (#1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Jul 15, 2021
1 parent c8a795b commit c0b72ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Expand Up @@ -28,13 +28,16 @@ linters-settings:
- name: unused-parameter
- name: var-declaration
- name: var-naming
gocyclo:
min-complexity: 15

linters:
enable:
- asciicheck
- deadcode
- errcheck
- errorlint
- gocyclo
- gofmt
- gofumpt
- goimports
Expand Down

0 comments on commit c0b72ab

Please sign in to comment.