Skip to content

Commit

Permalink
feat(init): remove standard-version custom settings (#191)
Browse files Browse the repository at this point in the history
Because a commit message such as `chore(release): 3.0.3` is valid now.
  • Loading branch information
ybiquitous authored Jun 16, 2018
1 parent aa63142 commit d49de38
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Init {
})

// update other keys
const keys = ['lint-staged', 'standard-version']
const keys = ['lint-staged']
keys.forEach(key => {
if (!(key in packageInfo)) {
packageInfo[key] = {}
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
],
"*.md": "markdownlint --ignore CHANGELOG.md"
},
"standard-version": {
"message": "chore(release): new version %s"
},
"nyc": {
"exclude": [
"lib",
Expand Down
3 changes: 0 additions & 3 deletions test/fixtures/package-empty_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@
"git add"
],
"*.md": "markdownlint --ignore CHANGELOG.md"
},
"standard-version": {
"message": "chore(release): new version %s"
}
}
3 changes: 0 additions & 3 deletions test/fixtures/package-normal_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@
"git add"
],
"*.md": "markdownlint --ignore CHANGELOG.md"
},
"standard-version": {
"message": "chore(release): new version %s"
}
}

0 comments on commit d49de38

Please sign in to comment.