fix: exclude spine 4.2 third-party files from clang-format (#273)

This commit is contained in:
Copilot
2026-08-15 18:34:08 +08:00
committed by GitHub
parent 2d003cc616
commit 01983b75f2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
- uses: DoozyX/clang-format-lint-action@v0.18
with:
source: ./native
exclude: ./native/cocos/bindings/auto
exclude: './native/cocos/bindings/auto ./native/cocos/editor-support/spine'
extensions: 'c,h,hpp,cpp,cxx'
style: file
inplace: true
+1
View File
@@ -1,5 +1,6 @@
# ignore third_party code from clang-format checks
./cocos/bindings/auto/*
./cocos/editor-support/spine/*
./cocos/gi/light-probe/predicates.cpp
./cocos/gi/light-probe/tetgen.cpp
./cocos/gi/light-probe/tetgen.h