Prettier v8.1.0 out-of-the-box (no .prettierrc
files)
I am writing in .js
files. Prettier is adding semicolon after return statements. These are showing up in my development environment webpages.
--example
return (
<div className="not-found">
<h1>Oops...</h1>
<h2>That page cannot be found.</h2>
<p>
Go back to the
<Link href="/">
<a>Homepage</a>
</Link>
</p>
</div>
);
I have extensively researched this, and nobody else seems to be experiencing this issue (or at least writing about it on Google Search). Please note the amount of discussions I have had to filter through looking for this answer, but only to find people arguing about those whom use semicolons after every line and those who don't.
How do I fix this without disabling semicolon auto-insertion all-together?