Closed Bug 1825715 Opened 2 years ago Closed 2 years ago

Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling

Categories

(Developer Infrastructure :: Lint and Formatting, task, P2)

Tracking

(firefox113 fixed)

RESOLVED FIXED
Tracking Status
firefox113 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(3 files, 1 obsolete file)

In bug 1809497 we are working towards separating the ESLint and prettier configurations. As a result, the ESLint rule prettier/prettier will no longer be used, and hence disabling it won't work.

Prettier supports the // prettier-ignore annotation, so we should use that instead.

There's also some cases that no longer need to be ignored, so I'll address those here as well.

This also does a general clean-up of the ESLint doc.

Depends on D174217

Comment on attachment 9326214 [details]
Bug 1825715 - Replace generic ESLint disable statements with specific and prettier ones in testing. r?#perftest-reviewers!

Revision D174226 was moved to bug 1825739. Setting attachment 9326214 [details] to obsolete.

Attachment #9326214 - Attachment is obsolete: true
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f0b08e89cd1 Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (js/). r=arai https://hg.mozilla.org/integration/autoland/rev/5ce3ad6ce483 Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi https://hg.mozilla.org/integration/autoland/rev/53faa883781a Add section about ignoring formatting to ESLint docs. r=Gijs

Backed out for causing node failures with checkBundles

Flags: needinfo?(standard8)

Sigh, newtab.

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b8249cc694e Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (js/). r=arai https://hg.mozilla.org/integration/autoland/rev/f48da8cfd9c1 Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi https://hg.mozilla.org/integration/autoland/rev/3f49eb8407c3 Add section about ignoring formatting to ESLint docs. r=Gijs
Blocks: 1826768
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: