Skip to content

Commit e8bcd6b

Browse files
committed
Style(conventional-changelog): Fixes format and eslint errors #191
1 parent 0bdbe1f commit e8bcd6b

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

packages/conventional-changelog-lmc-bitbucket/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "is-ci || jest --maxWorkers=50%"
3131
},
3232
"dependencies": {
33-
"@lmc-eu/conventional-changelog-lmc": "^2.0.3"
33+
"@lmc-eu/conventional-changelog-lmc": "workspace:^"
3434
},
3535
"devDependencies": {
3636
"better-than-before": "1.0.0",

packages/conventional-changelog-lmc-bitbucket/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const conventionalChangelog = require(`./conventional-changelog`);
21
const { parserOpts, writerOpts, recommendedBumpOpts } = require('@lmc-eu/conventional-changelog-lmc');
2+
const conventionalChangelog = require('./conventional-changelog');
33

44
module.exports = Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]).then(
55
// Using same configuration as other configurations

packages/conventional-changelog-lmc-bitbucket/tests/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We are dealing with Streams here, not Promises
2-
/* eslint-disable jest/no-done-callback */
32
/* eslint-disable no-plusplus */
3+
/* eslint-disable jest/no-done-callback */
44
/* eslint-disable no-undef */
55
const conventionalChangelogCore = require('conventional-changelog-core');
66
const gitDummyCommit = require('git-dummy-commit');

packages/conventional-changelog-lmc-github/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "is-ci || jest --maxWorkers=50%"
3131
},
3232
"dependencies": {
33-
"@lmc-eu/conventional-changelog-lmc": "^2.0.3"
33+
"@lmc-eu/conventional-changelog-lmc": "workspace:^"
3434
},
3535
"devDependencies": {
3636
"better-than-before": "1.0.0",

packages/conventional-changelog-lmc-github/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const conventionalChangelog = require(`./conventional-changelog`);
21
const { parserOpts, writerOpts, recommendedBumpOpts } = require('@lmc-eu/conventional-changelog-lmc');
2+
const conventionalChangelog = require('./conventional-changelog');
33

44
module.exports = Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]).then(
55
// Using same configuration as other configurations

packages/conventional-changelog-lmc-github/tests/index.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// We are dealing with Streams here, not Promises
2-
/* eslint-disable jest/no-done-callback */
32
/* eslint-disable no-plusplus */
4-
3+
/* eslint-disable jest/no-done-callback */
54
/* eslint-disable no-param-reassign */
65
const conventionalChangelogCore = require('conventional-changelog-core');
76
const gitDummyCommit = require('git-dummy-commit');

packages/conventional-changelog-lmc/src/bump-opts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
} else if (commit.type === 'BREAKING CHANGE' || commit.type === 'BREAKING CHANGES') {
1616
breakings += 1;
1717
level = 0;
18-
} else if (commit.type === `Feat`) {
18+
} else if (commit.type === 'Feat') {
1919
features += 1;
2020
if (level === 2) {
2121
level = 1;

0 commit comments

Comments
 (0)