Skip to content

Conversation

@ldvc
Copy link

@ldvc ldvc commented Dec 3, 2025

PR Description

Remove all trailing whitespaces in the entire repository.

Which issue(s) this PR fixes

We are using the Alloy mixins, but the jsonnet files contain trailing whitespaces that conflict with our pre-commit hooks every time we sync with upstream. This PR is a one-shot run using pre-commit to remove all existing trailing whitespaces.

Notes to the Reviewer

A more future-proof solution would be to add this kind of check to this repository. Since you don't use pre-commit, what would be the recommended approach for maintaining this standard going forward?

PR Checklist

As this is a cosmetic/non-functional change, I don't know if the CHANGELOG.md needs to be updated?

  • CHANGELOG.md updated

Signed-off-by: Ludovic Terrier <[email protected]>
@ldvc ldvc requested review from a team and clayton-cornell as code owners December 3, 2025 12:02
@CLAassistant
Copy link

CLAassistant commented Dec 3, 2025

CLA assistant check
All committers have signed the CLA.

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Dec 3, 2025
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for the doc changes. I'll leave the code changes to @grafana/grafana-alloy-maintainers for their check :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants