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

Install and run po-linter #12

Closed
wants to merge 10 commits into from
Closed

Install and run po-linter #12

wants to merge 10 commits into from

Conversation

douglascamata
Copy link

po-linter is recommended in the Prometheus Operator repo for linting PrometheusRule CRDs (see https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/linting.md).

It detects problems that this tool so far has been letting pass, like rules with labels that aren't strings.

@douglascamata
Copy link
Author

Too many issues with Go packages with replace directives in their go.mod files and their consequences. Abandoning this in favor of adding the check to Pint: cloudflare/pint#839

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

Successfully merging this pull request may close these issues.

1 participant