-
Notifications
You must be signed in to change notification settings - Fork 229
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 dart pub lish -n
analyze things in .pubignore
?
#3696
Comments
Good question. We probably shouldn't. I don't know how hard it will be to only analyze the files being published. |
Hmm - tried getting the diagnostics via package:analyzer instead of invoking If I do Not sure if we should move to driving |
@sigurdm: is the /fyi @bwilkerson |
Yes, that is it. |
@bwilkerson and @pq do you have any suggestions how to drive the analyzer with an arbitrary (and temporary) exclude-list? |
It looks like |
Context: we have a bunch of test data in the linter repo that doesn't analyze cleanly (by design) and that creates noise when we want to publish.
When I learned about
.pubignore
I thought I was golden and in fact, doubly so, since I don't want to publish this test data anyway but I was surprised to see it still producing warnings when Idart pub lish -n
.Is this by design? Am I just holding things wrong?
Thanks!
The text was updated successfully, but these errors were encountered: