From 1ec58f4ed62d01a8c43461fec44a714080f17fda Mon Sep 17 00:00:00 2001 From: Salem Ghoweri Date: Mon, 11 Mar 2019 14:36:51 -0400 Subject: [PATCH] chore: ignore annotation files from prettier --- .prettierignore | 1 + .../edition-twig/source/_annotations/annotations.js | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 81a5907aa..f25d454d3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,6 +8,7 @@ packages/core/scripts/api.handlebars packages/core/scripts/events.handlebars packages/core/test/files/annotations.js +packages/**/annotations.js **/uikit-workshop/src/js/**/* *.json *.md diff --git a/packages/edition-twig/source/_annotations/annotations.js b/packages/edition-twig/source/_annotations/annotations.js index f053ebf79..6ae3d7dc3 100755 --- a/packages/edition-twig/source/_annotations/annotations.js +++ b/packages/edition-twig/source/_annotations/annotations.js @@ -1 +1,9 @@ -module.exports = {}; +{ + "comments" : [ + { + "el": "header[role=banner]", + "title" : "Masthead", + "comment": "The main header of the site doesn't take up too much screen real estate in order to keep the focus on the core content. It's using a linear CSS gradient instead of a background image to give greater design flexibility and reduce HTTP requests." + } + ] +}