YimMenu
YimMenu copied to clipboard
[Request]: Enforce spaces / line ending in a commit checker
Problem
the clang format use tabs, not sure why? I propose https://github.com/YimMenu/YimMenu/blob/master/.clang-format#L67
UseTab: Never
Solution
A simple github action that check for any \t and make the pr not mergeable would be a great thing imo
Reason
incoming pr / whats on the repo always differ, which break git diffs / make them much more annoying to read
Additional context
No response
I thought YimMenu prefers tabs over spaces. https://github.com/YimMenu/YimMenu/blob/master/CONTRIBUTING.md#indents
Why even not allow tabs besides breaking git diffs which should be fixed in the opposite way?
the pr is more about an unified way of doing it