react-native-skia
react-native-skia copied to clipboard
.clang-format configuration
I just ran yarn clang-format
and it reformatted over 50 files. I assume this is caused by the fact that this project does not contain a .clang-format file; so the default config of my installed clang-format binary (13.0.1
) kicked in.
Do you have a .clang-format file already?
We should make sure that yarn clang-format is run on the CI correct? like we do for the TS code?
Yes, it should run in CI. But the code format configuration should also be specified explicitly and not depend on the version of clang-format that is installed, since it may be different from e.g. CI and dev computer.
Agree, @schiller-manuel! Anyone want to try to add this? PRs are welcome :)
We fixed/merged that a while back already :)