43081j / 43081j/eslint-plugin-lit
Type export change after 2.x.x update causes different import behavior
- Lingua principale
- TypeScript
- Stelle
- 138
- Fork
- 26
- Merge medio
- 23h 29m
- PR unite (30g)
- 4
Descrizione
Hi!
First of all, thank you for your work on such an amazing plugin.
After updating the package from **1.14.0** to a **2.x.x** version, I noticed that the type definitions in the library have changed slightly, which now requires importing the package differently.
This happens because the current `export default` is just `ESLint.Plugin`, where configs is simply an indexed record. This differs from how other ESLint plugins usually handle their exports.
What do you think – would it be possible to restore the previous behavior?
P.S. The same issue occurs with `eslint-plugin-wc`, since (as far as I know) you’re the author of both 🙂
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.