Closed Bug 1793369 Opened 2 years ago Closed 2 years ago

Enable ESLint rule no-unused-vars globally on dom/indexedDB xpcshell-tests

Categories

(Core :: Storage: IndexedDB, task)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

This is the last part of our effort for rolling out the ESLint rule no-unused-vars on global scopes for xpcshell-tests.

There's a lot of failures caused by the functions being "exported" to the head file. Ideally these would be rewritten using our newer methods for add_task, similar to what was done in bug 1786094. However, I took a look at the additional conversion and it was too complicated/extensive for me to do as part of this.

Hence this patch marks all the broken places as exported. Whilst we could do some sort of adjustment to the rule for this directory, I'm trying to simplify the configuration as much as possible for various reasons.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6c87b885b7f Enable ESLint rule no-unused-vars globally on dom/indexedDB xpcshell-tests. r=asuth
Regressions: 1793500
No longer regressions: 1793500
Status: NEW → 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: