Skip to content

Commit 0994f0c

Browse files
fix(lint): remove LineEnding from .clang-format config (#512)
1 parent 96e7e84 commit 0994f0c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.clang-format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ IndentWrappedFunctionNames: true
6969
InsertBraces: true
7070
InsertNewlineAtEOF: true
7171
KeepEmptyLinesAtTheStartOfBlocks: false
72-
LineEnding: LF
7372
MaxEmptyLinesToKeep: 1
7473
NamespaceIndentation: All
7574
ObjCBinPackProtocolList: Never

.github/workflows/__call-common-lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ jobs:
208208
# shellcheck disable=SC2086 # do not quote to keep this as a single line
209209
echo found_files=${found_files} >> "${GITHUB_OUTPUT}"
210210
211+
- name: C++ - Update Clang format config
212+
if: always() && steps.cpp_files.outputs.found_files
213+
shell: bash
214+
run: |
215+
echo "LineEnding: LF" >> .clang-format
216+
211217
- name: C++ - Clang format (diff)
212218
id: clang_format_diff
213219
if: always() && steps.cpp_files.outputs.found_files

0 commit comments

Comments
 (0)