Skip to content

add config for golangci-lint#24

Merged
exe-prow-github-app[bot] merged 1 commit into
opdev:mainfrom
OchiengEd:linter_config
Feb 26, 2026
Merged

add config for golangci-lint#24
exe-prow-github-app[bot] merged 1 commit into
opdev:mainfrom
OchiengEd:linter_config

Conversation

@OchiengEd

Copy link
Copy Markdown
Contributor

Created an initial .golangci.yml for the project. More could be added or removed to tuned it to the desired state.

Closes #11

Signed-off-by: Edmund Ochieng <ochienged@gmail.com>
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: OchiengEd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 25, 2026
@OchiengEd

Copy link
Copy Markdown
Contributor Author

I had added depguard initially which would allow us to whitelist / blacklist golang packages but, perhaps that should be up for discussion.

@mrhillsman

Copy link
Copy Markdown
Contributor

/lgtm

@exe-prow-github-app exe-prow-github-app Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 26, 2026
@exe-prow-github-app
exe-prow-github-app Bot merged commit 11ff821 into opdev:main Feb 26, 2026
1 check passed
@OchiengEd
OchiengEd deleted the linter_config branch February 26, 2026 16:44
@mrhillsman
mrhillsman requested review from mrhillsman and removed request for dcurran90 March 6, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Go linter configuration

2 participants