When linting a file, you can only have a single parser. We currently use @babel/eslint-parser, which supports typescript, but does not have any TypeScript-specific rules. An alternative parser, typescript-eslint is more popular for TypeScript projects, as it provides a large number of TypeScript-specific rules. In order to better support TypeScript projects, we should try to make our rules more compatible with typescript-eslint.
When linting a file, you can only have a single parser. We currently use
@babel/eslint-parser
, which supports typescript, but does not have any TypeScript-specific rules. An alternative parser,typescript-eslint
is more popular for TypeScript projects, as it provides a large number of TypeScript-specific rules. In order to better support TypeScript projects, we should try to make our rules more compatible withtypescript-eslint
.