Skip to content

unused messages lix validation validation rule #4033

@samuelstroschein

Description

@samuelstroschein

Discussed in https://github.com/opral/monorepo/discussions/1961

Originally posted by samuelstroschein January 2, 2024

Context

Over time messages became stale and are not used in source code anymore. No mechanism exists at the moment that "lints" unused messages that can safely be deleted. The result is an evergrowing amount of messages that translators are supposed to translate even though some or many messages aren't used.

Proposal

Introduce an "unused message" lint rule.

The lint rule parses the source code and searches for message references (similar/identical to the ide extensions message reference matchers)

Requirements

https://github.com/opral/monorepo/discussions/2126

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