Skip to content
This repository was archived by the owner on Apr 10, 2019. It is now read-only.

Set errcheck -ignoretests when tests are not enabled #377

Merged
merged 2 commits into from
Oct 19, 2017

Conversation

dnephin
Copy link
Collaborator

@dnephin dnephin commented Oct 17, 2017

Fixes #272

Add a test for var substitution
Remove unused vars from linterState

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
@dnephin
Copy link
Collaborator Author

dnephin commented Oct 17, 2017

I realized that unparam has a similar flag, so I've added that as well.

I guess gosimple has one as well. Do you think we should add all of these?

@alecthomas
Copy link
Owner

I think it's worth doing.

@alecthomas alecthomas merged commit 9165748 into alecthomas:master Oct 19, 2017
@dnephin dnephin deleted the errcheck-test branch October 20, 2017 00:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants