Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt

Use this file to discover all available pages before exploring further.

ember-template-lint is a linter for Ember and Glimmer Handlebars (.hbs) template files. It checks for accessibility violations, deprecated patterns, template anti-patterns, and style issues in Ember.js and Glimmer templates.

Files

ember-template-lint considers files with the following extensions:
  • .hbs

Project detection

CodeRabbit runs ember-template-lint only when changed .hbs files appear to belong to an Ember project. A pull request is treated as Ember-related when at least one of these signals is present:
  • A changed .hbs file is under a standard Ember template or component path, such as app/templates/, app/components/, addon/templates/, addon/components/, or tests/dummy/app/.
  • The repository contains an Ember project marker, such as .ember-cli, ember-cli-build.js, ember-cli-build.cjs, or ember-cli-build.mjs.
  • A nearby package.json or the repository-root package.json includes Ember dependencies, such as packages named ember, ember-*, or @ember/*.
This avoids running ember-template-lint on unrelated Handlebars files, such as generator templates, when the repository does not contain Ember project signals.

Configuration

ember-template-lint reads its configuration from your repository automatically. Supported config files include:
  • .template-lintrc.js
  • .template-lintrc.cjs
  • .template-lintrc.mjs
  • .template-lintrc.json
  • .template-lintrc.yaml
  • .template-lintrc.yml
If no config file is found, ember-template-lint runs with its default rule set. To enable or disable ember-template-lint, use your .coderabbit.yaml file or the CodeRabbit web UI:
.coderabbit.yaml
reviews:
  tools:
    emberTemplateLint:
      enabled: true

When CodeRabbit skips ember-template-lint

CodeRabbit skips ember-template-lint when:
  • No .hbs files are present in the pull request diff.
  • Changed .hbs files are not under standard Ember template paths and CodeRabbit cannot find Ember project markers or Ember dependencies nearby.
  • ember-template-lint is already running as a step in your CI pipeline (detected via GitHub Checks).

What’s next

All supported tools

Browse the complete list of linters, security analyzers, and CI/CD integrations available in CodeRabbit.

Tools reference

Explore detailed specifications and capabilities of all available CodeRabbit tools.

Configuration reference

Full reference for all available options, including how to enable, disable, and tune individual tools.