We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Alloy fmt
Is it possible to change indentation from "tab" to "space" when i use alloy fmt please ?
alloy fmt
In Kubernetes, when i create ConfigMap from file, \n... are prints instead of a newline. It's hard to edit or consult ConfigMap with this formatting.
Today:
apiVersion: v1 data: test.alloy: "test.example \"xxx\" {\n\foo = \"bar\"\n}\n" kind: ConfigMap metadata: name: alloy namespace: grafana-alloy
Expected :
apiVersion: v1 data: test.alloy: | test.example "xxx" { foo = "bar" } kind: ConfigMap metadata: name: alloy namespace: grafana-alloy
The text was updated successfully, but these errors were encountered:
I think this maybe cause by the terminator is '\n'? maybe it need to add terminator judge for '\t' https://grafana.com/docs/alloy/latest/concepts/configuration-syntax/syntax/#:~:text=Terminators,as%20you%20want.
Sorry, something went wrong.
No branches or pull requests
Request
Is it possible to change indentation from "tab" to "space" when i use
alloy fmt
please ?Use case
In Kubernetes, when i create ConfigMap from file, \n... are prints instead of a newline. It's hard to edit or consult ConfigMap with this formatting.
Today:
Expected :
The text was updated successfully, but these errors were encountered: