Skip to content

False-positive unused package error #3930

@notJoon

Description

@notJoon

Description

There are cases where lint errors occur indicating something is unused even though it is actually being used.

I don't know the exact cause of the problem yet, but after examining the files where the error occurred, I've identified a pattern where this error tends to happen when the import is used in an init or callback function.

Related Issue

gnoswap-labs/gnoswap#547

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions