-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposaltype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Description
Add library-level documentation comments to all libraries.
Details
When writing libraries, also add documentation to the library directive (including creating the library directive).
This encourages people to write documentation, which show up as handy hovers for imports in IDEs.
Kind
(This template doesn't seem to around post-sdk migration, so I don't know the options.)
Bad Examples
import 'package:something/something.dart';Good Examples
/// Do awesomeness.
library;
import 'package:something/something.dart';Considerations
- Gets verbose quickly.
- Can encourage quantity over quality.
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-lint-proposaltype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug