You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,6 +86,13 @@ npm i -D @rxts/eslint-plugin-mdx
86
86
}
87
87
```
88
88
89
+
## Limitations
90
+
91
+
1. This parser/plugin can only handle ES syntaxes for you, markdown related syntaxes will just be ignored, you can use [markdownlint](https://github.com/markdownlint/markdownlint) to lint that part.
92
+
93
+
2.`MDX` can render `jsx` block automatically without exporting them, but `eslint` will report `no-unused-expressions` issue which could be unexpected, so you may need to disable this rule for `*.mdx`.
94
+
I'm not going to disable this rule in the recommended config, because I'm going to add a custom `mdx/no-unused-expressions` rule to replace the incompatible one, which should not affect the `jsx` codes.
95
+
89
96
## Changelog
90
97
91
98
Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
0 commit comments