avoid_abbreviations_in_doc_comments
Severity | Quick Fix | Options |
---|---|---|
Warning | ❌ | ✅ |
Details
DO avoid using abbreviations in doc comments as they can hinder readability and cause confusion for readers.
see: effective-dart
Included abbreviations:
- e.g.
- i.e.
- etc.
- et al.
Bad
/// This is documentation.
///
/// e.g. ...
int function(){}
Good
/// This is documentation.
///
/// For example ...
int function(){}