You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Fixes Or Enhances
Recently, the Dependabot
[PR](#1403) for the
linter update failed.
This PR updates the linter to `v2.0.2`, adds a linter configuration
file, and addresses some obvious errors:
- Error return value of `file.Close` is not checked (errcheck)
- Error return value of `os.Remove` is not checked (errcheck)
- could use strings.ReplaceAll instead (staticcheck)
- could omit type interface{} from declaration; it will be inferred from
the right-hand side (staticcheck)
**Make sure that you've checked the boxes below before you submit PR:**
- [ ] Tests exist or have been written that cover this particular
change.
@go-playground/validator-maintainers
0 commit comments