Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 385 Bytes

i18n-ellipsis.md

File metadata and controls

17 lines (11 loc) · 385 Bytes

Disallow using three dots in translate strings

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

The following patterns are considered warnings:

translate( 'Loading...' );

The following patterns are not warnings:

translate( 'Loading…' );