Closed Bug 1578557 Opened 5 years ago Closed 5 years ago

Remove "eslint-disable" sections from ComposerCommands.js

Categories

(Thunderbird :: Message Compose Window, task, P3)

Tracking

(thunderbird70 fixed, thunderbird71 fixed)

RESOLVED FIXED
Thunderbird 71.0
Tracking Status
thunderbird70 --- fixed
thunderbird71 --- fixed

People

(Reporter: pmorris, Assigned: pmorris)

References

Details

Attachments

(1 file)

The ComposerCommands.js file has several "eslint-disable" sections, but there doesn't seem to be any reason for them. Remove them and reformat the file with Prettier.

This is part of the work of bug 1572047. The other uses of "eslint-disable" comments in comm/ code appear to be needed whereas these don't.

(Note mkmelin says this file is going away soon, with relevant parts being moved under the mail/ directory. I had just done the work to fix this when I found out about this plan.)

Remove the "eslint-disable" sections, reformat using Prettier, then fix remaining eslint issues.

Attachment #9090183 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9090183 [details] [diff] [review]
remove-eslint-disable-comments-0.patch

Review of attachment 9090183 [details] [diff] [review]:
-----------------------------------------------------------------

Sure. r=mkmelin
Attachment #9090183 - Flags: review?(mkmelin+mozilla) → review+
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment on attachment 9090183 [details] [diff] [review]
remove-eslint-disable-comments-0.patch

That should join the other prettier stuff on beta, right?
Attachment #9090183 - Flags: approval-comm-beta+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/a2b37e328ee0
Remove unneeded "eslint-disable" comments in editor's ComposerCommands.js. r=mkmelin DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 71.0

(In reply to Jorg K (GMT+2) from comment #3)

That should join the other prettier stuff on beta, right?

Yes, thanks.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: