File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Sources/Danger/Plugins/SwiftLint Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1313
1414## Master
1515
16+ - Expose markdownKit on Swiftlint.lint() for customizing the output [ @nikoloutsos ] [ ] - [ #609 ] ( https://github.com/danger/swift/pull/609 )
1617- Drop Swift 5.7 [ @417-72KI ] [ ] - [ #620 ] ( https://github.com/danger/swift/pull/620 )
1718- Fix pattern for detecting SwiftLint in package [ @417-72KI ] [ ] - [ #616 ] ( https://github.com/danger/swift/pull/616 )
1819- Allow optional GitLab MR description [ @kvvzr ] [ ] - [ #609 ] ( https://github.com/danger/swift/pull/609 )
Original file line number Diff line number Diff line change @@ -93,15 +93,19 @@ public enum SwiftLint {
9393 configFile: String ? = nil ,
9494 strict: Bool = false ,
9595 quiet: Bool = true ,
96- swiftlintPath: SwiftlintPath ? = nil ) -> [ SwiftLintViolation ] {
96+ swiftlintPath: SwiftlintPath ? = nil ,
97+ markdownAction: ( String ) -> Void = markdown
98+ ) -> [ SwiftLintViolation ] {
9799 lint ( lintStyle: lintStyle,
98100 danger: danger,
99101 shellExecutor: shellExecutor,
100102 swiftlintPath: swiftlintPath,
101103 inline: inline,
102104 configFile: configFile,
103105 strict: strict,
104- quiet: quiet)
106+ quiet: quiet,
107+ markdownAction: markdownAction
108+ )
105109 }
106110}
107111
You can’t perform that action at this time.
0 commit comments