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 golangci-lint target #288

Closed
rollandf opened this issue Apr 26, 2022 · 3 comments
Closed

Add golangci-lint target #288

rollandf opened this issue Apr 26, 2022 · 3 comments

Comments

@rollandf
Copy link
Contributor

For better lint, add golangci-lint tool to project

rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue Apr 28, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 1, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 2, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 8, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 8, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 11, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 12, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 17, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 18, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
rollandf added a commit to rollandf/sriov-network-operator that referenced this issue May 30, 2022
- Add golangci.yaml config file
- Add Makefile lint target to golangci-lint
- Add GitHub action

Related to issue k8snetworkplumbingwg#288

Signed-off-by: Fred Rolland <frolland@nvidia.com>
@SchSeba
Copy link
Collaborator

SchSeba commented Aug 11, 2022

@rollandf can we close this one or we are still missing some features?

@rollandf
Copy link
Contributor Author

We can close it. There are still linters that are commented out, but we can handle them without this issue.

@SchSeba SchSeba closed this as completed Dec 19, 2022
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

No branches or pull requests

3 participants