Socket
Socket
Sign inDemoInstall

eslint-import-resolver-enhanced-resolve

Package Overview
Dependencies
6
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-import-resolver-enhanced-resolve

This plugin creates a super simple wrapper around `enhanced-resolve` to work with `eslint-plugin-import`. This package is very similar to the [webpack resolver](https://github.com/import-js/eslint-plugin-import/tree/master/resolvers/webpack) provided by t


Version published
Weekly downloads
863
increased by0.94%
Maintainers
1
Install size
355 kB
Created
Weekly downloads
 

Readme

Source

eslint-import-resolver-enhanced-resolve

This plugin creates a super simple wrapper around enhanced-resolve to work with eslint-plugin-import. This package is very similar to the webpack resolver provided by the eslint-plugin-import maintainers, but skips a lot of the reading of config files and the like.

Usage

To use this resolver, install it with your preferred package manager, and set up your configuration like below. All enhanced-resolve options are supported.

{
    settings: {
        "import/resolver": {
            "enhanced-resolve" {
                extensions: ...
                modules: ...
            }
        }
    }
}

Core Modules

There is one additional setting legacyCoreModuleResolution which decides if core modules (fs, util, etc) should be checked before (true) or after (false) resolution. This will change the resolution of npm packages of the same name as core modules.

FAQs

Last updated on 04 Aug 2021

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