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

option to block all replace #8

Closed
wants to merge 1 commit into from

Conversation

carnott-snap
Copy link

In addition to the existing block.local_replace_directives, this change
allows checking for the addition of any replace clauses.

Close golangci/golangci-lint#1812

In addition to the existing block.local_replace_directives, this change
allows checking for the addition of any replace clauses.
@codecov
Copy link

codecov bot commented Mar 4, 2021

Codecov Report

Merging #8 (21aae6d) into master (1fc898b) will decrease coverage by 0.46%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   65.10%   64.64%   -0.47%     
==========================================
  Files           2        2              
  Lines         278      280       +2     
==========================================
  Hits          181      181              
- Misses         97       99       +2     
Flag Coverage Δ
unittests 64.64% <0.00%> (-0.47%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gomodguard.go 70.90% <0.00%> (-0.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fc898b...21aae6d. Read the comment docs.

@ryancurrah
Copy link
Owner

This has been implemented as a new linter, gomoddirectives in golangci-lint as well. https://github.com/ldez/gomoddirectives

@ryancurrah ryancurrah closed this May 17, 2021
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

2 participants