Add new diagnostic group for the MISPLACED_MSG_ANNOTATION.
This is to enable us to turn on this disabled-by-default diagnostic without
changing the warning level for all the other misplaced type annotation errors.
@@ -570,6 +570,10 @@ public class DiagnosticGroups {
CheckJSDoc.MISPLACED_ANNOTATION,
CheckJSDoc.MISPLACED_MSG_ANNOTATION);
+ public static final DiagnosticGroup MISPLACED_MSG_ANNOTATION =
+ DiagnosticGroups.registerGroup("misplacedMsgAnnotation",
+ CheckJSDoc.MISPLACED_MSG_ANNOTATION);
+
public static final DiagnosticGroup SUSPICIOUS_CODE =
DiagnosticGroups.registerGroup(
"suspiciousCode",
