eslint-import-resolver-variable-path
A babel-plugin-variable-path-resolver resolver for eslint-plugin-import
Installation
npm install --save-dev eslint-plugin-import eslint-import-resolver-variable-path
Usage
Inside your .eslintrc
file, pass this resolver to eslint-plugin-import
:
"settings": {
"import/resolver": "variable-path"
}
And see babel-plugin-variable-path-resolver to know how to configure your aliases.
Example
License
MIT, see LICENSE.md for details.