1.0.8 • Published 1 year ago

@inlang/message-lint-rule-valid-js-identifier v1.0.8

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

What does this rule do?

Enforces that all message ids are valid JavaScript identifiers. It also excludes any reserved JS keywords. You can read more about valid JS identifiers here.

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.validJsIdentifier": "error",
	}
}

The default level is warning

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago