Upgrade Prettier to the latest version
Categories
(Developer Infrastructure :: Lint and Formatting, task, P2)
Tracking
(firefox115 fixed)
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(6 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Prettier hasn't been updated for a few years, and it is about time that we did so. There's various improvements and new command line arguments to Prettier that have happened since 1.9.x.
Mainly due to the changes from 1.9 -> 2.0, there are quite a few places where we'll need to reformat the tree. Hence I'm planning on landing this during the 115 nightly cycle in May, before the next ESR happens.
| Assignee | ||
Comment 1•3 years ago
|
||
Note to self: as part of this we should pass the --no-error-on-unmatched-pattern to prettier and remove the work around in run_prettier (tools/lint/eslint/__init__.py), that was added in bug 1825507.
| Assignee | ||
Comment 2•2 years ago
|
||
Also keeps 'arrowParens' as 'avoid', rather than switching to the new Prettier default of 'always'.
Depends on D176465
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D177018
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D177025
| Assignee | ||
Comment 5•2 years ago
|
||
Depends on D177026
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
Depends on D177025
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 7•2 years ago
|
||
Depends on D177027
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8a2728941930
https://hg.mozilla.org/mozilla-central/rev/2077266ed81a
https://hg.mozilla.org/mozilla-central/rev/2e415eb6a64e
https://hg.mozilla.org/mozilla-central/rev/43d78b92dff6
https://hg.mozilla.org/mozilla-central/rev/c9194fb67b65
https://hg.mozilla.org/mozilla-central/rev/6d9ab7bb3a77
Description
•