private LintIssue getLintIssue(String key, Map<String, RulePriority> activeKeys) {
    if (!activeKeys.containsKey(key)) {
      return new LintIssue(key, Severity.IGNORE.getDescription(), null);
    }

    String lintSeverity = "";
    RulePriority severity = activeKeys.get(key);
    if (severity.equals(RulePriority.BLOCKER)) {
      lintSeverity = Severity.FATAL.getDescription();
    }
    if (severity.equals(RulePriority.CRITICAL)) {
      lintSeverity = Severity.ERROR.getDescription();
    }
    if (severity.equals(RulePriority.MAJOR)) {
      lintSeverity = Severity.ERROR.getDescription();
    }
    if (severity.equals(RulePriority.MINOR)) {
      lintSeverity = Severity.WARNING.getDescription();
    }
    if (severity.equals(RulePriority.INFO)) {
      lintSeverity = Severity.INFORMATIONAL.getDescription();
    }
    return new LintIssue(key, lintSeverity, null);
  }