Skip to content

Commit 7196f9f

Browse files
committed
ci(docs): Disable eslint rule for unescaped entities
eslint-plugin-react is emitting a lot of react/no-unescaped-entities errors in mdx files, primarily due to apostrophes. It seems not ideal to have to escape every apostrophe in all mdx text, so this commit disables the check. There might be a better way to handle this issue, but I am not aware of one right now.
1 parent fa91648 commit 7196f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
sourceType: "module",
2121
},
2222
plugins: ["react"],
23-
rules: {},
23+
rules: { "react/no-unescaped-entities": "off" },
2424
settings: {
2525
react: {
2626
version: "detect",

0 commit comments

Comments
 (0)