4 ms·
Reformat-on-change is also a valid strategy! I think I've even seen this employed on C++ codebases with clang-format. Conceptually, it's like `git diff | clang
by bqmjjx0kac 3y ago
Reformat-on-change is also a valid strategy!
I think I've even seen this employed on C++ codebases with clang-format. Conceptually, it's like `git diff | clang-format`, but there are more flags and scripts involved: https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting https://clang.llvm.org/docs/ClangFormat.html#script-for-patc...