Open Bug 1857834 Opened 1 year ago Updated 1 day ago

Upgrade to Prettier v3

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(Not tracked)

ASSIGNED

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.

Assignee: nobody → loganrosen
Status: NEW → ASSIGNED

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

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

#ignore-this-changeset

Depends on D190412

Depends on: 1857999
Attachment #9357316 - Attachment is obsolete: true

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 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.

Attachment #9357315 - Attachment is obsolete: true

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: loganrosen → nobody
Status: ASSIGNED → NEW
Assignee: nobody → sledru
Status: NEW → ASSIGNED
Attachment #9357314 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: