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

tools/riverfmt: introduce riverfmt for formatting files #1976

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Jul 29, 2022

This is an initial commit for a basic formatting tool for River files.

  • Supports formatting stdin: cat file.river | riverfmt
  • Supports rewriting files: riverfmt -w file.river
  • Supports printing diff to stdout: riverfmt file.river

@rfratto rfratto requested a review from a team July 29, 2022 19:50
@rfratto rfratto merged commit 4ab534e into grafana:main Aug 1, 2022
@rfratto rfratto deleted the riverfmt branch August 1, 2022 11:41
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants