lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Add pre-commit hook to auto-fix style issues

Open sangbida opened this issue 3 months ago • 1 comments

Each commit should be atomic and pass make check-source, but currently developers must manually fix style issues before committing. Adding a precommit hook would mean that these style issues would be fixed, so each commit would pass make check source

sangbida avatar Oct 21 '25 04:10 sangbida

Have you seen https://github.com/ElementsProject/lightning/pull/8193? It demos reimplementions of some of the check-source functionality, along with other experimental checks.

I've been thinking about closing it for some time due to lack of interest, but could consider revising it given more specific requirements or feedback.

s373nZ avatar Dec 06 '25 12:12 s373nZ