File tree Expand file tree Collapse file tree
packages/react-native-audio-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020 - name : Install cpplint
2121 shell : bash
22- run : pip install 'cpplint==2.0.0 '
22+ run : pip install 'cpplint==2.0.2 '
2323
2424 - name : Install ktlint
2525 shell : bash
2828 chmod a+x ktlint
2929 sudo mv ktlint /usr/local/bin/
3030
31+ # .clang-format uses options added in clang-format 22 (BreakAfterOpenBracket*).
32+ # ubuntu-latest still defaults to an older binary; install 22
33+ - name : Install clang-format 22
34+ shell : bash
35+ run : |
36+ set -euo pipefail
37+ curl -fsSL https://apt.llvm.org/llvm.sh | sudo bash -s -- 22
38+ sudo apt-get install -y clang-format-22
39+ sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-22 200
40+ clang-format --version
41+
3142 - name : Cache dependencies
3243 id : yarn-cache
3344 uses : actions/cache@v4
Original file line number Diff line number Diff line change 11---
22ColumnLimit : 100
33AccessModifierOffset : -1
4- AlignAfterOpenBracket : AlwaysBreak
4+ AlignAfterOpenBracket : false
55AlignConsecutiveAssignments : false
66AlignConsecutiveDeclarations : false
77AlignEscapedNewlines : DontAlign
@@ -70,10 +70,14 @@ SpacesInSquareBrackets: false
7070UseTab : Never
7171---
7272Language : Cpp
73+ BreakAfterOpenBracketBracedList : true
74+ BreakAfterOpenBracketFunction : true
7375Standard : c++20
7476---
7577Language : ObjC
7678BreakBeforeBraces : WebKit
7779ObjCBlockIndentWidth : 2
7880ObjCSpaceAfterProperty : true
7981ObjCSpaceBeforeProtocolList : true
82+ BreakAfterOpenBracketBracedList : true
83+ BreakAfterOpenBracketFunction : true
You can’t perform that action at this time.
0 commit comments