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

fix: sentence-case doesn't allow upper-case characters in first word #531

Commits on Dec 29, 2018

  1. fix: sentence-case doesn't allow upper-case characters in first word

    This changes the `sentence-case` rule to also accept upper-case
    characters in the first word, allowing the use of acronyms (e.g. "HTML",
    "JSX") and words which include upper-case characters (e.g. "JavaScript")
    at the beginning of a `sentence-case` input.
    
    For example, with `'subject-case': [2, 'always', ['sentence-case']]`,
    the following commit messages were rejected (ESLint commit message
    style):
    
    - `Fix: VAT note not properly displayed`
    - `Upgrade: ESLint dev dependency`
    
    Related: conventional-changelog#211
    ingmarh committed Dec 29, 2018
    Configuration menu
    Copy the full SHA
    e216d8a View commit details
    Browse the repository at this point in the history