Disabling Quotations in ES Lint
Answered
WhyFencePost posted this in #help-forum
I am writing a documentation site, and it sometimes uses quotes in the text. This is always in <p> tags, but it is also always flaged by es lint and refuses to build. Is there any way to disable the check for quotes in thise case. There is an article, but it has a different eslint file, i have a .json one which means I have no idea how to disable this rule.
16 Replies
Something like unexpected token “ replace with " but like I don’t want to right that every time
Black Turnstone
"react/no-unescaped-entities"
This is the eslint rule you are looking for
ngl for a docs site you should be using markdown
@!=tgt ngl for a docs site you should be using markdown
Black Turnstone
yes you can use mdx it works great
@!=tgt ngl for a docs site you should be using markdown
Yea I should be but it’s not doc’s, it’s an interactive tutorial
<p>
{`
so like "quotes" will not throw an error here
`}
</p>
Answer
K great thanks
if you got a solution mark it as the answer
how lol