Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 497 Bytes

no-namespace.md

File metadata and controls

27 lines (18 loc) · 497 Bytes

Enforce that namespaces are not used in Inferno elements (inferno/no-namespace)

Enforces the absence of a namespace in Inferno elements, such as with svg:circle, as they are not supported in Inferno.

Rule Details

The following patterns are considered warnings:

<ns:TestComponent />
<Ns:TestComponent />

The following patterns are not considered warnings:

<TestComponent />
<testComponent />