Skip to content

feat: custom reference prefix #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
KeidsID opened this issue Nov 10, 2024 · 0 comments · Fixed by #22
Closed

feat: custom reference prefix #21

KeidsID opened this issue Nov 10, 2024 · 0 comments · Fixed by #22
Labels
enhancement New feature or request

Comments

@KeidsID
Copy link

KeidsID commented Nov 10, 2024

Related to issue #17, the current version of this library only accepts "#" as the reference prefix.

The commitlint.js had a configuration to modify this.

import { RuleConfigSeverity, UserConfig } from "@commitlint/types";

const config: UserConfig = {
  extends: ["@commitlint/config-conventional"],
  parserPreset: {
    parserOpts: {
      issuePrefixes: "sv-", // `<type>: <msg> sv-<issue-num>` pattern
    },
  },
};

export default config;

I would love to have this feature on my dart projects ❤️

@hyiso hyiso added the enhancement New feature or request label Nov 11, 2024
@hyiso hyiso closed this as completed in #22 Nov 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants