Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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/eslint-import-resolver.svg)](https://www.npmjs.com/package/@jsenv/eslint-import-resolver) [![build](https://travis-ci.com/jsenv/jsenv-eslint-import-resolver.svg?branch=master)](http://travis-ci.com/jsenv

  • 4.3.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
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`]: {
        importMap: {}, // an importMap with imports/scopes
        projectFolder: __dirname, // required to replace '/' with your project folder
      },
    },
  },
}

FAQs

Package last updated on 10 May 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