Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 393 Bytes

i18n-ellipsis.md

File metadata and controls

17 lines (11 loc) · 393 Bytes

Disallow using three dots in translatable strings (i18n-ellipsis)

Three dots for indicating an ellipsis should be replaced with the UTF-8 character … (Horizontal Ellipsis, U+2026) as it has a more semantic meaning.

Rule details

Examples of incorrect code for this rule:

__( 'Continue...' );

Examples of correct code for this rule:

__( 'Continue…' );