Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 254 Bytes

no-trans-inside-trans.md

File metadata and controls

14 lines (10 loc) · 254 Bytes

no-trans-inside-trans

Tip

This rule is included into the lingui/recommended config

Check that no Trans inside Trans components.

// nope ⛔️
<Trans>Hello <Trans>World!</Trans></Trans>

// ok ✅
<Trans>Hello World!</Trans>