Skip to content

Support Multiple Configuration File Formats (JS, MJS, CJS, TS) #1459

@robin-ln

Description

@robin-ln

Description of the problem

Currently, Gitmoji CLI only supports a single configuration file format: gitmoji-rc.json.
This limits flexibility for projects that could benefit from dynamic or typed configurations.

Supporting multiple file formats (including JavaScript and TypeScript) would allow configuration logic to be centralized and reused across tools.

Solution

Enable Gitmoji CLI to support additional configuration formats:

  • gitmoji.config.js
  • gitmoji.config.ts
  • maybe others ...

Alternatives

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions