Skip to content

Commit

Permalink
Make no-native work with eslint 2 too
Browse files Browse the repository at this point in the history
  • Loading branch information
lparry committed May 27, 2016
1 parent 6944fb4 commit 9c77fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/no-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function (context) {
'Program:exit': function () {
var scope = context.getScope()

scope.through.forEach(function (ref) {
scope.implicit.left.forEach(function (ref) {
if (ref.identifier.name !== 'Promise') {
return
}
Expand Down

0 comments on commit 9c77fe1

Please sign in to comment.