Skip to content

Trying to get "commit-msg" working but seems like git params aren't setΒ #52

@eMdOS

Description

@eMdOS

I've set commitlint locally, and I've been trying to use it from Komondor.

let config = PackageConfiguration([
    "komondor": [
        "commit-msg": "npx --no -- commitlint --edit",
    ],
]).write()
#endif

Apparently, the git parameter that the commit-msg hook expects is not being passed.

I've also tried things like:

 "commit-msg": "npx --no -- commitlint --edit $1",

or

 "commit-msg": "npx --no -- commitlint --edit '$1'",

... but cannot make it work; cannot find documentation about it either.

How could I get it working? πŸ€” - Thanks in advance 😬!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions