Parser mishandling generics in jsx #456
Labels
external
This issue is with another package, not typescript-eslint itself
package: parser
Issues related to @typescript-eslint/parser
What code were you trying to parse?
What did you expect to happen?
No issues with eslint-plugin-react rules.
What actually happened?
The code gets autofixed into:
A space is added for the first div, and the generic is completely removed in the second div.
Versions
@typescript-eslint/parser
1.7.0
TypeScript
3.4.4
ESLint
5.16.0
node
11.14.0
npm
6.9.0
.eslintrc.js
config:I believe this is an issue with the typescript parser/estree, rather than the react plugin rules, please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: