Skip to content

Commit

Permalink
Merge pull request #18 from HistoryAtState/feat-flex-lint
Browse files Browse the repository at this point in the history
feat(lint): empty type
  • Loading branch information
joewiz committed Apr 7, 2024
2 parents 605f893 + 959c93e commit ae86ab7
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"
commit-message:
prefix: "chore(gha):"
15 changes: 12 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "", "release": "patch" }
]
},
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
},
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}],
Expand All @@ -13,9 +22,9 @@
["@semantic-release/github", {
"assets": [
{
"path": "build/travels-*.xar",
"name": "travels-${nextRelease.version}.xar",
"label": "Expath package (travels-${nextRelease.version}.xar)"
"path": "build/travels.xar",
"name": "travels.xar",
"label": "Expath package (travels.xar)"
}
]
}]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Source data for [Foreign Travels of the President and Secretary of State](http:/

Releases for this data package are automated. Any commit to the `master` branch will trigger the release automation.

All commit message must conform to [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) to determine semantic versioning of releases, please adhere to these conventions, like so:
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:

| Commit message | Release type |
|-----------------|--------------|
Expand Down
8 changes: 8 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 200],
'type-empty': [1, 'never'],
'subject-empty': [1, 'never']
}
}
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

0 comments on commit ae86ab7

Please sign in to comment.