You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+10
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,16 @@
2
2
3
3
## Code Style
4
4
5
+
Please use selected code formatting style:
6
+
- 4 spaces tab
7
+
- no spaces on empty lines
8
+
- comment: "// start with small letter"
9
+
- declaration: "var users: [User]"
10
+
11
+
### swift-format
12
+
13
+
You can use [swift-format](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjol7H-_6iLAxW5ZmwGHViJIX8QFnoECBoQAQ&url=https%3A%2F%2Fgithub.com%2Fswiftlang%2Fswift-format&usg=AOvVaw0kMi_vMj0IW_Vm5BZ8ffcT&opi=89978449) to do this
14
+
5
15
Code style is specified in .swift-format
6
16
Run swift-format before checkin to ensure matching code style
0 commit comments