Skip to content

feat!: support parser options #22

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 11, 2024
Merged

feat!: support parser options #22

merged 1 commit into from
Nov 11, 2024

Conversation

hyiso
Copy link
Owner

@hyiso hyiso commented Nov 11, 2024

Support custom parser options configurated in commitlint.yaml under section parser.

parser:
  issuePrefixes:
    - XX
    - YY
  noteKeywords:
  referenceActions:
  headerPattern:
  headerCorrespondence:
  revertPattern:
  revertCorrespondence:
  mergePattern:
  mentionsPattern:


rules:
  type-case:
    - 2
    - always
    - lower-case

Currently supported options are listed in file lib/src/types/parser.dart

This will close #21

@hyiso hyiso force-pushed the feature/parser-options branch from 523f8a4 to 90abe8d Compare November 11, 2024 07:07
@hyiso hyiso merged commit e2a1389 into main Nov 11, 2024
3 checks passed
@hyiso hyiso deleted the feature/parser-options branch November 11, 2024 07:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: custom reference prefix
1 participant