-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
#843 migrated the old TSLint Expect rule to an ESLint rule (🥳!). Great!
There exists a community plugin for roughly the same area of functionality already: https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type 1. It would be great if we could use the standard plugin instead. That way bugfixes + features from DT usage can help other community members, and vice versa.
Proposal:
- For each bug or feature that is better in this repo, we can file a corresponding issue on
eslint-plugin-expect-type
- Once those are all fixed up, move to using the external plugin
Per later comments, tracking issues in eslint-plugin-expect-type
for missing features:
- 🚀 Feature: Allow specifying multiple TS versions (node_modules/typescript paths) JoshuaKGoldberg/eslint-plugin-expect-type#107
- 🚀 Feature: Normalize union ordering and readonly array syntax JoshuaKGoldberg/eslint-plugin-expect-type#108
- 🚀 Feature: Allow specifying multiple possible types with || JoshuaKGoldberg/eslint-plugin-expect-type#109
Footnotes
-
I do feel a bit weird promoting a package with my name on it. If it helps, I didn't create it - just took over maintenance when the previous maintainer didn't have time. If there's a better alternative to
eslint-plugin-expect-type
that'd be great too! ↩
Metadata
Metadata
Assignees
Labels
No labels