Skip to content

Conversation

@BenedictP
Copy link

@BenedictP BenedictP commented Nov 24, 2025

Summary

This pull request enhances the unusedDependencies lint rule by adding an excludedDependencies parameter. This allows users to specify dependencies that should be excluded from the unused dependency checks, such as umbrella dependencies.

Details

  • Modified the unusedDependencies rule to accept an array of dependency names to exclude from checks.
  • Updated the default lint rules to use the new parameter with an example exclusion.
  • Adjusted the validation logic to skip dependencies listed in the exclusion parameter.
  • Added tests to verify that excluded dependencies are correctly ignored during validation.
  • Updated configuration example to demonstrate usage of the new parameter.

This improvement helps keep the project clean and compile times optimized by allowing more flexible linting configurations.


@BenedictP BenedictP requested a review from a team as a code owner November 24, 2025 10:30
@BenedictP BenedictP requested review from mizdisk and removed request for a team November 24, 2025 10:30
@BenedictP BenedictP marked this pull request as draft November 24, 2025 10:45
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.

2 participants