Skip to content

Commit

Permalink
Chore: fix no-else-return lint error (refs #7986) (#7994)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbal authored and gyandeeps committed Jan 28, 2017
1 parent 62fb054 commit 5d57c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-unused-vars.js
Expand Up @@ -149,9 +149,9 @@ module.exports = {
restProperties.has(def.node.id.properties[def.node.id.properties.length - 1].type) && // last property is a rest property
!restProperties.has(def.name.parent.type) // variable is sibling of the rest property
));
} else {
return false;
}

return false;
}

/**
Expand Down

0 comments on commit 5d57c57

Please sign in to comment.