Skip to content

Why does dart pub lish -n analyze things in .pubignore? #3696

@pq

Description

@pq

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 I dart pub lish -n.

Is this by design? Am I just holding things wrong?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions