Skip to content

Commit

Permalink
PR: Linter to enforce usage of any.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Sep 15, 2022
1 parent c3003ce commit b640e3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/configs/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ linters-settings:
forbid:
- 'fmt\.Print.*'
- 'ioutil\.*'
- interface{}

# Exclude godoc examples from forbidigo checks.
exclude_godoc_examples: false
Expand Down Expand Up @@ -334,6 +335,8 @@ linters-settings:
rules:
- name: superfluous-else
severity: error
- name: use-any
severity: error


staticcheck:
Expand Down

0 comments on commit b640e3e

Please sign in to comment.