@inlang/message-lint-rule-empty-pattern

1.4.8 • Public • Published

What does this rule do?

Checks for empty pattern in a language tag. If a message exists in the reference resource but the pattern in a target resource is empty, it is likely that the message has not been translated yet.

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 project.inlang/settings.json:

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

The default level is warning

Readme

Keywords

none

Package Sidebar

Install

npm i @inlang/message-lint-rule-empty-pattern

Weekly Downloads

236

Version

1.4.8

License

none

Unpacked Size

3.55 kB

Total Files

4

Last publish

Collaborators

  • inlangbot
  • samuelstroschein