mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
792032480e
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org> Co-authored-by: Roman Lavrov <roman.lavrov@thebrowser.company>
530 B
530 B
| 1 | file | line | character | severity | type | reason | rule_id |
|---|---|---|---|---|---|---|---|
| 2 | ${CURRENT_WORKING_DIRECTORY}/filename | 1 | 1 | Warning | Line Length | Violation Reason 1 | line_length |
| 3 | ${CURRENT_WORKING_DIRECTORY}/filename | 1 | Error | Line Length | Violation Reason 2 | line_length | |
| 4 | ${CURRENT_WORKING_DIRECTORY}/path/file.swift | 1 | 2 | Error | Syntactic Sugar | Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> | syntactic_sugar |
| 5 | Error | Colon Spacing | Colons should be next to the identifier when specifying a type and next to the key in dictionary literals | colon |