-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does effective_dart
cancel out the hints from pedantic
?
#2029
Comments
Also, could your team just automate the correction of |
We don't currently support including more than one other file in an analysis options file (this is the first use case I've heard of for it). There are some interesting questions about how the files would interact in case of conflicts that we decided to solve by disallowing that situation to arise. My guess is that the second |
Disallowing it doesn't solve it, right? But that's ok, I'll use one analysis option at a time. Thank you. |
Maybe what's effective implies new code, thereby invalidating the current pedantic hints. I see, it does pose an interesting problem. |
The problems related to multiple And we defined the "conflicts" between a file and the file it includes to be resolved by saying that the file containing the |
Can we get this re-opened? Being able to depend on both of the |
I've re-opened the issue, but I'm not sure what you're asking for. We produce a diagnostic (with a severity of error) telling the user that we don't support having multiple
I'd be interested to understand more about why this is needed and just how badly the lack of support is impacting our users. I'm not opposed to adding support, but we need to prioritize our efforts. Unfortunately, supporting the inclusion of multiple analysis options files is a non-trivial effort. If we only needed to worry about lints, then I suspect that the merge semantics would be fairly easy to define. But we're including the whole analysis options file, and the semantics of merging all of the options isn't quite as straight-forward. (We actually spent some time when first adding inclusion support attempting to do just that and decided that it was more important to be able to have a single chain of inclusion than to postpone the release while we figured it all out.) |
The core issue is that the two list of lints contain disjoint recommended lints. I want to be able to recommend a best practices setting that contains both. One work around would be to merge the two sets of lints into a best practices set and publish that list. |
@domesticmouse can you elaborate on why this is really needed? I'm not sure I understand the use case. |
Let me turn the question around the other way. Why are there lints included in the |
The |
False positives are bad. I'll stick with just recomending |
I had 87 hints from
pedantic
. Then I addedeffective_dart
, and the hints disappeared.The text was updated successfully, but these errors were encountered: