golangci-lint: use gomodguard/depguard
Open
triage
- Dominant language
- Go
- Stars
- 20.9k
- Forks
- 1.8k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 39
Description
People shouldn't import uncommon, experimental, or outdated lib.
_Originally posted by @ccoVeille in https://github.com/gofr-dev/gofr/pull/1867#discussion_r2156238245_
If we do so, it should be documented with a //nolint
This would prevent people to bring new dependencies
Contributor guide
Research direction
Start by locating the repository's golangci-lint configuration and review the linked discussion in pull request 1867. Configure gomodguard or depguard to restrict uncommon, experimental, or outdated imports; done means new dependencies are prevented unless an import is explicitly documented with //nolint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100