Skip to content

Commit c946ecf

Browse files
committed
contributing file added along with initial formatting rules in .swift-format
1 parent 0445c72 commit c946ecf

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.swift-format

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": 1,
3+
"indentation": {
4+
"spaces": 4
5+
}
6+
}

CONTRIBUTING.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Contributing to ExyteChat
2+
3+
## Code Style
4+
5+
Code style is specified in .swift-format
6+
Run swift-format before checkin to ensure matching code style
7+
8+
```bash
9+
#example swift format command
10+
swift-format format -i --configuration .swift-format Sources/ExyteChat/ChatView/ChatView.swift
11+
```
12+
13+
14+
15+

0 commit comments

Comments
 (0)