From 24413e5a11a27b90ee954498bf88118039de4f56 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 4 Jul 2022 13:00:11 +0100 Subject: [PATCH] DEV: Enable `no-curly-component-invocation` lint rule This will ensure we invoke components consistently across our codebase --- .template-lintrc.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.template-lintrc.js b/.template-lintrc.js index 66890f87ba3..955a8d36d6f 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -49,5 +49,16 @@ module.exports = { "style-concatenation": true, "table-groups": true, "link-href-attributes": false, + "no-curly-component-invocation": { + allow: [ + // These are helpers, not components + "directory-item-header-title", + "directory-item-user-field-value", + "directory-item-value", + "directory-table-header-title", + "loading-spinner", + "mobile-directory-item-label", + ], + }, }, };