code: function checkScope(scope) {
      				scope.references.forEach(function(ref) {
      					var decl = util.getDeclaration(ref, scope), identifier = ref.identifier, name = identifier.name, defs;
      					if (decl && (defs = decl.defs).length && identifier.range[0] < defs[0].node.range[0]) {
      						var defType = defs[0].type;
      						if ((!flag_funcs && defType === "FunctionName") || (!flag_vars && defType === "Variable") || (!flag_classes && defType === "ClassName")) {
      							return;
      						}
      						context.report(identifier, ProblemMessages['no-use-before-define'], {0:name});
      					}
      				});
          		}
docs: flag classes