We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Some of Apple's methods should not call super when overriden, according to their documentation. These methods should be flagged. Example:
class foo: UIViewController { override func loadView() { super.loadView() // <- Should be flagged } }
The text was updated successfully, but these errors were encountered:
Do you have other examples? We'd need to keep a list of blacklisted methods, similar to https://github.com/realm/SwiftLint/blob/0.13.2/Source/SwiftLintFramework/Rules/RuleConfigurations/OverridenSuperCallConfiguration.swift#L12
Sorry, something went wrong.
@marcelofabri Yep! Readying my PR. 😄
That was fast 🚀
@marcelofabri I saw the need for it and saw it was an "easy" PR. So I wrote the PR and went back and raised the issue. PR is #971.
No branches or pull requests
Some of Apple's methods should not call super when overriden, according to their documentation. These methods should be flagged. Example:
The text was updated successfully, but these errors were encountered: