eslint-import-resolver-module-alias-rn

0.0.2 • Public • Published

eslint-import-resolver-module-alias-rn

A babel-plugin-module-alias-rn resolver for [eslint-plugin-import][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.

Package Sidebar

Install

npm i eslint-import-resolver-module-alias-rn

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ghepesdoru