olalonde / eslint-import-resolver-babel-root-import

A babel-root-import resolver for eslint-plugin-import
MIT License
23 stars 33 forks source link

Support passing options via lint settings #9

Open g6123 opened 7 years ago

g6123 commented 7 years ago

This PR supports passing options via lint settings.

You can set custom .babelrc file path, or set rootPathPrefix and rootPathSuffix options as the same way babel plugin handles. If both are given, all options will be merged.

unconfident commented 6 years ago
return nodeResolve(transformedSource, file, config);

You probably don't want to pass those specific options to eslint-import-resolver-node