Closed Bug 1170409 Opened 9 years ago Closed 9 years ago

ESLint: Reconfigure dot-location

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: jryans, Assigned: jryans)

References

Details

Attachments

(1 file)

The current setting of:

"dot-location": [1, "object"],

warns for the common case of XPCOM patterns:

let chromeWindow = aWindow.QueryInterface(Ci.nsIInterfaceRequestor)
                          .getInterface(Ci.nsIWebNavigation)

Either it should be set to: 

"dot-location": [1, "property"],

or just disabled.
Patrick, what do you think?
Flags: needinfo?(pbrosset)
I agree, I thought I had changed it already, but that might have been in a commit I haven't landed yet.
Flags: needinfo?(pbrosset)
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Attachment #8614071 - Flags: review?(pbrosset)
Attachment #8614071 - Flags: review?(pbrosset) → review+
https://hg.mozilla.org/mozilla-central/rev/ce72fec8fe5a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: