Skip to content

Investigate linter rule not to rely on global singletons #2541

Open
@jribbink

Description

@jribbink

A footgun emerging with the new global context decoupling is that within the codebase it's very easy to mistakenly rely on global singletons (e.g. config(), currentUser()). A linter rule could potentially help prevent this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions