-
Notifications
You must be signed in to change notification settings - Fork 63
Support for typed TSLint rules #276
Comments
@JoshuaKGoldberg we started working on rules like this :) |
Ooh! Looking through that PR:
TIL that's available, great! Do you have docs on this? I can't find any in this repo. |
There’s a PR open in |
I'll close this issue in favor of making two dedicated ones: docs and rule parity. Thanks! 😍 |
We don’t have docs here as far as I know, but |
I’m wondering if we should move all the TS+ESLint stuff to an @eslint-typescript org so changes can be released more quickly. |
TSLint has some rules that use typed checked rules are able to tap into the full type intelligence from TypeScript, so they can leverage the full type system in their linting.
(some higher value rules that aren't really possible without type information here...)
Although versions of some typed rules are available in ESLint & its plugins, they fall apart when interacting with objects whose types can't be inferred statically using just the file: for example, if linting code that imports objects from another file/module.
The recent TypeScript Jan-Jun 2019 Roadmap reminded me of a tweeted suggestion to file this here. Is this the right place? Would ESLint core need structural improvements to support full-program type checking?
The text was updated successfully, but these errors were encountered: