mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-12 01:15:09 +08:00
Summary: Now, Objective-C part of RN is in `xplat` directory, so global Objective-C clang-format does not affect that. Explicit clang-format is also useful for external contributors who don't have access to the rest of monorepo. The actual rules are copy-paste from ReactCommon folder with small changes (like 120 characters max line length) that conform to regular Facebook code style and which make sense only for Objective-C. Reviewed By: fkgozali Differential Revision: D13093150 fbshipit-source-id: 79d64b4fba6eeb94e9b8d87ef9c3f86b3a5ed94e