diff --git a/README.md b/README.md index 5dfcf8d..9581e35 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Source data for [A Guide to the United States' History of Recognition, Diplomati ## Release -Releases for this data package are automated. Any commit to the `master`` branch will trigger the release automation. +Releases for this data package are automated. Any commit to the `master` branch will trigger the release automation. All commit message must conform to [Conventional Commit Messages](https://www.conventionalcommits.org/en/v1.0.0/) to determine semantic versioning of releases, please adhere to these conventions, like so: diff --git a/commitlint.config.cjs b/commitlint.config.cjs index bb9a3e8..a3155c1 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -1 +1,8 @@ -module.exports = {extends: ['@commitlint/config-angular']} +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'body-max-line-length': [1, 'always', 200], + 'type-empty': [1, 'never'], + 'subject-empty': [1, 'never'] + } +} \ No newline at end of file