Closed Bug 1656282 Opened 4 years ago Closed 2 years ago

Enable ESLint no-unused-vars and no-undef rules on dom/**/*.xhtml files

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

When we moved xul files to xhtml we disabled various ESLint rules by default where they were failing.

This bug is to enable no-unused-vars and no-undef on dom/**/*.xhtml files

https://searchfox.org/mozilla-central/rev/56bb74ea8e04bdac57c33cbe9b54d889b9262ade/.eslintrc.js#620,622

This bug is to enable those rules.

Summary: Enable no-unused-vars and no-undef on dom/**/*.xhtml files → Enable ESLint no-unused-vars and no-undef rules on dom/**/*.xhtml files

I am working on this, thanks !!

Attachment #9178087 - Attachment is obsolete: true
Depends on: 1742588

I don't think Sonia is working on this, there's been no updates for a year, and I have a patch to move it forward.

Assignee: soniasingla.1812 → standard8
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/69b959cb9e19
Enable ESLint no-unused-vars and no-undef rules where they are disabled on dom/**/*.xhtml files. r=smaug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Attachment #9187419 - Attachment is obsolete: true
Attachment #9187419 - Attachment is obsolete: false
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: