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

feat(go.gitignore): Add code coverage and IDE files #4565

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ashwingopalsamy
Copy link

Reasons for making this change:

I’ve noticed a couple of things missing from the Go .gitignore template that many of us deal with daily:

  1. Code coverage files: Whenever we run tests, files like *.out and *.coverprofile pop up. These are temporary and don’t really belong in version control.
  2. IDE/editor files: Directories like .idea/ and .vscode/ are personal to each developer’s setup and don’t add much value to the repo itself. This is by-default commented out. So, we're providing an option for developers (just like we do for vendor/ files).

Just cleaner repos, happier teams!

Links to documentation supporting these rule changes:

.idea / .vscode files are unlikely to provide any value to the Go developers, in the real world scenario. There isn't a documentation that supports this, specifically for Go, but here we go:

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.

1 participant