Skip to content

Commit

Permalink
Add support for mdx as an allowed extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 9, 2024
1 parent 507cb2f commit 7913ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -84,7 +84,7 @@ const remarkPresetWooorm = /** @type {const} */ ({
[remarkLintEmphasisMarker, '*'],
remarkLintFencedCodeFlag,
[remarkLintFencedCodeMarker, '`'],
[remarkLintFileExtension, 'md'],
[remarkLintFileExtension, ['md', 'mdx']],
remarkLintFinalDefinition,
remarkLintFirstHeadingLevel,
[remarkLintHeadingStyle, 'atx'],
Expand Down

0 comments on commit 7913ae2

Please sign in to comment.