@commitlint/load
Advanced tools
Comparing version 9.1.0 to 9.1.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) | ||
### Bug Fixes | ||
* **load:** resolve plugins from extended configs ([#1976](https://github.com/conventional-changelog/commitlint/issues/1976)) ([d0f0eb9](https://github.com/conventional-changelog/commitlint/commit/d0f0eb9fde7efc2dff7a3aad190ded14303d3079)) | ||
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) | ||
@@ -8,0 +19,0 @@ |
@@ -10,2 +10,3 @@ "use strict"; | ||
const pick_1 = __importDefault(require("lodash/pick")); | ||
const union_1 = __importDefault(require("lodash/union")); | ||
const resolve_from_1 = __importDefault(require("resolve-from")); | ||
@@ -58,2 +59,6 @@ const execute_rule_1 = __importDefault(require("@commitlint/execute-rule")); | ||
} | ||
// Read plugins from extends | ||
if (Array.isArray(extended.plugins)) { | ||
config.plugins = union_1.default(config.plugins, extended.plugins || []); | ||
} | ||
// resolve plugins | ||
@@ -60,0 +65,0 @@ if (Array.isArray(config.plugins)) { |
{ | ||
"name": "@commitlint/load", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "Load shared commitlint configuration", | ||
@@ -37,11 +37,11 @@ "main": "lib/load.js", | ||
"devDependencies": { | ||
"@commitlint/test": "^9.1.0", | ||
"@commitlint/utils": "^9.1.0", | ||
"@types/lodash": "4.14.149", | ||
"@commitlint/test": "^9.1.1", | ||
"@commitlint/utils": "^9.1.1", | ||
"@types/lodash": "4.14.157", | ||
"execa": "^3.4.0" | ||
}, | ||
"dependencies": { | ||
"@commitlint/execute-rule": "^9.1.0", | ||
"@commitlint/resolve-extends": "^9.1.0", | ||
"@commitlint/types": "^9.1.0", | ||
"@commitlint/execute-rule": "^9.1.1", | ||
"@commitlint/resolve-extends": "^9.1.1", | ||
"@commitlint/types": "^9.1.1", | ||
"chalk": "4.1.0", | ||
@@ -52,3 +52,3 @@ "cosmiconfig": "^6.0.0", | ||
}, | ||
"gitHead": "c9f5c5cb3f995362c760308f114b6319c0e55ce3" | ||
"gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
37827
365