pub-dev
pub-dev copied to clipboard
Pub.dev does not recognize 'enable-experiment: macros' in analysis_options.yaml
I've published a package with a macro: https://pub.dev/packages/args_macro
When analyzing the package, pub.dev says it needs to enable the macros experiment:
However, it's enabled in analysis_options:
include: package:total_lints/package.yaml
analyzer:
enable-experiment:
- macros
Locally, dart analyze recognizes it.
Searching the macros topic, I can see others experimenting with macros too and having the same issue:
- https://pub.dev/packages/data_class by @felangel
- https://pub.dev/packages/shelf_router_macro
For some reason, the json package is not affected when analyzing it but is affected when checking the formatting:
Is there anything special that the json package does that other examples don't? If so, it needs to be documented.