💼 This rule is enabled in the 📋 template-lint-migration config.
Disallow positional params in LinkTo component
Positional parameters in <LinkTo> components are deprecated. Use named arguments instead.
Examples of incorrect code for this rule:
<template>
{{! Old positional params style }}
<LinkTo "posts.post" @model={{this.post}}>Post</LinkTo>
</template>Examples of correct code for this rule:
<template>
<LinkTo @route="posts.post" @model={{this.post}}>Post</LinkTo>
</template><template>
<LinkTo @route="index">Home</LinkTo>
</template>