Socket
Socket
Sign inDemoInstall

@jsenv/eslint-import-resolver

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/eslint-import-resolver

[![npm package](https://img.shields.io/npm/v/@jsenv/jsenv-eslint-import-resolver.svg)](https://www.npmjs.com/package/@jsenv/jsenv-eslint-import-resolver) [![build](https://travis-ci.com/jsenv/jsenv-eslint-import-resolver.svg?branch=master)](http://travis-


Version published
Weekly downloads
830
increased by13.7%
Maintainers
2
Weekly downloads
 
Created
Source

jsenv-eslint-import-resolver

npm package build codecov

Integrate jsenv into eslint-plugin-import

Plugin to enable jsenv module resolution inside eslint-plugin-import.

Installing

npm i --save-dev github:jsenv/eslint-import-resolver

Once npm has downloaded this module on your computer, you must configure eslint-plugin-import in your eslint config to make it use this resolver.

Configuration

import/resolver must be a path to this resolver. Here is an example inside .eslintrc.js:

module.exports = {
  settings: {
    "import/resolver": {
      [`${__dirname}/node_modules/@jsenv/eslint-import-resolver/dist/src/resolver.js`]: {
        projectFolder: __dirname, // required to replace '/' with your project folder
      },
    },
  },
}

FAQs

Package last updated on 24 Mar 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc