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

Create .golangci.yml #349

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Create .golangci.yml #349

merged 1 commit into from
Feb 25, 2022

Conversation

RothAndrew
Copy link
Contributor

@RothAndrew RothAndrew commented Feb 24, 2022

I'm proposing a linter configuration. One that, for now, will do nothing unless you install golangci-lint and run it. IDEs can be configured to use it automatically and give you file suggestions.

If accepted, later on I'll propose adding a linter check to the CI pipeline, but for now I just want to propose adding the config file that people can choose to either use or not use.

I looked through what it was picking up in our codebase and picked 4 linters to disable, as I don't believe they are something we care about, though totally open to feedback there. I suspect there are other linters we will want to disable because they will identify things that we really don't care much about.

Fix #350

@RothAndrew RothAndrew self-assigned this Feb 24, 2022
@RothAndrew
Copy link
Contributor Author

/test all

@jeff-mccoy jeff-mccoy merged commit cc388ea into master Feb 25, 2022
@jeff-mccoy jeff-mccoy deleted the add-golangci-lint-config branch February 25, 2022 23:30
Noxsios pushed a commit that referenced this pull request Mar 8, 2023
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.

Add config file for golangci-lint
2 participants