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.
This commit is contained in:
Cem Aksoylar 2024-01-12 23:16:22 -08:00
parent fa91648cce
commit 7196f9f075

View File

@ -20,7 +20,7 @@ module.exports = {
sourceType: "module",
},
plugins: ["react"],
rules: {},
rules: { "react/no-unescaped-entities": "off" },
settings: {
react: {
version: "detect",