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
I wasn't sure if this validation was local or remote (pub.dev), but I'm guessing local.
Problem
When publishing
analysis_server_pluginplugins, we get this warning:Expected behavior
I was expecting this warning to be flipped for
analysis_server_pluginplugins, so we warn when there is nomain.dartfile. Since that is what the server will be looking for.At the very least, I think this current warning could be suppressed.
CC @srawlins