Skip to content

Commit

Permalink
chore: ignore annotation files from prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Mar 11, 2019
1 parent 6fc5590 commit 1ec58f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion packages/edition-twig/source/_annotations/annotations.js
Original file line number Diff line number Diff line change
@@ -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."
}
]
}

0 comments on commit 1ec58f4

Please sign in to comment.