We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
issuePrefixes
references-empty
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
I've seen the #22 PR. But the parser feature still can't pass the references-empty rule test.
Follow the commintlint_cli setup documentation on your dart/flutter project.
Make sure to use commintlint_cli v0.8.0 on pubspec.yaml.
commintlint_cli
pubspec.yaml
dev_dependencies: commitlint_cli: ^0.8.0
Create the commitlint.yaml file on project root with the following content:
commitlint.yaml
# https://github.com/hyiso/commitlint/blob/main/lib/commitlint.yaml include: package:commitlint_cli/commitlint.yaml # https://github.com/hyiso/commitlint/pull/22 parser: issuePrefixes: - "sv-" # https://hyiso.github.io/commitlint/#/references-rules rules: type-enum: - 2 - always - - build - chore - docs - feat - fix - refactor - revert - style - test scope-enum: - 2 - always - - domain - infrastructures - use_cases - interfaces - lib - root references-empty: - 2 - never
Try to commit with the following message:
$ feat: add tv shows service sv-25 $ fix: fix unresponsive movies page sv-250 $ fix(root): fix commitlint config sv-1
The commitlint should pass the references-empty rule test.
The commitlint fails the references-empty rule test.
⧗ input: fix(root): fix commitlint config sv-1 ✖ references must not be empty references-empty ✖ found 1 error(s), 0 warning(s)
Repo link
Windows 11 Home Single Language
Flutter v3.24.0 (stable) Windows.
The text was updated successfully, but these errors were encountered:
0651e59
fix: parserOptions not passed to lint(fix #23)
parserOptions
lint
c370674
No branches or pull requests
Describe Your Issue?
I've seen the #22 PR. But the parser feature still can't pass the
references-empty
rule test.Steps To Reproduce
Follow the commintlint_cli setup documentation on your dart/flutter project.
Make sure to use
commintlint_cli
v0.8.0 onpubspec.yaml
.Create the
commitlint.yaml
file on project root with the following content:Try to commit with the following message:
Expected Result
The commitlint should pass the
references-empty
rule test.Actual Result
The commitlint fails the
references-empty
rule test.Additional Screenshots/Videos
dart-commitlint_cli-reference_bug.mp4
Repo link
What OS are you using?
Windows 11 Home Single Language
What version of Dart/Flutter are you using?
Flutter v3.24.0 (stable) Windows.
The text was updated successfully, but these errors were encountered: