Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
74 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
internal/lint/src/main/java/com/firebaseui/lint/internal/LintIssueRegistry.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.firebaseui.lint.internal | ||
|
||
import com.android.tools.lint.client.api.IssueRegistry | ||
|
||
/** | ||
* Registry for custom FirebaseUI lint checks. | ||
*/ | ||
class LintIssueRegistry : IssueRegistry() { | ||
override val issues = listOf( | ||
NonGlobalIdDetector.NON_GLOBAL_ID | ||
) | ||
} |
2 changes: 1 addition & 1 deletion
2
...om/firebaseui/lint/NonGlobalIdDetector.kt → ...seui/lint/internal/NonGlobalIdDetector.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
internal/lint/src/test/java/com/firebaseui/lint/LintTestHelper.kt
This file was deleted.
Oops, something went wrong.
20 changes: 17 additions & 3 deletions
20
...irebaseui/lint/NonGlobalIdDetectorTest.kt → .../lint/internal/NonGlobalIdDetectorTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
plugins { | ||
id("kotlin") | ||
} | ||
|
||
dependencies { | ||
compileOnly(Config.Libs.Lint.api) | ||
compileOnly(Config.Libs.Kotlin.jvm) | ||
|
||
testImplementation(Config.Libs.Lint.api) | ||
testImplementation(Config.Libs.Lint.tests) | ||
} | ||
|
||
tasks.withType<Jar>().configureEach { | ||
manifest { | ||
attributes(mapOf("Lint-Registry-v2" to "com.firebaseui.lint.LintIssueRegistry")) | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
...reRecyclerAdapterLifecycleDetectorTest.kt → ...reRecyclerAdapterLifecycleDetectorTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters