Skip to content

Commit d6af596

Browse files
committed
swift-format: add a .swift-format file
This adds a .swift-format to tweak some of the default behaviours of swift-format. Although it isn't exactly the style used by this project, it brings it closer.
1 parent 45da7d7 commit d6af596

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.swift-format

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"version": 1,
3+
"rules": {
4+
"AllPublicDeclarationsHaveDocumentation": true,
5+
"AlwaysUseLowerCamelCase": false,
6+
"UseShorthandTypeNames": false,
7+
"ValidateDocumentationComments": true
8+
}
9+
}

0 commit comments

Comments
 (0)