Closed giladgray closed 5 years ago
jsx-key does not flag this element as missing key:
jsx-key
key
const myArray: JSX.Element[] = []; myArray.push( <li className="missing-key">no tslint error</li> ); return <ul>{myArray}</ul>
this is doable, but requires making the rule implementation an "optionally typed rule" which uses the type checker when it's available
Closing due to age and deprecation timeline, see #210
jsx-key
does not flag this element as missingkey
: