Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {

lint {
checkDependencies = true
sarifOutput = file("../lint-results.sarif")
//sarifOutput = file("../lint-results.sarif")
textReport = true
}

Expand Down
2 changes: 1 addition & 1 deletion lint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
}
lint {
htmlReport = true
htmlOutput = file("lint-report.html")
//htmlOutput = file("lint-report.html")
textReport = true
absolutePaths = false
ignoreTestSources = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import org.jetbrains.uast.UClass

class NamingRulesConventionDetector : Detector(), SourceCodeScanner {
override fun getApplicableElements(): List<String> {
return listOf("androidx.fragment.app.Fragment", "android.app.Activity")
return listOf(
"androidx.fragment.app.Fragment",
"android.app.Activity",
"androidx.appcompat.app.AppCompatActivity"
)
}

override fun visitClass(context: JavaContext, declaration: UClass) {
Expand Down