Repository navigation
build: Format with wp-prettier - #101
Merged
Merged
Conversation
dcalhoun
commented
Feb 16, 2025
dcalhoun
left a comment
Member
Author
There was a problem hiding this comment.
Aside from the inline comments, all changes are solely code formatting changes applied by wp-prettier.
Comment on lines
+93
to
+103
| .flatMap( ( script ) => [ | ||
| `wp-content/plugins/gutenberg/build/${ script | ||
| .replace( /\\/g, '\\\\' ) | ||
| .replace( /\//g, '\\/' ) }\\b`, | ||
| `wp-includes/js/dist/${ script | ||
| .replace( /\\/g, '\\\\' ) | ||
| .replace( /\//g, '\\/' ) }\\b`, | ||
| ] ) |
Member
Author
There was a problem hiding this comment.
Added backslash escaping to address security alerts.
| <Editor { ...props }> | ||
| <EditorSnackbars /> | ||
| </Editor> | ||
| <EditorLoadNotice className="gutenberg-kit-layout__load-notice" /> |
Member
Author
There was a problem hiding this comment.
Relocated from editor to layout to ensure it sits atop other editor UI.
dcalhoun
marked this pull request as ready for review
February 16, 2025 13:48
dcalhoun
enabled auto-merge (squash)
February 16, 2025 13:48
Member
Author
|
@nbradbury sending a friendly reminder of this PR review request. No worries if you'd like additional time to review, just ensuring it doesn't "fall through the cracks." Thanks! 🙇🏻♂️ |
dcalhoun
force-pushed
the
build/format-with-wp-prettier
branch
from
February 18, 2025 21:01
41d76f9 to
57f9cd5
Compare
Adhere to Gutenberg project practices.
Improve robustness of regular expression logic modifying remote script paths.
Ensure notice sits atop editor UI.
dcalhoun
force-pushed
the
build/format-with-wp-prettier
branch
from
February 18, 2025 21:02
57f9cd5 to
c5500ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Ensure the WordPress community-specific
parenSpacesstyle is applied.Why?
Align with Gutenberg project practices.
How?
Replace
prettierwithwp-prettier.Testing Instructions
N/A, no user-facing changes.
Accessibility Testing Instructions
N/A, no user-facing changes.
Screenshots or screencast
N/A, no user-facing changes.