Description
Currently theres a bunch of rules at https://github.com/bradzacher/eslint-plugin-typescript written in js that, since they're operating on typescript should eventually be migrated to be written in typescript as per the comment https://github.com/bradzacher/eslint-plugin-typescript/issues/56#issuecomment-455313509.
I think a good first step here would be to:
-
Figure out how the typing works for writing rules in typescript - I still haven't gotten my head around where all the types come from since some are from ESTree, some are from the JSX spec, and then some will be typescript specific
-
Create or update ESUtils to be typescript so that it can provide typeguards as helper functions - for example
isJSXAttribute(node)
, similar to how https://github.com/ajafff/tsutils works at the moment.