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 13
13
14
14
## Master
15
15
16
+ - Expose markdownKit on Swiftlint.lint() for customizing the output [ @nikoloutsos ] [ ] - [ #609 ] ( https://github.com/danger/swift/pull/609 )
16
17
- Drop Swift 5.7 [ @417-72KI ] [ ] - [ #620 ] ( https://github.com/danger/swift/pull/620 )
17
18
- Fix pattern for detecting SwiftLint in package [ @417-72KI ] [ ] - [ #616 ] ( https://github.com/danger/swift/pull/616 )
18
19
- 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 {
93
93
configFile: String ? = nil ,
94
94
strict: Bool = false ,
95
95
quiet: Bool = true ,
96
- swiftlintPath: SwiftlintPath ? = nil ) -> [ SwiftLintViolation ] {
96
+ swiftlintPath: SwiftlintPath ? = nil ,
97
+ markdownAction: ( String ) -> Void = markdown
98
+ ) -> [ SwiftLintViolation ] {
97
99
lint ( lintStyle: lintStyle,
98
100
danger: danger,
99
101
shellExecutor: shellExecutor,
100
102
swiftlintPath: swiftlintPath,
101
103
inline: inline,
102
104
configFile: configFile,
103
105
strict: strict,
104
- quiet: quiet)
106
+ quiet: quiet,
107
+ markdownAction: markdownAction
108
+ )
105
109
}
106
110
}
107
111
You can’t perform that action at this time.
0 commit comments