Skip to content

Maintenance: detect dead code on CI via periphery #1342

@nikitabobko

Description

@nikitabobko

https://github.com/peripheryapp/periphery

diagnostics can be ignored via:

// periphery:ignore
class MyClass {}

// periphery:ignore:parameters unusedOne,unusedTwo
func someFunc(used: String, unusedOne: String, unusedTwo: String) {
    print(used)
}

https://github.com/peripheryapp/periphery?tab=readme-ov-file#comment-commands

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions