SwiftSwiftLint rule structureAbstract Syntax Tree (AST)
初心者向け度初回貢献者にどれだけ取り組みやすいかを 1-100 で推定したスコアです。
35
調査方針
Implement a new rule in SwiftLint that detects empty extensions (extensions with no members). Look at existing rules like EmptyEnumRule for reference. The AST for an extension is represented by the `ExtensionDecl` node; check its `members` array for any declarations. Consider edge cases such as extensions with attributes or conditional compilation blocks. Since the issue has an assignee, coordinate with them before starting work.
Detect redundant extensions · realm/SwiftLint#5359 | Good First Issue