Skip to content

Publish warning for analysis_server_plugin plugins #4845

Description

@FMorschel

I wasn't sure if this validation was local or remote (pub.dev), but I'm guessing local.

Problem

When publishing analysis_server_plugin plugins, we get this warning:

Package validation found the following potential issue:

  • The name of "lib\main.dart", "main", should match the name of the package, "<package>".
    This helps users know what library to import.

Publishing is forever; packages cannot be unpublished.
Policy details are available at https://pub.dev/policy

Expected behavior

I was expecting this warning to be flipped for analysis_server_plugin plugins, so we warn when there is no main.dart file. Since that is what the server will be looking for.

At the very least, I think this current warning could be suppressed.

CC @srawlins

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions