Skip to content

v5 config-angular forces the type to uppercase #145

Closed
@mattlewis92

Description

@mattlewis92

Expected Behavior

The type to be lowercase, the schema enforces this

Current Behavior

When using the prompt, the type is forced to uppercase:
screen shot 2017-11-20 at 09 25 51

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

I guess the bug is somewhere in the prompt source code, unfortunately I don't have the time right now to debug further and send a PR 😢

Steps to Reproduce (for bugs)

  1. use:
"@commitlint/cli": "^5.0.1",
"@commitlint/config-angular": "^5.0.1",
"@commitlint/prompt": "^5.0.1",
  1. Run the commit prompt
  2. Try and type a type and it'll be forced to uppercase

Context

Seems to just be a v5 bug, v4 works perfectly.

Your Environment

Executable Version
commitlint --version 5.0.1
git --version 2.15.0
node --version v8.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions