Upgrade to Prettier v3
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox135 fixed)
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: Logan, Assigned: Logan)
References
Details
Attachments
(2 files, 3 obsolete files)
We're currently using Prettier v2. Prettier v3 with changes/improvements to formatting; we should upgrade to it.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
There are two equals signs when there should be just one. This was made more obvious after applying Prettier v3's auto formatting.
Depends on D190410
| Assignee | ||
Comment 3•2 years ago
|
||
Prettier v3 has regressions in XHTML formatting and apparently never supported that format to begin with (see this bug). Disabling XHTML auto-formatting with Prettier accordingly.
Depends on D190411
| Assignee | ||
Comment 4•2 years ago
|
||
#ignore-this-changeset
Depends on D190412
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
I just tried this again now that Bug 1857999 was fixed, but there are test failures because Prettier now downcases DOCTYPE to doctype, and the XHTML parser does not allow this. Looks like we now need to wait on https://github.com/prettier/prettier/issues/15476 (which the maintainer seems to be addressing despite the lack of official support for XHTML).
Comment 6•2 years ago
|
||
Comment on attachment 9357315 [details]
Bug 1857834 - fix bug in fxview-tab-list.mjs r?#fxview-reviewers
Revision D190411 was moved to bug 1860931. Setting attachment 9357315 [details] to obsolete.
Comment 7•1 year ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Logan, it looks like the Prettier issue is finally fixed, would you be interested in picking this up again?
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 10•1 year ago
|
||
ignore-this-changeset
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/205faab59863
https://hg.mozilla.org/mozilla-central/rev/288a8387ab8a
Comment 13•1 year ago
|
||
Thank you for working on this Logan, very nice to get that updated.
Description
•