GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
191 stars 89 forks source link

style: enable revive linter #842

Closed bernot-dev closed 7 months ago

bernot-dev commented 7 months ago

Revive is a meta-linter with many available rules, fixes were made in accordance with these default rules:

See Revive Available Rules for details.

Then, enabled all revive rules. Disabled all currently failing rules, to be evaluated on a case-by-case basis for future inclusion.