Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

docs: remove scope-case rule #3157 #3178

Merged

Conversation

lxow456
Copy link
Contributor

@lxow456 lxow456 commented May 14, 2022

Description

 Removed scope-case rule from @commitlint/config-conventional/README.md to update the documentation.

Motivation and Context

 I referenced to the #828 . The pr modified @commitlint/config-conventional/index.js. Verification of scope-case has been removed. But the documentation was not updated together.
 And to fix #3157 .

Usage examples

 Removed the following contents from the documentation.

scope-case

  • condition: scope is in case value
  • rule: always
  • level: error
'lowerCase'
echo "fix(SCOPE): some message" # fails
echo "fix(scope): some message" # passes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@escapedcat
Copy link
Member

Thanks!

@escapedcat escapedcat merged commit 6dbc982 into conventional-changelog:master May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Has the default configuration of scope-case changed?
2 participants