Skip to content

Commit b7fa101

Browse files
committed
SearchForm: Disable no-autofocus-attribute template-lint rule
1 parent c55eca2 commit b7fa101

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/components/search-form.hbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
>
1313
{{! template-lint-disable require-input-label}}
1414
{{! disabled due to https://github.com/ember-template-lint/ember-template-lint/issues/2141 }}
15+
16+
{{! template-lint-disable no-autofocus-attribute}}
17+
{{! disabled because this is a "form field that serves as the main purpose of the page" }}
18+
{{! see https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-autofocus-attribute.md }}
19+
1520
<input
1621
type="text"
1722
local-class="input-lg"

0 commit comments

Comments
 (0)