outline | breadcrumbs | status | |||
---|---|---|---|---|---|
|
|
released |
According to our naming conventions, to easily distinguish entity names from element names we recommend starting elements with a lowercase letter, which this rule ensures.
In the following example, the rule is satisfied because the element name title
starts with a lowercase letter:
::: code-group <<< ../examples/start-elements-lowercase/correct/db/schema.cds#snippet{cds:line-numbers} [db/schema.cds] :::
In the next example, the rule will report a warning, because the element name Title
starts with an uppercase letter:
::: code-group <<< ../examples/start-elements-lowercase/incorrect/db/schema.cds#snippet{ts:line-numbers} [db/schema.cds] :::
This rule was introduced in @sap/eslint-plugin-cds 1.0.4
.