-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added `swift-format` configuration and applied to entire project. Adding the following commit hook in `.git/hooks/pre-commit` is recommended: ``` bash # swift format changed files git diff --diff-filter=d --staged --name-only | grep -e '\(.*\).swift$' | while read line; do swift-format -m format -i "${line}"; git add "$line"; done ```
- Loading branch information
Showing
46 changed files
with
5,252 additions
and
5,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# List of commits to ignore on git-blame. | ||
# | ||
# To activate run `git config blame.ignoreRevsFile .git-blame-ignore-revs` | ||
|
||
# swift format | ||
873661ac5bc64f0194a4a0addbc40c2d83d01b50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"version": 1, | ||
"indentation": { | ||
"spaces": 2 | ||
}, | ||
"indentConditionalCompilationBlocks": false, | ||
"lineBreakBetweenDeclarationAttributes": false, | ||
"lineLength": 200, | ||
"multiElementCollectionTrailingCommas": false, | ||
"respectsExistingLineBreaks": true, | ||
"rules": { | ||
"NoAccessLevelOnExtensionDeclaration": false, | ||
"UseWhereClausesInForLoops": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.