tleunen / eslint-import-resolver-babel-module

Custom eslint resolve for babel-plugin-module-resolver
https://github.com/tleunen/babel-plugin-module-resolver
MIT License
248 stars 31 forks source link

Is .babelrc.js supported? #86

Open SilentImp opened 6 years ago

SilentImp commented 6 years ago

Hi, I have some aliases inside .babelrc.js I have added to .eslintrc this package so eslint resolve them, but with no use. eslint can't resolve aliases. Configs inside the gist : https://gist.github.com/SilentImp/4d005064063701faa04c29b02114d0df

SilentImp commented 6 years ago

it look like I just need to duplicate all aliases. not nice, but work. is there any way to use them directly from .babelrc.js?

tleunen commented 5 years ago

.babelrc.js should be supported. Any issue with it? We're using https://github.com/tleunen/find-babel-config which supports it