Suppress / ignore load warnings in the linter. Files are linted on a per file basis so imports can't be resolved.
@@ -78,6 +78,7 @@ public final class Linter {
options.setWarningLevel(DiagnosticGroups.USE_OF_GOOG_BASE, CheckLevel.WARNING);
options.setWarningLevel(DiagnosticGroups.MISPLACED_SUPPRESS, CheckLevel.WARNING);
options.setWarningLevel(DiagnosticGroups.TYPE_IMPORT_CODE_REFERENCES, CheckLevel.ERROR);
+ options.setWarningLevel(DiagnosticGroups.MODULE_LOAD, CheckLevel.OFF);
options.setSummaryDetailLevel(0);
compiler.setPassConfig(new LintPassConfig(options));
compiler.disableThreads();
