We use @babel/eslint-parser as our parser, so for basic typescript support we just need to drop in @babel/preset-typescript. I also copied most of the tests and sprinkled in TypeScript syntax, although it's not always relevant to the rule being tested (and it's definitely not exhaustive).
We use
@babel/eslint-parser
as our parser, so for basic typescript support we just need to drop in@babel/preset-typescript
. I also copied most of the tests and sprinkled in TypeScript syntax, although it's not always relevant to the rule being tested (and it's definitely not exhaustive).