-
Notifications
You must be signed in to change notification settings - Fork 5.5k
style: apply Prettier to md, mdx, and yml files #30440
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
Conversation
|
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
| 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I slightly changed the text here to make it Prettier-stable
378cdd4 to
eca7e33
Compare
Builds ready [eca7e33]
Page Load Metrics (1803 ± 76 ms)
Bundle size diffs
|
davidmurdoch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Builds ready [3736c51]
Page Load Metrics (1656 ± 66 ms)
Bundle size diffs
|
3736c51 to
f6a39e8
Compare
f6a39e8 to
7c06975
Compare
Builds ready [7c06975]
Page Load Metrics (1738 ± 59 ms)
Bundle size diffs
|
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