Bloombox/Swift

View on GitHub
Package.swift

Summary

Maintainability
A
0 mins
Test Coverage

File should terminate with exactly one newline character ('\n')
Open

Severity: Minor
Found in Package.swift by tailor

terminating-newline

Verify that source files terminate with exactly one \n character. This ensures that the last line of the file is valid according to the POSIX standard. Also see No Newline at End of File for more information.

Swift source files should terminate with exactly 1 \n character, not 0 nor more than 1.

Preferred

let myConstant = 42¬
<eof></eof>

Not Preferred

let myConstant = 42<eof></eof>
let myConstant = 42¬
¬
¬
<eof></eof>

There are no issues that match your filters.

Category
Status