Skip to content

fix: commitlint --extends is ignored for commitlint/config-conventional (v18.6.1) #3909

Closed
@nwrkbiz

Description

@nwrkbiz

Expected Behavior

Commits shall be linted.

Current Behavior

Error: Please add rules to your commitlint.config.js

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

No response

Steps to Reproduce

npm install -g @commitlint/cli @commitlint/config-conventional
commitlint -V --extends @commitlint/config-conventional --from=HEAD~1 --to HEAD

Context

The steps to reproduce worked in the last version (18.6.0)

commitlint --version

@commitlint/cli@18.6.1

git --version

2.39.2

node --version

10.2.3

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