prlint.json 508 B

123456789101112
  1. {
  2. "title": [
  3. {
  4. "pattern": "^(feat|fix|chore|CI|depr|deps|docs|DX|refactor|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$",
  5. "message": "PR title does not meet requirement, use Conventional Commits format using one of these categories: feat, fix, chore, CI, docs, DX, refactor, test"
  6. },
  7. {
  8. "pattern": "((?<=`)@\\S*`)|(^[^@]*$)",
  9. "message": "Put backticks around @keyword so it does not reference a GitHub user."
  10. }
  11. ]
  12. }