Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 435 Bytes

no-duplicate-attributes.md

File metadata and controls

19 lines (12 loc) · 435 Bytes

no-duplicate-attributes

✅ The extends: 'recommended' property in a configuration file enables this rule.

This rule forbids multiple attributes passed to a Component, Helper, or an ElementNode with the same name.

Examples

This rule forbids the following:

{{employee-details name=name age=age name=name}}

This rule allows the following:

{{employee-details name=name age=age}}