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

Use prettier to word wrap markdown prose #3396

Merged
merged 2 commits into from
Dec 13, 2022
Merged

Use prettier to word wrap markdown prose #3396

merged 2 commits into from
Dec 13, 2022

Conversation

cmdcolin
Copy link
Collaborator

Adds proseWrap: always to the prettier config. I personally much prefer wrapped markdown over long lines, and a lot of our docs use this currently, but it is now autofixed automatically. Can also do proseWrap: never for long lines

xref https://prettier.io/docs/en/options.html#prose-wrap

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Dec 13, 2022
@cmdcolin cmdcolin changed the title Wrap docs markdown docs using prettier Use prettier to word wrap markdown prose Dec 13, 2022
@cmdcolin cmdcolin added documentation and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Dec 13, 2022
@codecov
Copy link

codecov bot commented Dec 13, 2022

Codecov Report

Merging #3396 (ec03b2b) into main (6e018ea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3396   +/-   ##
=======================================
  Coverage   60.48%   60.48%           
=======================================
  Files         823      823           
  Lines       29812    29812           
  Branches     7176     7176           
=======================================
  Hits        18033    18033           
  Misses      11591    11591           
  Partials      188      188           
Impacted Files Coverage Δ
products/jbrowse-web/src/util.ts 48.33% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin cmdcolin merged commit 371db6b into main Dec 13, 2022
@cmdcolin cmdcolin deleted the wrap_docs_prettier branch December 13, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant