Rely on SPM plugins to consume SwiftLint and SwiftFormat
Use their latest releases and fix some violations and issues. # Conflicts: # .github/workflows/linting.yml # .github/workflows/testing.yml
This commit is contained in:
parent
358908f161
commit
1bdf9d684b
40 changed files with 126 additions and 186 deletions
|
|
@ -48,6 +48,7 @@ class Parser {
|
|||
guard lineNumber < purgedAdditionalLines.count else {
|
||||
return result
|
||||
}
|
||||
// swiftlint:disable:next unused_enumerated
|
||||
let numberInitialBlanks = purgedAdditionalLines[lineNumber].enumerated().first {
|
||||
$1 != Character(Constants.BLANK)
|
||||
}?.0 ?? purgedAdditionalLines[lineNumber].count
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue