Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Currently theres a bunch of rules athttps://github.com/bradzacher/eslint-plugin-typescript written in js that, since they're operatingon typescript should eventually be migrated to be written in typescript as per the commenthttps://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 howhttps://github.com/ajafff/tsutils works at the moment.