Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.02 KB

modifier-name-case.md

File metadata and controls

30 lines (21 loc) · 1.02 KB

modifier-name-case

It is currently possible to invoke a modifier with multiple words in its name using camelCase: {{didInsert}} or using dasherized-case: {{did-insert}}. This means that you can potentially have a lot of inconsistency throughout your codebase.

This rule enforces that you will always use the dasherized-case form of the modifier invocation.

Examples

This rule forbids the following:

<div {{didInsert}}></div>

This rule allows the following:

<div {{did-insert}}></div>

References