Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Always use typescript@latest for lint rules other than expect #39

Closed
ghost opened this issue May 27, 2017 · 0 comments
Closed

Always use typescript@latest for lint rules other than expect #39

ghost opened this issue May 27, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented May 27, 2017

Currently we always use the lowest TypeScript version that a package supports when linting it. This ensures that the expect rule gets correct results. But tslint isn't compatibile with TypeScript 2.0, which causes bugs.
We should instead use typescript@latest for all other lint rules, and have expect specially use a different Program that uses an older TypeScript. (As an optimization, we should not create this if there are not // $ExpectFoo comments in the file.)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants