Skip to content

Commit

Permalink
ci(docs): Disable eslint rule for unescaped entities
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
caksoylar committed Jan 21, 2024
1 parent fa91648 commit 7196f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
sourceType: "module",
},
plugins: ["react"],
rules: {},
rules: { "react/no-unescaped-entities": "off" },
settings: {
react: {
version: "detect",
Expand Down

0 comments on commit 7196f9f

Please sign in to comment.