From 1999256809a98db5ce8900fe75732a3375e9306c Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Fri, 3 Mar 2023 09:17:11 -0800 Subject: [PATCH] Revert `mermaid_config.js` `prettier-ignore` comment (#1189) I introduced a bug in #1172 --- there's an implicit requirement that the line in `mermaid_config.js` has either an expression or the start of a code block; a comment (and then a newline) is invalid. (to maintain the ignore behaviour, I've instead moved it to the `.prettierignore`) This one's on me -- I hadn't realized that the `prettier-ignore` affected this file. Given the relative urgency of this, going to merge this in. Closes #1188. --- .prettierignore | 1 + _includes/mermaid_config.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 973b2b8..6ac9c86 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,3 +8,4 @@ assets/js/search-data.json assets/js/zzzz-search-data.json assets/js/just-the-docs.js *.md +_includes/mermaid_config.js diff --git a/_includes/mermaid_config.js b/_includes/mermaid_config.js index 1515bdb..0967ef4 100644 --- a/_includes/mermaid_config.js +++ b/_includes/mermaid_config.js @@ -1,2 +1 @@ -// prettier-ignore {}