Port bug 1826062: Upgrade Prettier to the latest version
Categories
(Thunderbird :: Upstream Synchronization, task)
Tracking
(thunderbird_esr102 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr102 | --- | wontfix |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(5 files)
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
Bug 1833949 - Follow-up: Add reformatting revs to .hg-annotate-ignore-revs. r=#thunderbird-reviewers
48 bytes,
text/x-phabricator-request
|
Details |
When the prettier update hits mozilla-central on 2023-05-20, there will be some significant reformatting to do.
Will post two patches following the lead in bug 1826062, first is the update to prettier 2.0.5, then to prettier 2.8.8.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
arrowParens now defaults to "always". Upstream is setting it to "avoid". This is
to keep calendar code from reformatting arrow functions.
| Assignee | ||
Comment 2•2 years ago
|
||
Mostly spaces between "function" and the "()".
Depends on D178536
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D178537
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
Prettier reformatting shifted the offending regex to its own line, necessitating
the the ignore comment be moved.
Depends on D178538
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/43ceb9ce6b09
Port bug 1826062: Prettier config changes for v2.0.5. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/683c3fca7f85
Port bug 1826062: Automatic reformatting for Prettier 2.0.5. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/9e8720653eb9
Port bug 1826062: Automatic reformatting for Prettier 2.8.8. r=mkmelin
https://hg.mozilla.org/comm-central/rev/6583f40d6b68
Manual fix after Prettier 2.8.8 update. r=clokep CLOSED TREE
| Assignee | ||
Comment 6•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bd61d0cd186c
Follow-up: Add reformatting revs to .hg-annotate-ignore-revs. r=aleca
Description
•