Skip to content

[dart_custom_lints] Help Request: How to Propagate Custom Lints Using a Centralized Lint Package? #3780

Closed Answered by rrousselGit
MobiliteDev asked this question in Q&A
Discussion options

You must be logged in to vote

Custom_lint only enables plugins if they are directly depended on. It doesn't look through the dependencies of your dependencies (because they could be using a different set of lints than yours :) )

You should therefore have your "central" package also depend on custom_lint_builder ; and define a Plugin for it (which would re-export all lints from your different packages)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MobiliteDev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants