Skip to content

False positive: skip_public does not apply to interfaces in public extension scope #57

@tackgyu

Description

@tackgyu

With skip_public rule enabled (which already is by default),

This case is detected as unused.

public extension NSParagraphStyle {
    static var level1: NSParagraphStyle { ... }
}

This one is not.

extension NSParagraphStyle {
    public static var level1: NSParagraphStyle { ... }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions