Skip to content

update gomodguard #1044

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

Merged
merged 1 commit into from
Apr 25, 2020
Merged

update gomodguard #1044

merged 1 commit into from
Apr 25, 2020

Conversation

ryancurrah
Copy link
Member

@ryancurrah ryancurrah commented Apr 25, 2020

Update gomodguard to version v1.0.4 to not block a module import when the linted module is a recommended alternative

If the linted module imports a blocked module but the linted module is in the recommended modules list the blocked module is ignored. Usually, this means the linted module wraps that blocked module for use by other modules, therefore the import of the blocked module should not be blocked.

@ernado
Copy link
Member

ernado commented Apr 25, 2020

The killer feature would be license-based blocks, e.g. forbid AGPL :)

@ernado ernado merged commit 68ac3ca into golangci:master Apr 25, 2020
@ldez ldez added the linter: update version Update version of linter label Dec 7, 2020
@ldez ldez added this to the v1.25 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter: update version Update version of linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants