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 instructions for multi-os linting #86

Merged
merged 2 commits into from
Sep 8, 2020

Conversation

corylanou
Copy link
Contributor

Added a matrix to show how to do multi-os lint builds. This is specifically needed if you have files like _darwin.go or _windows.go, etc. If you don't lint on that specific OS, then those files will NOT be linted.

I also added a note about .gitattributes needing to have the line endings correctly checked out, otherwise linting will fail for formatting as well.

Added a matrix to show how to do multi-os lint builds.  This is specifically needed if you have files like `_darwin.go` or `_windows.go`, etc.  If you don't lint on that specific OS, then those files will NOT be linted.

I also added a note about `.gitattributes` needing to have the line endings correctly checked out, otherwise linting will fail for formatting as well.
Copy link
Member

@SVilgelm SVilgelm left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@SVilgelm SVilgelm left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you

@SVilgelm SVilgelm requested a review from a team September 8, 2020 15:49
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

LGTM!

@SVilgelm SVilgelm merged commit 37037d3 into golangci:master Sep 8, 2020
@ldez ldez added the documentation Improvements or additions to documentation label Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants