@inlang/message-lint-rule-without-source

1.4.5 • Public • Published

What does this rule do?

Checks for likely outdated messages. A message with a missing source is usually an indication that the message (id) is no longer used in source code, but messages have not been updated accordingly.

Manual setup

Besides installing the lint rule through manage.inlang.com you could also configure it manually.

Settings

Type:

type MessageLintRuleLevel = "error" | "warning"

Example in the settings.json:

{
    // other configuration
    "messageLintRuleLevels": {
		"messageLintRule.inlang.messageWithoutSource": "error",
	}
}

The default level is warning

Readme

Keywords

none

Package Sidebar

Install

npm i @inlang/message-lint-rule-without-source

Weekly Downloads

918

Version

1.4.5

License

none

Unpacked Size

3.22 kB

Total Files

4

Last publish

Collaborators

  • inlangbot
  • samuelstroschein