Skip to content

parserPreset key in extended configuration not working #327

Closed
@noelebrun

Description

@noelebrun

Hello,

I put a custom parserPreset in my custom config I'm extending.

I think it's coming from there:
https://github.com/marionebl/commitlint/blob/1e049021eb8f7550fa48a6e8cdd0348227273a39/%40commitlint/resolve-extends/src/index.js#L60

You should maybe put the parserPreset on c and not on config since config is overrides in there:
https://github.com/marionebl/commitlint/blob/1e049021eb8f7550fa48a6e8cdd0348227273a39/%40commitlint/resolve-extends/src/index.js#L24

And the old parserPreset entry (the string one) is still there.

What do you think?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions