Gutenberg Plugin: Format all JSON files using Prettier formatter#30714
Gutenberg Plugin: Format all JSON files using Prettier formatter#30714
Conversation
e6ea5f8 to
d73ff1a
Compare
|
Size Change: +857 B (0%) Total Size: 1.43 MB
ℹ️ View Unchanged
|
|
😲 |
mkaz
left a comment
There was a problem hiding this comment.
Quite a few files to review 😆
It looks like most of the fixes are changes to the test fixtures and range parameters,, so those passing will be a good confirmation. Will the auto generated fixtures need to be updated?
I updated the manifest tool to include a new line when it generates, this clears up that error.
Good observation. It's hard to tell, but as long as we don't run checks on the formatting it's acceptable. I wanted to split efforts into smaller steps as much as possible. |

Description
Related to #30240 where @ockham proposed we start formatting more types of files, other than JS files.
It's a result of executing:
npx prettier --format **/*.jsonLet's see how it plays out in practice with CI checks.
Known issue
See https://github.com/WordPress/gutenberg/pull/30714/checks?check_run_id=2321165368#step:9:6
docs/manifest.jsonfile gets a different end of file when generated withnpm run docs:build