1.1.8 • Published 1 year ago

@inlang/message-lint-rule-snake-case-id v1.1.8

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

What does this rule do?

Checks for messages to have a snake case message id.

Having the message id's in snake 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.snakeCaseId": "error",
	}
}

The default level is warning

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.0

2 years ago