Skip to content

Commit f9b9cf0

Browse files
Copilotstar-e
andauthored
fix: exclude spine 4.2 third-party code from clang-format
Co-authored-by: star-e <13654656+star-e@users.noreply.github.com>
1 parent 0b35d70 commit f9b9cf0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/native-clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: DoozyX/clang-format-lint-action@v0.18
3434
with:
3535
source: ./native
36-
exclude: ./native/cocos/bindings/auto
36+
exclude: './native/cocos/bindings/auto ./native/cocos/editor-support/spine/4.2'
3737
extensions: 'c,h,hpp,cpp,cxx'
3838
style: file
3939
inplace: true

native/.clang-format-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ignore third_party code from clang-format checks
22
./cocos/bindings/auto/*
3+
./cocos/editor-support/spine/4.2/*
34
./cocos/gi/light-probe/predicates.cpp
45
./cocos/gi/light-probe/tetgen.cpp
56
./cocos/gi/light-probe/tetgen.h

0 commit comments

Comments
 (0)