danger / danger/swift

SwiftLint inline are not work for some rule

Open
#391 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
1.1k
Forks
152
Avg merge
9h 54m
Merged PRs (30d)
2

Description

Hello,

I'm trying to migrate danger to danger-swift(3.6.1) on GitlabCI and faced with strange behavior of swiftlint. For rule "overridden_super_call" inline not work for some files.

ruby swiftlint:
Screenshot 2020-10-30 at 18 36 37

danger swift:
Screenshot 2020-10-30 at 18 36 48

Debug of swift run danger-swift ci looks same for all issues:
Screenshot 2020-10-30 at 18 41 12

For Filel1 its work, for **Controller not. Other rules apply normally for this file.

Ruby:
```
swiftlint.config_file = '.swiftlint.yml'
swiftlint.lint_files inline_mode: true
```

Swift Config:
```
import Danger
import Foundation

SwiftLint.lint(inline: true, swiftlintPath: "Pods/SwiftLint/swiftlint")
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.