-
-
Notifications
You must be signed in to change notification settings - Fork 75
TypeScript 2.x Support #105
Comments
Update: The |
The Whilst we do use TSNode.flags for some node checks, there is not actually any reason to pass them through to the converted AST when using the Therefore the change I will make is to exclude |
The change is AST between TS 1.8.10 and TS 2.0.3 can be attributed to this PR microsoft/TypeScript#7645 |
Dang that was quick. ✨ |
Nice work! as soon is up will run it through my Smoke Testing (obviously most will fail still) but hopefully when Eslint 4 drops we will be 100%! |
@JamesHenry Ran the smoke tests. No new failures. https://gitlab.com/corbinu/eslint-typescript-smoketest/pipelines/4930979 All the failures are still in escope (as expected) except for the nativescript groceries sample which is failing on no-unused-vars and no-undef which is not unexpected either. https://gitlab.com/corbinu/eslint-typescript-smoketest/builds/6041509 |
Cool, thanks @corbinu! Now that TS 2 support is in, I'll be looking at the escope stuff |
^2.0.3
(Breaking: Updated to TypeScript 2.x (fixes #105) #112)jsx/tag-names-with-dots
(Breaking: Update JSX tagName conversion for TS 2 (refs #105) #108)jsx/tag-names-with-multi-dots
(Breaking: Update JSX tagName conversion for TS 2 (refs #105) #108)basics/declare-namespace-with-exported-function
(Fix: Exclude TSNode.flags when deeplyCopy fallback is used (refs #105) #107)decorators/method-decorators/method-decorator-factory-instance-member
(Fix: Rename decorator example to avoid issue in TS 2.x (refs #105) #106)decorators/method-decorators/method-decorator-instance-member
(Fix: Rename decorator example to avoid issue in TS 2.x (refs #105) #106)this
(Breaking: Updated to TypeScript 2.x (fixes #105) #112)The text was updated successfully, but these errors were encountered: