From 2634313cfd0111c6f87ea3359953af4e9868c9bb Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 4 Nov 2020 15:42:13 +0100 Subject: [PATCH] template-lint: Enable `a11y` preset --- .template-lintrc.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.template-lintrc.js b/.template-lintrc.js index 3b0b9af953b..e1d039bdb53 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -1,5 +1,14 @@ 'use strict'; module.exports = { - extends: 'octane', + extends: ['octane', 'a11y'], + + pending: [ + { moduleId: 'app/components/email-input', only: ['require-input-label'] }, + { moduleId: 'app/components/header', only: ['no-duplicate-landmark-elements'] }, + // see https://github.com/ember-template-lint/ember-template-lint/issues/1604 + { moduleId: 'app/components/pagination', only: ['no-invalid-link-title'] }, + { moduleId: 'app/templates/catch-all', only: ['require-input-label'] }, + { moduleId: 'app/components/settings/api-tokens', only: ['require-input-label'] }, + ], };