Closed Bug 1602069 Opened 6 years ago Closed 6 years ago

Enable ESLint rule no-undef for js and html files in accessible/tests/mochitest/

Categories

(Core :: Disability Access APIs, task)

task
Not set
normal
Points:
3

Tracking

()

RESOLVED FIXED
mozilla73
Iteration:
73.1 - Dec 2 - Dec 15
Tracking Status
firefox73 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

We should work on enabling no-undef for all of accessible/tests/mochitest/ as it is currently disabled.

In doing this I found bug 1602031, which is an error in a test, so it is definitely worth it.

Currently I'm just doing this for js and html files, as ESLint isn't always automatically picking up globals for xhtml files (bug 1602066).

(In reply to Mark Banner (:standard8) from comment #0)

We should work on enabling no-undef for all of accessible/tests/mochitest/ as it is currently disabled.

In doing this I found bug 1602031, which is an error in a test, so it is definitely worth it.

yeah, once in a while linting catches real bugs, but it also makes code nicer and consistent, so +1 for doing this.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61a83433f701 Enable ESLint no-undef rule for accessible/test/mochitest js files. r=Jamie https://hg.mozilla.org/integration/autoland/rev/84fddf1ffad6 Enable ESLint no-undef rule for accessible/test/mochitest html files. r=Jamie
Blocks: 1602364
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: