Skip to content
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

Enable prettier on the docs-user markdown files #5358

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

canova
Copy link
Member

@canova canova commented Feb 7, 2025

Previously prettier was disabled on every file inside docs-user/. With this patch, we are only limiting the prettierignore to the js and css files inside that directory and not the markdown files.

This also required me to reformat pretty much the whole directory.

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.84%. Comparing base (8ce005e) to head (7cf4f90).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5358   +/-   ##
=======================================
  Coverage   85.84%   85.84%           
=======================================
  Files         312      312           
  Lines       29829    29829           
  Branches     8214     8214           
=======================================
  Hits        25607    25607           
  Misses       3627     3627           
  Partials      595      595           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@julienw julienw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup, looks good to me!
maybe wait until #5357 lands so that the contributor doesn't have to deal with conflicts.

Or rather fix the small comments in #5357 and land it yourself before rebasing this one on top :-) (and probably rerunning prettier after that)

@canova
Copy link
Member Author

canova commented Feb 7, 2025

Yeah, I will land the other one first.

Previously prettier was disabled on every file inside `docs-user/`. With
this patch, we are only limiting the prettierignore to the js and css
files inside that directory and not the markdown files.

This also required me to reformat pretty much the whole directory.
@canova canova force-pushed the docs-user-prettier branch from ad23d45 to 7cf4f90 Compare February 10, 2025 17:04
@canova
Copy link
Member Author

canova commented Feb 10, 2025

Landed #5357 and rebased this on top of it. Landing this one too.

@canova canova merged commit 3f80e20 into firefox-devtools:main Feb 10, 2025
17 of 18 checks passed
@canova canova deleted the docs-user-prettier branch February 10, 2025 17:13
@canova canova mentioned this pull request Feb 19, 2025
canova added a commit that referenced this pull request Feb 19, 2025
## Updates:

[Nicolas Chevobbe] Make timeline ruler notches visible in High Contrast
Mode (#5346)
[Nazım Can Altınova] Add the ability to mark marker fields as hidden
(#5354)
[Maxx Crawford] Update guide-startup-shutdown.md (#5357)
[Nazım Can Altınova] Enable prettier on the docs-user markdown files
(#5358)
[Paul Adenot] Allow searching by Content-Type in the network marker view
(#5351)
[Florian Quèze] Hide the pid in global tracks if it is 0. (#5361)
[Markus Stange] Make inverting the call tree fast, by computing inverted
call nodes lazily (#4900)
[Markus Stange] Use 64-bit floats for call tree timings. (#5371)
[Markus Stange] Extend the workaround in the v53 upgrader to generate
missing subcategory columns. (#5369)

## Also thanks to our localizers:

de: Michael Köhler
el: Jim Spentzos
en-GB: Paul
es-CL: ravmn
fr: Théo Chevalier
fur: Fabio Tomat
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: Valery Ledovskoy
sv-SE: Luna Jernberg, Andreas Pettersson
tr: Grk
uk: Іhor Hordiichuk
zh-CN: Olvcpr423
zh-TW: Pin-guang Chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants