Files
SwiftLint/Tests/SwiftLintFrameworkTests/Resources/CannedJSONReporterOutput.json
T
raduciobanu002 07c8e52fc8 "Colon Spacing" rule name update (#3583)
* * Changed rule name from "Colon" to "Colon Spacing"
* Updated tests

* Update CHANGELOG.md

Co-authored-by: Seth Friedman <sethfri@gmail.com>
2021-05-20 23:46:54 -04:00

38 lines
919 B
JSON

[
{
"reason" : "Violation Reason.",
"character" : 2,
"file" : "filename",
"rule_id" : "line_length",
"line" : 1,
"severity" : "Warning",
"type" : "Line Length"
},
{
"reason" : "Violation Reason.",
"character" : 2,
"file" : "filename",
"rule_id" : "line_length",
"line" : 1,
"severity" : "Error",
"type" : "Line Length"
},
{
"reason" : "Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>.",
"character" : 2,
"file" : "filename",
"rule_id" : "syntactic_sugar",
"line" : 1,
"severity" : "Error",
"type" : "Syntactic Sugar"
},
{
"reason" : "Colons should be next to the identifier when specifying a type and next to the key in dictionary literals.",
"character" : null,
"file" : null,
"rule_id" : "colon",
"line" : null,
"severity" : "Error",
"type" : "Colon Spacing"
}
]