Skip to content

Proposal: Enforce "no keys for tests" via analyzer #171099

@justinmc

Description

@justinmc

PR #170952 removes all Keys that were only used in tests. It would be great if that could be automatically enforced. Is that possible via the analyzer?

I don't think it's possible via the linter because the rules are not Flutter-specific, and I think this one would have to be. See flutter_lints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: tests"flutter test", flutter_test, or one of our testsc: proposalA detailed proposal for a change to Flutterr: invalidIssue is closed as not validteam-infraOwned by Infrastructure teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions