T020error

Conflicting directives

An element has two directives that cannot be combined.

p-text and p-html both replace an element's content, so only one can apply. p-else and p-else-if both close a conditional chain, so an element can carry only one.

Remove one of the two directives.

$ piko explain T020

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeConflictingDirectives in Piko's source to see where it is reported.