Closed
Description
I have a component that renders some SVG elements that are showing up as false positives for the new jsx-pascal-case rule. The one I've found so far is the <stop>
element, which is demonstrated by the following code:
<svg>
<defs>
<linearGradient
x1='-1'
y1='0%'
x2='1'
y2='0%'
gradientTransform='rotate(5 .5 .5)'
>
<stop offset='0%' style={{ stopColor: BACKGROUND_COLOR }} />
<stop offset='20%' style={{ stopColor: SHIMMER_COLOR }} />
<stop offset='40%' style={{ stopColor: BACKGROUND_COLOR }} />
</linearGradient>
</defs>
</svg>
I'm not sure if there are others.