Skip to content

feat: Remove baseline from compose lint plugin#738

Merged
LunarX merged 5 commits intomainfrom
remove-baseline-from-compose-lint-plugin
Apr 27, 2026
Merged

feat: Remove baseline from compose lint plugin#738
LunarX merged 5 commits intomainfrom
remove-baseline-from-compose-lint-plugin

Conversation

@LunarX
Copy link
Copy Markdown
Contributor

@LunarX LunarX commented Apr 1, 2026

Most modules don't need a baseline because it would simply be empty. Also creating a new module would require to generate an empty baseline for no reason. Now baselines are only defined inside of the few modules that actually need one

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

PR Reviewer Guide 🔍

(Review updated until commit b6a5b65)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

PR Code Suggestions ✨

No code suggestions found for the PR.

@LunarX LunarX force-pushed the remove-baseline-from-compose-lint-plugin branch from de23833 to 6a747d8 Compare April 2, 2026 14:53
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Persistent review updated to latest commit 6a747d8

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

PR Code Suggestions ✨

No code suggestions found for the PR.

@LunarX LunarX force-pushed the remove-baseline-from-compose-lint-plugin branch from 6a747d8 to 6b3bc6d Compare April 15, 2026 12:43
@LunarX LunarX requested a review from sirambd April 15, 2026 12:43
@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@github-actions
Copy link
Copy Markdown

Persistent review updated to latest commit b6a5b65

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@LunarX LunarX force-pushed the remove-baseline-from-compose-lint-plugin branch from b6a5b65 to f8024cb Compare April 22, 2026 11:55
Copilot AI review requested due to automatic review settings April 22, 2026 11:55
@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s Compose lint setup so baselines are no longer configured globally by the composeLint build-logic plugin, and removes many module-level empty baseline files—keeping baselines only in modules that actually need them.

Changes:

  • Remove baseline configuration from ComposeLintPlugin so it no longer forces every Android subproject to use lint-baseline.xml.
  • Delete numerous empty lint-baseline.xml files across modules.
  • Add per-module lint { baseline = file("lint-baseline.xml") } only for modules that still require a baseline.

Reviewed changes

Copilot reviewed 50 out of 51 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
build.gradle.kts Adds lint baseline configuration for the root module.
build-logic/composeLint/src/main/kotlin/com/infomaniak/core/compose/lint/ComposeLintPlugin.kt Stops auto-configuring lint baseline for every Android subproject.
WebView/lint-baseline.xml Removes empty lint baseline file.
Ui/lint-baseline.xml Removes empty lint baseline file.
Ui/View/lint-baseline.xml Removes empty lint baseline file.
Ui/View/EdgeToEdge/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/Theme/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/Preview/build.gradle.kts Adds module lint baseline configuration.
Ui/Compose/MaterialThemeFromXml/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/Margin/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/BottomStickyButtonScaffolds/build.gradle.kts Adds module lint baseline configuration.
Ui/Compose/Basics/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/BasicButton/lint-baseline.xml Removes empty lint baseline file.
Ui/Compose/AccountBottomSheet/lint-baseline.xml Removes empty lint baseline file.
TwoFactorAuth/Front/build.gradle.kts Adds module lint baseline configuration.
TwoFactorAuth/Back/lint-baseline.xml Removes empty lint baseline file.
TwoFactorAuth/Back/WithUserDb/lint-baseline.xml Removes empty lint baseline file.
Thumbnails/lint-baseline.xml Removes empty lint baseline file.
SharedValues/lint-baseline.xml Removes empty lint baseline file.
Sentry/lint-baseline.xml Removes empty lint baseline file.
RecyclerView/lint-baseline.xml Removes empty lint baseline file.
PrivacyManagement/lint-baseline.xml Removes empty lint baseline file.
Onboarding/build.gradle.kts Adds module lint baseline configuration.
Notifications/lint-baseline.xml Removes empty lint baseline file.
Notifications/Registration/lint-baseline.xml Removes empty lint baseline file.
Network/lint-baseline.xml Removes empty lint baseline file.
Network/Models/lint-baseline.xml Removes empty lint baseline file.
Network/Ktor/lint-baseline.xml Removes empty lint baseline file.
Matomo/lint-baseline.xml Removes empty lint baseline file.
Legacy/lint-baseline.xml Removes empty lint baseline file.
Legacy/Confetti/lint-baseline.xml Removes empty lint baseline file.
Ktor/lint-baseline.xml Removes empty lint baseline file.
KSuite/lint-baseline.xml Removes empty lint baseline file.
KSuite/MyKSuite/build.gradle.kts Adds module lint baseline configuration.
KSuite/KSuitePro/build.gradle.kts Adds module lint baseline configuration.
InAppUpdate/build.gradle.kts Adds module lint baseline configuration.
InAppReview/lint-baseline.xml Removes empty lint baseline file.
FragmentNavigation/lint-baseline.xml Removes empty lint baseline file.
FileTypes/lint-baseline.xml Removes empty lint baseline file.
File/lint-baseline.xml Removes empty lint baseline file.
DotLottie/lint-baseline.xml Removes empty lint baseline file.
CrossAppLogin/Front/build.gradle.kts Adds module lint baseline configuration.
CrossAppLogin/Back/lint-baseline.xml Removes empty lint baseline file.
Common/lint-baseline.xml Removes empty lint baseline file.
Coil/lint-baseline.xml Removes empty lint baseline file.
BugTracker/lint-baseline.xml Removes empty lint baseline file.
Avatar/lint-baseline.xml Removes empty lint baseline file.
Auth/lint-baseline.xml Removes empty lint baseline file.
AppVersionChecker/lint-baseline.xml Removes empty lint baseline file.
AppLock/lint-baseline.xml Removes empty lint baseline file.
AppIntegrity/lint-baseline.xml Removes empty lint baseline file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

@LunarX LunarX force-pushed the remove-baseline-from-compose-lint-plugin branch from 31768c7 to 8f2e395 Compare April 24, 2026 13:52
@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

@LunarX LunarX force-pushed the remove-baseline-from-compose-lint-plugin branch from 8f2e395 to 9f4a09c Compare April 27, 2026 07:11
@sonarqubecloud
Copy link
Copy Markdown

@LunarX LunarX merged commit 574acfd into main Apr 27, 2026
7 checks passed
@LunarX LunarX deleted the remove-baseline-from-compose-lint-plugin branch April 27, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants