chore: add support for prlint: a commit msg linter (#9655)
Sets up [PRLint](https://github.com/apps/prlint), with a single rule matching [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) Also modifying the PR template to remove redundant annoying checkbox section. Once we adopt, I'm hoping we can modify our bot to auto-label based on the commit type.
This commit is contained in:
parent
04e3a4a72d
commit
65d185f153
|
|
@ -1,14 +1,3 @@
|
|||
### CATEGORY
|
||||
|
||||
Choose one
|
||||
|
||||
- [ ] Bug Fix
|
||||
- [ ] Enhancement (new features, refinement)
|
||||
- [ ] Refactor
|
||||
- [ ] Add tests
|
||||
- [ ] Build / Development Environment
|
||||
- [ ] Documentation
|
||||
|
||||
### SUMMARY
|
||||
<!--- Describe the change below, including rationale and design decisions -->
|
||||
|
||||
|
|
@ -27,5 +16,3 @@ Choose one
|
|||
- [ ] Confirm DB Migration upgrade and downgrade tested.
|
||||
- [ ] Introduces new feature or API
|
||||
- [ ] Removes existing feature or API
|
||||
|
||||
### REVIEWERS
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"title": [
|
||||
{
|
||||
"pattern": "^(build|ci|docs|feat|fix|perf|refactor|style|test|other)((.+))?:\\s.+",
|
||||
"message": "Your title needs to be prefixed with a topic."
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue