-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: format iOS code #690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this formatting be enforced by prettier? I think having the formatting come from outside tools with a standard not maintained by the repo is problematic.
I tried to find something compatible with Prettier – but there seems to be nothing. So I figured this is better then having the previously completely unknown style? I can see if we can check the style on CI?
|
Ah, should we adopt the config from MapLibre Native? https://github.com/maplibre/maplibre-native/blob/main/.clang-format |
YES! Good idea! |
1f98e2a
to
d428476
Compare
I've applied the style from MLN. I will add the config file in a separate branch. |
I formatted the iOS code base using
clang-format
. It's included with Xcode and available for most other editors. I will add the commit to the.git-blame-ignore-revs
directly on main after it's merged.