Falsepositive overridden_super_call
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
@IBOutlet private weak var contextView: UIView!
override func viewWillAppear(_ animated: Bool) {
if animated {
contextView.transform = CGAffineTransform(translationX: 0, y: contextView.bounds.height)
UIView.transition(with: contextView,
duration: 0.25,
options: .curveEaseInOut,
animations: {
self.contextView.transform = .identity
},
completion: { _ in
super.viewWillAppear(true)
})
} else {
super.viewWillAppear(false)
}
}
Version 0.55.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Swift example with SwiftLint 0.55.1 and trace the overridden_super_call rule entry point. Done means the valid super.viewWillAppear calls in this example are no longer reported as violations, while the rule still catches actual issues.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100