Upgrade to Prettier v3
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(Not tracked)
People
(Reporter: Logan, Assigned: Sylvestre)
References
Details
Attachments
(1 file, 3 obsolete files)
We're currently using Prettier v2. Prettier v3 with changes/improvements to formatting; we should upgrade to it.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Reporter | ||
Comment 2•1 year 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
Reporter | ||
Comment 3•1 year 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
Reporter | ||
Comment 4•1 year ago
|
||
#ignore-this-changeset
Depends on D190412
Updated•1 year ago
|
Reporter | ||
Comment 5•1 year 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•1 year 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•3 months ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•1 day ago
|
Updated•1 day ago
|
Description
•