Open bobbradley opened 2 weeks ago
SwiftLint works on the syntax level only. So it doesn't know which declarations exactly stem from a protocol or parent class. This is why excludes_inherited_types
exists and, with it enabled, the rule ignores inheriting types completely.
New Issue Checklist
Describe the bug
If
missing_docs
is enabled andexcludes_inherited_types
is true then undocumented and non-inherited public properties/functions don't triggermissing_docs
warnings if the type inherits from a protocol. For example:Complete output when running SwiftLint, including the stack trace and command used
Environment
xcodebuild -version
)? Reproduces without Xcode.