mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
07c8e52fc8
* * Changed rule name from "Colon" to "Colon Spacing" * Updated tests * Update CHANGELOG.md Co-authored-by: Seth Friedman <sethfri@gmail.com>
437 B
437 B
| 1 | file | line | character | severity | type | reason | rule_id |
|---|---|---|---|---|---|---|---|
| 2 | filename | 1 | 2 | Warning | Line Length | Violation Reason. | line_length |
| 3 | filename | 1 | 2 | Error | Line Length | Violation Reason. | line_length |
| 4 | filename | 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 |