ember/template-no-capital-arguments

April 20, 2026 ยท View on GitHub

๐Ÿ’ผ This rule is enabled in the ๐Ÿ“‹ template-lint-migration config.

Disallow capital letters in argument names. Use lowercase argument names (e.g., @arg instead of @Arg).

Rule Details

This rule enforces the convention that argument names should start with lowercase letters.

Examples

Examples of incorrect code for this rule:

<template>
  <div>{{@Arg}}</div>
</template>
<template>
  <div>{{@MyArgument}}</div>
</template>

Examples of correct code for this rule:

<template>
  <div>{{@arg}}</div>
</template>
<template>
  <div>{{@myArgument}}</div>
</template>

References