-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
The avalanchego linter is applied on all Ava Labs owned files in this repo, but not all linters can be applied. Because it previously adhered only to a weaker linter, adding all linters would cause it to fail. Here are all the linters currently unused from .avalanche-golangci.yml
:
- depguard
- errcheck
- forbidigo (must do depguard first, or add handling for
assert
cases)-
t.Fatal
-
require.Error
andrequire.ErrorContains
- Remaining
-
- gocritic
- gosec
- nilerr
- prealloc
- predeclared
- revive
- staticcheck
- testifylint
Each of these changes should be reflected in coreth prior to subnet-evm to keep the repos synced in properly.