You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To maintain consistent code quality and enforce best practices, ramenctl should adopt linting tools. Adding linters will ensure a standardised coding style across the project. This could also server as first step towards introducing CI to validate the code changes.
It was taken from Cobra, and some linters were disabled due to issue in the current code. We want to enable the disabled linters in this repo.
If the current code does not pass the lint job you can disable the linters until it pass. In the next step enable each linter by fixing the issues in the current code.
The text was updated successfully, but these errors were encountered:
To maintain consistent code quality and enforce best practices, ramenctl should adopt linting tools. Adding linters will ensure a standardised coding style across the project. This could also server as first step towards introducing CI to validate the code changes.
Linters
golangci-lint
Start with this configuration:
https://github.com/nirs/kubectl-gather/blob/main/.golangci.yaml
It was taken from Cobra, and some linters were disabled due to issue in the current code. We want to enable the disabled linters in this repo.
If the current code does not pass the lint job you can disable the linters until it pass. In the next step enable each linter by fixing the issues in the current code.
The text was updated successfully, but these errors were encountered: