You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
I've been thinking about attempting to support Babel plugins as first-class citizens in eslint-plugin-import.
Basically, the idea would be to allow explicit configuration of a list of Babel plugins that would be run against import+export declarations.
As cool as it is to see these Babel plugin resolvers pop up, it seems like a lot of work, and while it's possible to configure multiple resolvers, you can't actually chain them. The first one to find a file wins.
What do you think? I looked through the code of babel-root-import and I think it would be pretty straightforward. I don't mean to crash your project, for sure. Just curious if you think this would make sense, as a community resolver maintainer.
Thanks! 😎
The text was updated successfully, but these errors were encountered:
Oh sure... I just wrote this to scratch my own itch, I'd be more than happy to RIP this project if a better solution comes along :) Having to re-write resolvers for all possible plugins certainly isn't very DRY.
I've been thinking about attempting to support Babel plugins as first-class citizens in
eslint-plugin-import
.Basically, the idea would be to allow explicit configuration of a list of Babel plugins that would be run against
import
+export
declarations.As cool as it is to see these Babel plugin resolvers pop up, it seems like a lot of work, and while it's possible to configure multiple resolvers, you can't actually chain them. The first one to find a file wins.
What do you think? I looked through the code of
babel-root-import
and I think it would be pretty straightforward. I don't mean to crash your project, for sure. Just curious if you think this would make sense, as a community resolver maintainer.Thanks! 😎
The text was updated successfully, but these errors were encountered: