Skip to content

Build: Use JSONLint to format JSON files #2591

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nschonni
Copy link
Member

@nschonni nschonni commented Jul 2, 2025

What does this pull request(PR) do?

Separate from the larger PR that enables Lintspaces on all the files, I was looking for a way to repeat the formatting consistently.
This adds a separate task to run the formatting, but I noticed the regular jsonlint:all pass doesn't actually check the format (outside of broken JSON), so relied on Lintspaces for now.
An alternate way to check this in CI, would be to run the format and then fail if there is any git diff

Contribution category (please only choose one)

  • Stateless or basic component
  • Interactive component
  • Helper component
  • Site wide component
  • Baseline layout
  • Page layout

General checklist

Related issues

}
,{
"@context": {
"@version": 2.0,
Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like a bug, and should probably be quoted

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