Skip to content

Conversation

@teto
Copy link
Contributor

@teto teto commented Feb 3, 2025

I tried jsonfmt5 but it unquoted keys which broke my json

hujsonfmt replace spaces with tabs and it doesn't seem configurable.
When I tried using it I got

ERRO formatter | hujsonfmt: failed to apply with options '[-w]': exit status 1

hujson: line 2, column 5: invalid literal: desktop
usage: hujsonfmt [flags] [path ...]
  -d	display diffs instead of rewriting files
  -l	list files whose formatting differs from hujsonfmt's
  -m	minify results
  -s	standardize results to plain JSON
  -w	write result to (source) file instead of stdout

I tried jsonfmt5 but it unquoted keys which broke my json
@fjij fjij mentioned this pull request Jun 9, 2025
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