Skip to content

Update to golangci-lint 1.8.1. Get rid of standalong misspell linter. #1073

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
Jul 2, 2018

Conversation

pedropombeiro
Copy link
Contributor

For some reason govet is complaining about missing lib/C and signal/C folders. The workaround here was to ignore any subfolders of those 2 folders, but alternatively we could run the linter once for govet (without those folders) and a second time for the rest (although we'd lose some performance gains by doing that).

@pedropombeiro pedropombeiro self-assigned this Jun 29, 2018
Copy link
Contributor

@adambabik adambabik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It's pretty strange but I think it comes from the fact that we do import "C" in singlas package. It should skip this import...

@jirfag
Copy link

jirfag commented Jun 30, 2018

Hi!
You can make an issue in golangci-lint repo if you found something wrong. I created the issue about cgo and govet and fixed it, it will be included in the next release in a few days

@pedropombeiro
Copy link
Contributor Author

That's great to hear, @jirfag! I'm even happier now to have switched to golangci-lint! ❤️

@pedropombeiro
Copy link
Contributor Author

Simplified this PR with the awesome help from @jirfag doing a quick 1.9.1 release. Merging once build finishes.

@pedropombeiro pedropombeiro force-pushed the feature/update-lint-1.8.1 branch from 4497c2f to 0071787 Compare July 2, 2018 16:01
@pedropombeiro pedropombeiro merged commit 7c51f9a into develop Jul 2, 2018
@pedropombeiro pedropombeiro deleted the feature/update-lint-1.8.1 branch July 2, 2018 16:41
@jakubgs jakubgs mentioned this pull request Jan 11, 2020
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.

4 participants