Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user supplied error messages in depguard issues #662

Merged
merged 1 commit into from Sep 9, 2019

Conversation

codyleyhan
Copy link
Contributor

This adds the ability for a user to add an error message for specific packages when encountered in depguard issues. This is really useful to point users to use another package.

An example of what the new output looks like when a user supplies an error message
image

I have made an upstream PR to add similar functionality to depguard in OpenPeeDeeP/depguard#12

@CLAassistant
Copy link

CLAassistant commented Sep 5, 2019

CLA assistant check
All committers have signed the CLA.

@jirfag jirfag merged commit a8f2c27 into golangci:master Sep 9, 2019
@jirfag
Copy link
Member

jirfag commented Sep 9, 2019

thank you! I'll also add example to .golangci.example.yml

@ldez ldez added this to the v1.18 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants