feat(code-format): minor enhancements (#7311)

Co-authored-by: Liam <30486941+liamHowatt@users.noreply.github.com>
This commit is contained in:
Victor Wheeler
2024-11-21 13:59:30 -07:00
committed by GitHub
parent a848a0bf1d
commit afccd777da
2 changed files with 62 additions and 9 deletions

View File

@@ -18,7 +18,14 @@
--min-conditional-indent=0
--max-continuation-indent=120
--mode=c
--lineend=linux
# Allows each platform to use its own line endings. This then does
# what Git does out of the box: uses platform line endings in the
# working directory, but uses only LF line endings in the repository.
# `astyle` also natively uses line the endings it finds in the files,
# so this will be LF-only on Linux and CR/LF on Windows, in alignment
# with Git's default behavior. This prevents `astyle` from modifying
# every source file, which Git perceives as a change on Windows platforms.
#--lineend=linux
--suffix=none
--preserve-date
--formatted