Skip to content

Commit abbaba4

Browse files
committedFeb 4, 2025
Update contributing.md
1 parent 2ebec25 commit abbaba4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎CONTRIBUTING.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## Code Style
44

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+
515
Code style is specified in .swift-format
616
Run swift-format before checkin to ensure matching code style
717

0 commit comments

Comments
 (0)