* Enable revive linter in test/framework
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Fix revive issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Prevent unnecessary type conversions
By enabling the unconvert linter
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Fix unconvert issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Prevent mistakes with testify
By enabling testifylint
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Fix testifylint issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Ensure all comments end with a period.
By enabling the godot linter
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Fix godot issues
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
This change ensures that deprecated CRD fields are properly commented
which make them reported by Go linters.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Enable depguard linter against github.com/pkg/errors
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
* Replace errors in pkg/{admission,alertmanager}
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
---------
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>