Skip to content

Commit 1ebcad7

Browse files
committed
fix(commitlint-config): fix parserPreset shape
The object shape was has been fixed upstream: https://github.com/marionebl/commitlint/pull/213
1 parent 5161413 commit 1ebcad7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

commitlint.config.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
module.exports = {
33
extends: ['@commitlint/config-conventional'],
44
parserPreset: {
5-
opts: {
6-
parserOpts: {
7-
// Allow to write a "scope" with slashes
8-
// E.g. `refactor(app/my-component): something`
9-
headerPattern: /^(\w*)(?:\(([\w\$\.\/\-\* ]*)\))?\: (.*)$/,
10-
},
5+
parserOpts: {
6+
// Allow to write a "scope" with slashes
7+
// E.g. `refactor(app/my-component): something`
8+
headerPattern: /^(\w*)(?:\(([\w\$\.\/\-\* ]*)\))?\: (.*)$/,
119
},
1210
},
1311
rules: {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"homepage": "https://github.com/tdeekens/flopflip#readme",
4040
"devDependencies": {
41-
"@commitlint/cli": "^5.2.6",
41+
"@commitlint/cli": "^5.2.8",
4242
"@commitlint/config-conventional": "^5.2.3",
4343
"@commercetools/jest-enzyme-matchers": "^1.1.2",
4444
"babel-core": "^6.26.0",

0 commit comments

Comments
 (0)