# ember/template-no-duplicate-id 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). Valid HTML requires that `id` attribute values are unique. This rule does a basic check to ensure that `id` attribute values are not the same. ## Examples This rule **forbids** the following: ```gjs ``` This rule **allows** the following: ```gjs ``` ```gjs ``` ```gjs ``` ## Migration For best results, it is recommended to generate `id` attribute values when they are needed, to ensure that they are not duplicates. ## References -