Best practices for analysis_options #3507
Unanswered
AdrienLemaire
asked this question in
Q&A
Replies: 1 comment
-
What do you mean by conflict between very_good_analysis and riverpod_lint? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've discovered the riverpod_lint package, which I'd like to use on top of my existing options (very_good_analysis using the dart_code_metrics plugin), and am realizing I cannot have more than 1 plugin listed in
analyzer.plugins
.Moreover, when using only the custom_lint,
flutter lint
reports no issues found, when dart run custom_lint finds 4.I wouldn't mind having to run both flutter analysis (for very_good_analysis) and custom_lint (for riverpod_lint), but they are conflicting by both using the
analysis_options.yaml
file.How do you get around this ? How can I get the best of both worlds without having to rewrite all the linter rules from both plugins myself, at the risk of missing new ones when these plugins add some ?
Beta Was this translation helpful? Give feedback.
All reactions