Closed Bug 1515942 Opened 2 years ago Closed 2 years ago

Enable ESLint for gfx/

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

As part of rolling out ESLint across the tree, we should enable it for gfx.

I've had a parch series around for a while now, not quite sure when I started it. However, its time to see about landing it.

The only thing that's missing is to enable no-undef for gfx/layers/apz/test/mochitest/**. I think we might need some tweaks to the ESLint module for that, I'll file a follow-up about it.
Blocks: 1515949
This changes single quotes to double quotes in one patch to match our ESLint rules.
This used ESLint's automatic fixing.
Attachment #9032955 - Attachment description: Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r?jrmuizel → Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r?kats
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/486d4df8ab20
Enable ESLint for gfx/ (fix quotes only). r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/cda72b927c04
Enable ESLint for gfx/ (automatic fixes). r=kats
https://hg.mozilla.org/integration/autoland/rev/d6c5ea714d9d
Enable ESLint for gfx/ (manual fixes). r=kats
You need to log in before you can comment on or make changes to this bug.