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

prettier formatting for json files #882

Open
5 tasks
bpkroth opened this issue Nov 14, 2024 · 1 comment
Open
5 tasks

prettier formatting for json files #882

bpkroth opened this issue Nov 14, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@bpkroth
Copy link
Contributor

bpkroth commented Nov 14, 2024

  • Add Makefile format target rules to reformat *.json and *.jsonc files.
  • Add Makefile check target rules to check the format of json files.
  • Add pre-commit config hooks using either prettier or pretty-format-json
  • Require those rules and reformat json files.
@bpkroth bpkroth added the help wanted Extra attention is needed label Nov 22, 2024
@bpkroth
Copy link
Contributor Author

bpkroth commented Jan 4, 2025

Could also make use of pretty-format-json hook in our new .pre-commit-config.yaml.

See: #904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant