Skip to content

Commit 8d64751

Browse files
committed
fixup!
1 parent 91a19c0 commit 8d64751

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/site/pages/en/learn/modules/publishing-a-package.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ This is also almost identical to the [CJS source and dual distribution using an
426426
}
427427
```
428428

429-
💡 Using \[`"type": "module"`][^2] paired with the `.cjs` file extension (for commonjs files) yields best results. For more information on why, see [Down the rabbit-hole](#down-the-rabbit-hole) and [Gotchas](#gotchas) below.
429+
💡 Using `"type": "module"`[^2] paired with the `.cjs` file extension (for commonjs files) yields best results. For more information on why, see [Down the rabbit-hole](#down-the-rabbit-hole) and [Gotchas](#gotchas) below.
430430

431431
#### Publish both full CJS & ESM distributions
432432

packages/remark-lint/src/rules/yaml/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function yamlComments(tree, vfile) {
2828
const trimmed = node.value.trim();
2929

3030
// Consistency check for "<!-- " (space after open)
31-
if (!trimmed[HTML_COMMENT_OPEN.length + 1] === ' ') {
31+
if (trimmed[HTML_COMMENT_OPEN.length] !== ' ') {
3232
vfile.message("Expected ' ' after '<!--'", node);
3333
}
3434

0 commit comments

Comments
 (0)