-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainableInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
Description
It appears to me that useCategories
defaults to true
, and that nobody reads it.
DartdocOptionArgOnly<bool>('useCategories', true, resourceProvider,
help: 'Display categories in the sidebar of packages'),
bool get useCategories => optionSet['useCategories'].valueAt(context);
I certainly can't find any references of it in the templates or repository at large.
Perhaps, we should:
- Allow the option to be passed, but ignore it.
- Print a warning that it is deprecated when the option is passed.
- Remove
useCategories => optionSet['useCategories'].valueAt(context);
Metadata
Metadata
Assignees
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainableInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable