Skip to content

Conversation

@HowardBraham
Copy link
Contributor

@HowardBraham HowardBraham commented Feb 19, 2025

Description

Previously, we were running Prettier on .json files, but not on .md, .mdx, and .yml files.

There are many changed files, but only 4 real changes made in this PR:

  1. Modify package.json to run Prettier on **/*.{json,md,mdx,yml}
  2. added CHANGELOG.md to .prettierignore
  3. @georgewrmarshall removed an old comment that was breaking the Storybook build
  4. Run yarn lint:prettier:fix

Manual testing steps

  • Please look for mistakes Prettier may have made, especially in md and mdx files.
  • You may want to use the "Hide whitespace" toggle in GitHub, and you may want to look at the "rich diff."
  • We will have to rewrite the files to be Prettier-stable. ✔️ Done
  • I see a few mistakes myself and will mark them. ✔️ Done

Open in GitHub Codespaces

@github-actions
Copy link
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.

@metamaskbot metamaskbot added the team-tiger-deprecated DEPRECATED: team no longer exists label Feb 19, 2025
@HowardBraham HowardBraham added team-extension-platform Extension Platform team and removed team-tiger-deprecated DEPRECATED: team no longer exists labels 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)
Copy link
Contributor Author

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

@HowardBraham HowardBraham marked this pull request as ready for review February 19, 2025 19:47
@HowardBraham HowardBraham requested review from a team as code owners February 19, 2025 19:47
@metamaskbot
Copy link
Collaborator

Builds ready [eca7e33]
Page Load Metrics (1803 ± 76 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint24421791734377181
domContentLoaded15472116178015775
load15862179180315876
domInteractive27168513215
backgroundConnect999302512
firstReactRender1589462512
getState592242512
initialActions01000
loadScripts10931632131514369
setupStore875242311
uiStartup18372585210819996
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

davidmurdoch
davidmurdoch previously approved these changes Feb 21, 2025
Copy link
Contributor

@davidmurdoch davidmurdoch left a 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

vinnyhoward
vinnyhoward previously approved these changes Feb 24, 2025
OGPoyraz
OGPoyraz previously approved these changes Feb 26, 2025
itsyoboieltr
itsyoboieltr previously approved these changes Feb 26, 2025
amitabh94
amitabh94 previously approved these changes Feb 26, 2025
@HowardBraham HowardBraham added this pull request to the merge queue Feb 26, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Feb 26, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [3736c51]
Page Load Metrics (1656 ± 66 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint13871972165914168
domContentLoaded13791909162612861
load13871922165613766
domInteractive247337167
backgroundConnect1083332311
firstReactRender146322147
getState45917199
initialActions01000
loadScripts10111430121710852
setupStore75913136
uiStartup15902207187315876
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@HowardBraham HowardBraham added this pull request to the merge queue Feb 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2025
@HowardBraham HowardBraham added this pull request to the merge queue Feb 27, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [7c06975]
Page Load Metrics (1738 ± 59 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint34920221672329158
domContentLoaded15021904171111254
load15412003173812359
domInteractive26100392010
backgroundConnect1193332110
firstReactRender1574352311
getState55414147
initialActions01000
loadScripts10941433126310148
setupStore76819199
uiStartup17442382199415273
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Merged via the queue into main with commit dc73251 Feb 27, 2025
79 checks passed
@HowardBraham HowardBraham deleted the prettier-yml branch February 27, 2025 01:45
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2025
@metamaskbot metamaskbot added the release-12.14.0 Issue or pull request that will be included in release 12.14.0 label Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-12.14.0 Issue or pull request that will be included in release 12.14.0 team-extension-platform Extension Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.