dapr / dapr/components-contrib
CI: track waring after upgrade Golangci-lint to 1.59
- Dominant language
- Go
- Stars
- 602
- Forks
- 580
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
After upgrade to 1.59, CI reports following warning:
```
level=warning msg="[config_reader] The configuration option `linters.errcheck.ignore` is deprecated, please use `linters.errcheck.exclude-functions`."
level=warning msg="The linter 'execinquery' is deprecated (since v1.58.0) due to: The repository of the linter has been archived by the owner. "
```
Now it still works but better to upgrade configuration in case of failure in the future.
Contributor guide
Research direction
Start by locating the golangci-lint 1.59 configuration used by CI and inspect the settings named in the warning. Update the deprecated errcheck configuration and address the deprecated execinquery linter, then rerun the CI lint command and confirm both warnings are gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- ci-cd, tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100