Skip to content

Manually specify the configuration file path at startup #230

@adolphor

Description

@adolphor

I'm trying to use cz-customizable for Java project, which not contains package.json configuration. So I set the global git hooks for all the Java projects.

  • macOS system works fine, cz-customizable could use the config file in the home path.
  • Windows system with one disk works fine, cz-customizable could use the config file in the home path, too.
  • Windows system with more than one disk works failed, for example D disk, cz-customizable could not find the config file in the home path in C disk.

So I was wondering,

commitlint can set config parameter at startup:
npx commitlint --config /my/path/commitlint.config.js

Could cz-customizable running like as below ?
npx cz-customizable --config /my/path/.cz-config.js

If not, how could I solve the problem?

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