Closed Bug 1792976 Opened 2 years ago Closed 2 years ago

./mach esmify does not update eslintignore, leads to unexpected changes

Categories

(Core :: General, defect)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: jdescottes, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In Bug 1790473, we have a file which is currently eslintignored: remote/cdp/Protocol.jsm (eslint ignore entry).

When migrating the file to ESM, it did not update the entry in eslintignore and also tried to lint --fix the file, which lead to unexpected formatting changes (and also took a long time while running the script :))

It would be great if the script could check if the path is mentioned in eslintignore and update it before attempting to run eslint --fix .

See Also: → 1790473
Severity: -- → S4

I'm not really sure what component this belongs in, but build metadata says esmify belongs to Core :: General, so...

Severity: S4 → N/A
Component: XPConnect → General
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/bd23f15494ad
Update path in .eslintignore in mach esmify command. r=yulia
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: