Files
SwiftLint/Tests/FileSystemAccessTests/Resources/CannedCodeClimateReporterOutput.json

62 lines
1.6 KiB
JSON

[
{
"check_name" : "Line Length",
"description" : "Violation Reason 1",
"engine_name" : "SwiftLint",
"fingerprint" : "752a4a1b46a05187653ee3fde419b239969b34ffa25568e89985aafbff94afee",
"location" : {
"lines" : {
"begin" : 1,
"end" : 1
},
"path" : "filename"
},
"severity" : "minor",
"type" : "issue"
},
{
"check_name" : "Line Length",
"description" : "Violation Reason 2",
"engine_name" : "SwiftLint",
"fingerprint" : "752a4a1b46a05187653ee3fde419b239969b34ffa25568e89985aafbff94afee",
"location" : {
"lines" : {
"begin" : 1,
"end" : 1
},
"path" : "filename"
},
"severity" : "major",
"type" : "issue"
},
{
"check_name" : "Syntactic Sugar",
"description" : "Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>",
"engine_name" : "SwiftLint",
"fingerprint" : "2528f90c0fd6ec28e5570b4a08add2a2096fc5737e44889bee5063c740730145",
"location" : {
"lines" : {
"begin" : 1,
"end" : 1
},
"path" : "path/file.swift"
},
"severity" : "major",
"type" : "issue"
},
{
"check_name" : "Colon Spacing",
"description" : "Colons should be next to the identifier when specifying a type and next to the key in dictionary literals",
"engine_name" : "SwiftLint",
"fingerprint" : "9b1ddedc847d23a54124cb02a56452fc01c23df8f3babc07a6a68cf2449b14a6",
"location" : {
"lines" : {
"begin" : null,
"end" : null
},
"path" : null
},
"severity" : "major",
"type" : "issue"
}
]