eslint-plugin-module-resolver
Advanced tools
Comparing version 1.1.0 to 1.2.0-beta
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21179
313
2