Enable ESLint rule no-undef for js and html files in accessible/tests/mochitest/
Categories
(Core :: Disability Access APIs, task)
Tracking
()
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).
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D56230
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
(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.
![]() |
||
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61a83433f701
https://hg.mozilla.org/mozilla-central/rev/84fddf1ffad6
Description
•