Skip to content

Comments

*: require usage of github.com/cockroachdb/errors#535

Merged
RafalKorepta merged 1 commit intomainfrom
chris/p/errors-linter
Mar 18, 2025
Merged

*: require usage of github.com/cockroachdb/errors#535
RafalKorepta merged 1 commit intomainfrom
chris/p/errors-linter

Conversation

@chrisseto
Copy link
Contributor

This commit configures the depguard linter to reject imports of the errors and github.com/pkg/errors libraries and instructs users to instead use github.com/cockroachdb/errors.

Additionally, gomodguard has been removed and replaced with depguard as gomodguard is incapable of linting std library imports.

This commit configures the `depguard` linter to reject imports of the `errors`
and `github.com/pkg/errors` libraries and instructs users to instead use
`github.com/cockroachdb/errors`.

Additionally, `gomodguard` has been removed and replaced with `depguard` as
`gomodguard` is incapable of linting std library imports.
@RafalKorepta RafalKorepta enabled auto-merge (rebase) March 18, 2025 17:25
@RafalKorepta RafalKorepta merged commit 49b468a into main Mar 18, 2025
14 checks passed
@RafalKorepta RafalKorepta deleted the chris/p/errors-linter branch March 18, 2025 19:01
@chrisseto
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
release/v2.3.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants