Skip to content

Files

Latest commit

 

History

History
22 lines (15 loc) · 462 Bytes

camel_case_extensions.md

File metadata and controls

22 lines (15 loc) · 462 Bytes

Pattern: Malformed UpperCamelCase for extension name

Issue: -

Description

Extensions should capitalize the first letter of each word (including the first word), and use no separators.

Example of correct code:

extension MyFancyList<T> on List<T> { 
 // ... 
}

extension SmartIterable<T> on Iterable<T> {
 // ...
}

Further Reading