[Lint] Wrap long lines, ignoring function declarations

This commit is contained in:
Matt Rubin 2018-09-21 01:20:53 -04:00
parent cedeccf6f7
commit 9d2b5e5b87
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,9 @@ excluded:
- Carthage
- External
line_length:
ignores_function_declarations: true
trailing_comma:
mandatory_comma: true

View File

@ -752,7 +752,8 @@ class RepositorySpec: QuickSpec {
expect(repo.commits(in: updatedBranch).next()?.value?.author).to(equal(signature))
expect(repo.commits(in: updatedBranch).next()?.value?.committer).to(equal(signature))
expect(repo.commits(in: updatedBranch).next()?.value?.message).to(equal("\(message)\n"))
expect(repo.commits(in: updatedBranch).next()?.value?.oid.description).to(equal("7d6b2d7492f29aee48022387f96dbfe996d435fe"))
expect(repo.commits(in: updatedBranch).next()?.value?.oid.description)
.to(equal("7d6b2d7492f29aee48022387f96dbfe996d435fe"))
// should be clean now
let newStatus = repo.status()