style: apply Prettier to md, mdx, and yml files#30440
Merged
HowardBraham merged 5 commits intomainfrom Feb 27, 2025
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
37501a2 to
24c21c6
Compare
HowardBraham
commented
Feb 19, 2025
| 3. To generate a complete set of new policies, call `metamaskbot` for help: | ||
| - put `@metamaskbot update-policies` in a comment on the PR. When it produces changes, they need to be reviewed. The following steps assume update-policies produced changes. | ||
| - _Note the response from the bot points to instructions on how to review the policy for your convenience. https://lavamoat.github.io/guides/policy-diff/_ | ||
| 4. Analyze the diff of policy.json and use the understanding of the codebase and change being made to decide whether the capabilities added make sense in that context. Leave a comment listing any doubts you have with brief explanations or if everything is in order, then say so and explain why the most powerful capabilities are there (like access to `child_process.exec` in node or network access in the browser) |
Contributor
Author
There was a problem hiding this comment.
I slightly changed the text here to make it Prettier-stable
378cdd4 to
eca7e33
Compare
Collaborator
Builds ready [eca7e33]
Page Load Metrics (1803 ± 76 ms)
Bundle size diffs
|
davidmurdoch
previously approved these changes
Feb 21, 2025
Contributor
davidmurdoch
left a comment
There was a problem hiding this comment.
Cool.
Can we follow this commit up with a PR that adds the commit hash (and a comment explain what the commit is) to .git-blame-ignore-revs (I think it is already the default )? Git docs: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile
vinnyhoward
previously approved these changes
Feb 24, 2025
georgewrmarshall
previously approved these changes
Feb 24, 2025
OGPoyraz
previously approved these changes
Feb 26, 2025
itsyoboieltr
previously approved these changes
Feb 26, 2025
amitabh94
previously approved these changes
Feb 26, 2025
georgewrmarshall
approved these changes
Feb 26, 2025
davidmurdoch
approved these changes
Feb 26, 2025
OGPoyraz
approved these changes
Feb 26, 2025
darkwing
approved these changes
Feb 26, 2025
Collaborator
Builds ready [3736c51]
Page Load Metrics (1656 ± 66 ms)
Bundle size diffs
|
amitabh94
approved these changes
Feb 26, 2025
GustavoRSSilva
approved these changes
Feb 26, 2025
3736c51 to
f6a39e8
Compare
vinnyhoward
approved these changes
Feb 26, 2025
f6a39e8 to
7c06975
Compare
Collaborator
Builds ready [7c06975]
Page Load Metrics (1738 ± 59 ms)
Bundle size diffs
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
Previously, we were running Prettier on
.jsonfiles, but not on.md,.mdx, and.ymlfiles.There are many changed files, but only 4 real changes made in this PR:
package.jsonto run Prettier on**/*.{json,md,mdx,yml}CHANGELOG.mdto.prettierignoreyarn lint:prettier:fixManual testing steps
We will have to rewrite the files to be Prettier-stable.✔️ DoneI see a few mistakes myself and will mark them.✔️ Done