This rule prevents empty strings from being given to <fbt>
or fbt()
.
Examples of incorrect code for this rule:
<fbt desc="Greeting"></fbt>
<fbt desc="Greeting">{''}</fbt>
<fbt desc="">Hello</fbt>
fbt('', 'Greeting')
fbt('Hello', '')
Examples of correct code for this rule:
<fbt desc="Greeting">Hello</fbt>
fbt('Hello', 'Greeting')