This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
JSX fragment causes false positives with no-multi-str #503
Closed
Description
What version of TypeScript are you using?
2.9.2
What version of typescript-eslint-parser
are you using?
16.0.1
What code were you trying to parse?
export default function Home() {
return (
<>
{description}
<br />
<Options labels={getOptions(questions)} />
</>
)
}
What did you expect to happen?
No errors, because <></>
is short for <React.Fragment></React.Fragment>
and React
is already imported.
What happened?
Multiline support is limited to browsers supporting ES5 only no-multi-str