Skip to content

False positive on imperative mood check due to adverb #393

Description

@ejpcmac

Problem description

In committed 1.0.20, using the following configuration:

style = "conventional"
subject_capitalized = false
allowed_types = ["feat"]

Let the following message:

feat: always use a given behaviour

committed reports the following error:

error Subject should be in the imperative mood but found `always`

Expected behaviour

“Always use a given behaviour.” is actually in imperative mood, but the verb is in second position, after an adverb. This should not report an error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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