Socket
Socket
Sign inDemoInstall

eslint-import-resolver-babel-module

Package Overview
Dependencies
85
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-import-resolver-babel-module

babel-plugin-module-resolver resolver for eslint-plugin-import


Version published
Weekly downloads
249K
decreased by-4.05%
Maintainers
1
Install size
212 kB
Created
Weekly downloads
 

Changelog

Source

5.2.0 (2020-10-19)

Features

  • Add support for passing babelOptions to OptionsManager#init (#113) (c23f28d)

<a name="5.1.2"></a>

Readme

Source

eslint-import-resolver-babel-module

npm Build Status Coverage Status

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

Installation

npm install --save-dev eslint-plugin-import eslint-import-resolver-babel-module

Usage

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

"settings": {
  "import/resolver": {
    "babel-module": {}
  }
}

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

Example

{
  "extends": "airbnb",
  "rules": {
    "comma-dangle": 0
  },
  "settings": {
    "import/resolver": {
      "babel-module": {}
    }
  }
}

License

MIT, see LICENSE.md for details.

Keywords

FAQs

Last updated on 19 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc