lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Linting for the conventional commit format.

Open sperezconesa opened this issue 3 years ago • 9 comments

Is your feature request related to a problem? Please describe. I'm trying to get used to using git conventional commit format. It would be really nice if lazygit would remind me, encourage me.

Describe the solution you'd like It would be amazing if lazygit would help me by linting for this, for example using this linter this.

sperezconesa avatar Jan 12 '22 15:01 sperezconesa

We could certainly add support for this, but I wonder if it makes more sense to just be a pre-commit hook? Lazygit will surface the error in any case

jesseduffield avatar Jan 12 '22 22:01 jesseduffield

Oh, I hadn't thought of that. I'm kind of new to this stuff.

Unfortunately, I'm having trouble installing the pre-commit-hook haha. Hopefully I will make it work.

In any case, I think adding this to lazygit is a good idea but I understand maybe it is not high priority.

sperezconesa avatar Jan 13 '22 08:01 sperezconesa

I got it to work and integrates nicely with lazygit.

In any case, it would be awesomer if was incorporated. Although I understand it might not be worth it.

sperezconesa avatar Jan 13 '22 18:01 sperezconesa

I'll give others a chance to thumbs-up this issue if they're in favour of the change, but if there's no interest after a while I'll close it off. Glad you got it working on your end though!

jesseduffield avatar Jan 17 '22 08:01 jesseduffield

Sounds good! Thank you for this great tool.

sperezconesa avatar Jan 17 '22 09:01 sperezconesa

It would be really nice to have this in lazygit

andresatierf avatar Dec 14 '22 15:12 andresatierf

I want the c shows the command in the command output window but it is not interactive.

How do I implement that

Parables avatar Apr 08 '23 01:04 Parables

I got it to work and integrates nicely with lazygit.

In any case, it would be awesomer if was incorporated. Although I understand it might not be worth it.

@sperezconesa would you mind sharing your hook?

andresatierf avatar May 02 '23 09:05 andresatierf

I really want this in the UI.

TheDevelolper avatar Oct 09 '23 11:10 TheDevelolper