Socket
Socket
Sign inDemoInstall

eslint-plugin-module-resolver

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-module-resolver - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-beta

12

dist/rules/use-alias.js

@@ -79,6 +79,12 @@ "use strict";

var alias = {};
var partialConfig = babel.loadPartialConfig();
var configOptions = partialConfig.options;
var alias = {}; // Look for default babel.config file
var configOptions = babel.loadPartialConfig().options; // No plugins found, look for .babelrc config file
if (configOptions.plugins.length === 0) {
configOptions = babel.loadPartialConfig({
configFile: './.babelrc'
}).options;
}
try {

@@ -85,0 +91,0 @@ var validPluginNames = new Set(['babel-plugin-module-resolver', 'module-resolver']);

{
"name": "eslint-plugin-module-resolver",
"version": "1.1.0",
"version": "1.2.0-beta",
"description": "Warn when using relative paths to modules aliased",

@@ -5,0 +5,0 @@ "repository": "HeroProtagonist/eslint-plugin-module-resolver",

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