Lint: run inspections only for Kotlin
This commit is contained in:
@@ -1503,7 +1503,8 @@ public class LintDriver {
|
||||
}
|
||||
|
||||
String filename = file.getName();
|
||||
if (!filename.endsWith(DOT_JAVA) && !UastConverterUtils.isFileSupported(plugins, filename)) {
|
||||
// Ignore Java files for now (check only Kotlin files)
|
||||
if (filename.endsWith(DOT_JAVA) || !UastConverterUtils.isFileSupported(plugins, filename)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user