ember-template-lint is a linter for Ember and Glimmer Handlebars (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.
.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
.hbsfile is under a standard Ember template or component path, such asapp/templates/,app/components/,addon/templates/,addon/components/, ortests/dummy/app/. - The repository contains an Ember project marker, such as
.ember-cli,ember-cli-build.js,ember-cli-build.cjs, orember-cli-build.mjs. - A nearby
package.jsonor the repository-rootpackage.jsonincludes Ember dependencies, such as packages namedember,ember-*, or@ember/*.
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
.coderabbit.yaml file or the CodeRabbit web UI:
- .coderabbit.yaml
- Web UI
.coderabbit.yaml
When CodeRabbit skips ember-template-lint
CodeRabbit skips ember-template-lint when:- No
.hbsfiles are present in the pull request diff. - Changed
.hbsfiles 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.