diff --git a/README.md b/README.md index dafcfd0640..fd236a6103 100644 --- a/README.md +++ b/README.md @@ -463,6 +463,7 @@ To disable a rule for an entire `.gjs`/`.gts` file, use a regular ESLint file-le | Name | Description | 💼 | 🔧 | 💡 | | :------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------- | :- | :- | :- | +| [template-no-duplicate-form-names](docs/rules/template-no-duplicate-form-names.md) | disallow duplicate form control names within the same form | | | | | [template-no-extra-mut-helper-argument](docs/rules/template-no-extra-mut-helper-argument.md) | disallow passing more than one argument to the mut helper | 📋 | | | | [template-no-jsx-attributes](docs/rules/template-no-jsx-attributes.md) | disallow JSX-style camelCase attributes | | 🔧 | | | [template-no-scope-outside-table-headings](docs/rules/template-no-scope-outside-table-headings.md) | disallow scope attribute outside th elements | 📋 | | | diff --git a/docs/rules/template-no-duplicate-form-names.md b/docs/rules/template-no-duplicate-form-names.md new file mode 100644 index 0000000000..83672f42be --- /dev/null +++ b/docs/rules/template-no-duplicate-form-names.md @@ -0,0 +1,82 @@ +# ember/template-no-duplicate-form-names + + + +This rule disallows two form controls sharing the same `name` attribute +within the same `