Skip to content

Commit 988fe19

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update xo to version 0.24.0
1 parent d004175 commit 988fe19

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ async function analyzeCommits(pluginConfig, context) {
4242
logger.log('The release type for the commit is %s', commitReleaseType);
4343
}
4444
}
45+
4546
// If no custom releaseRules or none matched the commit, try with default releaseRules
4647
if (!commitReleaseType) {
4748
debug('Analyzing with default rules');
@@ -52,6 +53,7 @@ async function analyzeCommits(pluginConfig, context) {
5253
logger.log('The commit should not trigger a release');
5354
}
5455
}
56+
5557
// Set releaseType if commit's release type is higher
5658
if (commitReleaseType && compareReleaseTypes(releaseType, commitReleaseType)) {
5759
releaseType = commitReleaseType;
@@ -61,6 +63,7 @@ async function analyzeCommits(pluginConfig, context) {
6163
if (releaseType === RELEASE_TYPES[0]) {
6264
return false;
6365
}
66+
6467
return true;
6568
});
6669
logger.log('Analysis of %s commits complete: %s release', commits.length, releaseType || 'no');

lib/analyze-commit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = (releaseRules, commit) => {
4141
releaseType
4242
);
4343
}
44+
4445
return true;
4546
});
4647

lib/load-release-rules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ module.exports = ({releaseRules}, {cwd}) => {
3939
}
4040
});
4141
}
42+
4243
return loadedReleaseRules;
4344
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"rimraf": "^2.6.1",
3838
"semantic-release": "^15.0.0",
3939
"sinon": "^7.1.1",
40-
"xo": "^0.23.0"
40+
"xo": "^0.24.0"
4141
},
4242
"engines": {
4343
"node": ">=8.3"

test/load-parser-config.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const cwd = process.cwd();
1313
async function loadPreset(t, preset) {
1414
t.truthy((await loadParserConfig({preset}, {cwd})).headerPattern);
1515
}
16+
1617
loadPreset.title = (providedTitle, preset) => `${providedTitle} Load "${preset}" preset`.trim();
1718

1819
/**
@@ -25,6 +26,7 @@ loadPreset.title = (providedTitle, preset) => `${providedTitle} Load "${preset}"
2526
async function loadConfig(t, config) {
2627
t.truthy((await loadParserConfig({config: `conventional-changelog-${config}`}, {cwd})).headerPattern);
2728
}
29+
2830
loadConfig.title = (providedTitle, config) => `${providedTitle} Load "${config}" config`.trim();
2931

3032
test('Load "conventional-changelog-angular" by default', async t => {

0 commit comments

Comments
 (0)