Skip to content

The character "/" triggers unexpected errors #291

Closed
@dispix

Description

@dispix

Expected Behavior

I can add a / in the scope to define it more precisely

tech(components/StandardLayout): add an uncontrolled state

Current Behavior

The / character triggers multiple warnings:

⧗   input: tech(components/StandardLayout): add an uncontrolled state
✖   message may not be empty [subject-empty]
✖   type may not be empty [type-empty]
✖   scope may not be empty [scope-empty]
✖   found 3 problems, 0 warnings

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

In previous versions, the / character was not triggering these errors (tested with "@commitlint/cli": "5.2.0").

Your Environment

Mac OSX 10.13.2

Executable Version
commitlint --version 6.1.0
git --version 2.16.1
node --version 9.5.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