Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[FEATURE]: add way to change commit's message #67

Open
Falcion opened this issue Dec 24, 2024 · 1 comment
Open

[FEATURE]: add way to change commit's message #67

Falcion opened this issue Dec 24, 2024 · 1 comment

Comments

@Falcion
Copy link

Falcion commented Dec 24, 2024

Many major and even little projects use the "conventional commits" strategy, which states the structure of a commit as:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

And more linters "require" you to oblige by these rules, but not the repo-visualizer: on every commit, it throws an error within any linter and system hooks that require your commits to be conventional.

While this is not a critical priority, it still would be good to have a commit of repo-visualizer be more in a conventional format or just implement a config to edit the commit's message.

@Falcion
Copy link
Author

Falcion commented Dec 24, 2024

Example of error:

2024-12-24 19:34:15 [INFO]   Linting GIT_COMMITLINT items...
Error: -24 19:34:16 [ERROR]   Found errors when linting GIT_COMMITLINT. Exit code: 1.
2024-12-24 19:34:17 [INFO]   Command output for GIT_COMMITLINT:
------
⧗   input: Repo visualizer: update diagram
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]

✖   found 2 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant