Skip to content

Bug: allowUnusedFunction should only allow top-level #2

@Raynos

Description

@Raynos

The allowUnusedFunction option should allow top-level unused functions.

Any unused functions allocated in a function, aka closures need to be checked.

Aka if are checking a top level function, then any inner functions need to be checked.
If we are skipping a top level function, then we can skip its inner functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions