Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

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

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Checks for messages to have a camel case message id.

latest
npmnpm
Version
1.1.8
Version published
Maintainers
2
Created
Source

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

FAQs

Package last updated on 03 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts