@@ -13,17 +13,17 @@ const DEFAULT_RELEASE_RULES = require('./default/release-rules');
13
13
*/
14
14
15
15
/**
16
- * Determine the type of release to create based on a list of commits.
17
- *
18
- * @param {Object } pluginConfig semantic-release configuration
19
- * @param {string } pluginConfig.preset conventional-changelog preset ('angular', 'atom', 'codemirror', 'ember', 'eslint', 'express', 'jquery', 'jscs', 'jshint')
20
- * @param {string } pluginConfig.config requierable npm package with a custom conventional-changelog preset
21
- * @param {string|Array } pluginConfig.releaseRules a string to load an external module or an `Array` of rules.
22
- * @param {Object } pluginConfig.parserOpts additional `conventional-changelog-parser` options that will overwrite ones loaded by `preset` or `config`.
23
- * @param {Object } options semantic-release options
24
- * @param {Array } options.commits array of commits
25
- * @param {commitAnalyzerCallback } callback The callback called with the release type.
26
- */
16
+ * Determine the type of release to create based on a list of commits.
17
+ *
18
+ * @param {Object } pluginConfig semantic-release configuration
19
+ * @param {string } pluginConfig.preset conventional-changelog preset ('angular', 'atom', 'codemirror', 'ember', 'eslint', 'express', 'jquery', 'jscs', 'jshint')
20
+ * @param {string } pluginConfig.config requierable npm package with a custom conventional-changelog preset
21
+ * @param {string|Array } pluginConfig.releaseRules a string to load an external module or an `Array` of rules.
22
+ * @param {Object } pluginConfig.parserOpts additional `conventional-changelog-parser` options that will overwrite ones loaded by `preset` or `config`.
23
+ * @param {Object } options semantic-release options
24
+ * @param {Array } options.commits array of commits
25
+ * @param {commitAnalyzerCallback } callback The callback called with the release type.
26
+ */
27
27
module . exports = async ( pluginConfig , { commits} , callback ) => {
28
28
try {
29
29
const releaseRules = loadReleaseRules ( pluginConfig ) ;
0 commit comments