Skip to content

Commit

Permalink
remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ielgnaw committed Oct 25, 2016
1 parent 4891450 commit c655b8a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/js/rules/no-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,8 @@ module.exports = {
variables = variables.concat(scope.variables);
}

// let isES6DefsKind = false;

found = variables.some(function (variable) {
if (variable.name === 'require') {
// if (
// variable.defs && variable.defs[0]
// &&
// (variable.defs[0].kind === 'let' || variable.defs[0].kind === 'const')
// ) {
// isES6DefsKind = true;
// }

taggedScopes.push({
scope: variable.scope,
require: true
Expand Down

0 comments on commit c655b8a

Please sign in to comment.