Closed aiKrice closed 1 month ago
The baseline.json use absolute path in the key: "file:" it should use relative path instead:
$ swiftlint --write-baseline baseline.json --config .swiftlint.yml
Json piece:
... ,{ "character" : 5, "file" : "\/Users\/christophersaez\/Documents\/projects\/shopmium-ios\/Packages\/Foundation\/Alamofire\/Sources\/Alam ofire\/Request.swift", "line" : 255, "reason" : "All declarations should specify Access Control Level keywords explicitly", "rule_id" : "explicit_acl", "severity" : "Warning", "type" : "Explicit ACL" }, ...
swiftlint version
@mildm8nnered for info
Closed because baseline prettifier change the baseline format. Without that it's ok
New Issue Checklist
Describe the bug
The baseline.json use absolute path in the key: "file:" it should use relative path instead:
Complete output when running SwiftLint, including the stack trace and command used
Json piece:
Environment
swiftlint version
to be sure)? 0.55.1