0.0.2 • Published 8 years ago

eslint-import-resolver-module-alias-rn v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

eslint-import-resolver-module-alias-rn

A babel-plugin-module-alias-rn resolver for eslint-plugin-import

Installation

npm install --save-dev eslint-plugin-import eslint-import-resolver-module-alias-rn

Usage

Inside your .eslintrc file, pass this resolver to eslint-plugin-import:

"settings": {
  "import/resolver": {
    "module-alias-rn": {}
  }
}

And see babel-plugin-module-alias-rn to know how to configure your aliases.

Example

{
  react: Boolean,
  root: String,
  map: [
    {
      expose: String,
      src: String
    },
    ...
  ]
}

License

MIT, see LICENSE.md for details.