Skip to content

Commit 1999256

Browse files
authored
Revert mermaid_config.js prettier-ignore comment (just-the-docs#1189)
I introduced a bug in just-the-docs#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 just-the-docs#1188.
1 parent 6a55d05 commit 1999256

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ assets/js/search-data.json
88
assets/js/zzzz-search-data.json
99
assets/js/just-the-docs.js
1010
*.md
11+
_includes/mermaid_config.js

_includes/mermaid_config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// prettier-ignore
21
{}

0 commit comments

Comments
 (0)