eslint-import-resolver-babel-module-alias
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.5.1"></a> | ||
## [1.5.1](https://github.com/tleunen/eslint-import-resolver-babel-module-alias/compare/v1.5.0...v1.5.1) (2016-08-09) | ||
### Bug Fixes | ||
* Fix config lookup with specific environment ([50f4f6e](https://github.com/tleunen/eslint-import-resolver-babel-module-alias/commit/50f4f6e)), closes [#22](https://github.com/tleunen/eslint-import-resolver-babel-module-alias/issues/22) | ||
<a name="1.5.0"></a> | ||
@@ -7,0 +17,0 @@ # [1.5.0](https://github.com/tleunen/eslint-import-resolver-babel-module-alias/compare/v1.4.2...v1.5.0) (2016-08-06) |
{ | ||
"name": "eslint-import-resolver-babel-module-alias", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "babel-plugin-module-alias resolver for eslint-plugin-import", |
@@ -27,6 +27,8 @@ const path = require('path'); | ||
const envPluginConfig = findModuleAliasConfig(c.config.env[env]); | ||
if (pluginConfig) { | ||
pluginConfig[1] = pluginConfig[1].concat(envPluginConfig[1]); | ||
} else { | ||
pluginConfig = envPluginConfig; | ||
if (envPluginConfig) { | ||
if (pluginConfig) { | ||
pluginConfig[1] = pluginConfig[1].concat(envPluginConfig[1]); | ||
} else { | ||
pluginConfig = envPluginConfig; | ||
} | ||
} | ||
@@ -33,0 +35,0 @@ } |
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
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
9908
74