Enable Prettier on json files
Categories
(Developer Infrastructure :: Lint and Formatting, task, P2)
Tracking
(firefox115 fixed)
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(3 files)
As part of the forthcoming Prettier upgrades, we also want to enable Prettier for JSON files. This forms part of bug 1563927 where we can later think about enabling ESLint for JSON as well.
I think we might as well enable Prettier whilst we're enabling/upgrading it, so I think doing it before ESLint is reasonable.
Assignee | ||
Comment 1•7 months ago
|
||
Assignee | ||
Comment 2•7 months ago
|
||
Depends on D176336
Assignee | ||
Comment 3•7 months ago
|
||
Depends on D176336
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Comment 4•7 months ago
|
||
Greg, should tools/browsertime/
be in either ThirdPartyPaths.txt
or Generated.txt
? It looks like these changes would touch tools/browsertime/package.json
but that appears to now being generated? Though the whole directory is maybe third party?
Comment 5•7 months ago
|
||
Ah you're right, thanks for catching that! The package.json
, and package-lock.json
files in tools/browsertime
are auto-generated when we update browsertime through ./mach browsertime --update-upstream-url <TARBALLL-COMMIT-LINK>
. We should add those two files to Generated.txt
.
Assignee | ||
Comment 6•7 months ago
|
||
Thanks, I'll do that in these patches.
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/319779e24a77 Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish https://hg.mozilla.org/integration/autoland/rev/867749fa570b Enable Prettier on json files (configuration changes). r=mossop https://hg.mozilla.org/integration/autoland/rev/8e7811d8eb96 Enable Prettier on json files (manual test fixes). r=devtools-reviewers,jdescottes
Pushed by sstanca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d650dec9637 Fix Linting . CLOSED TREE
Comment 9•7 months ago
|
||
bugherder |
Description
•