Skip to content

Commit

Permalink
fix(release): change commit message format to avoid CommitLint error (#…
Browse files Browse the repository at this point in the history
…62)

> subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case]
  • Loading branch information
ybiquitous authored Dec 5, 2017
1 parent 49bcd40 commit 5303210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"*.md": "markdownlint"
},
"standard-version": {
"message": "chore(release): new version %s",
"scripts": {
"postchangelog": "prepend CHANGELOG.md \"<!-- markdownlint-disable -->\n\""
}
Expand Down
1 change: 1 addition & 0 deletions test/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ suite('init', () => {
})

assert.deepStrictEqual(pkg['standard-version'], {
message: 'chore(release): new version %s',
scripts: {
postchangelog: 'prepend CHANGELOG.md "<!-- markdownlint-disable -->\n"',
},
Expand Down

0 comments on commit 5303210

Please sign in to comment.