Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 685 Bytes

deprecated-inline-view-helper.md

File metadata and controls

37 lines (21 loc) · 685 Bytes

deprecated-inline-view-helper

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

In Ember 1.12, support for invoking the inline View helper was deprecated.

Examples

This rule forbids the following:

{{view 'this-is-bad'}}

{{view.also-bad}}

{{qux-qaz please=view.stop}}

{{#not-this please=view.stop}}{{/not-this}}

<div foo={{view.bar}}></div>

This rule allows the following:

{{this-is-better}}

{{qux-qaz this=good}}

{{#ok-this yay=nice}}{{/ok-this}}

<div foo={{bar}}></div>

References