@inlang/message-lint-rule-camel-case-id

@inlang/message-lint-rule-camel-case-id JS library on npm Download @inlang/message-lint-rule-camel-case-id JS library

Checks for messages to have a camel case message id.

Version 1.1.8
@inlang/message-lint-rule-camel-case-id has no homepage
@inlang/message-lint-rule-camel-case-id JS library on GitHub
@inlang/message-lint-rule-camel-case-id JS library on npm
Download @inlang/message-lint-rule-camel-case-id JS library

What does this rule do?

Checks for messages to have a camel case message id.

Having the message id's in camel case format is beneficial because it allows for easier integration with other tools and libraries, like @inlang/paraglide-js.

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

The default level is warning