code: function checkForGlobal(node) {
  				var scope = context.getScope(),
  					parserOptions = context.parserOptions,
  					ecmaFeatures = parserOptions.ecmaFeatures || {};
  
  				// Nodejs env or modules has a special scope.
  				if (ecmaFeatures.globalReturn || node.sourceType === "module") {
  					findVariablesInScope(scope.childScopes[0]);
  				} else {
  					findVariablesInScope(scope);
  				}
  			}
docs: Find variables in the current scope.
  @param {ASTNode} node - The Program node.
  @returns {void}
  @private