Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Stop the Prettier extension - from reformatting my code - into a single line?

How do I get - the Prettier extension - to stop reformatting my code into a single line - in VS Code?

my code:

const SeriesListItem = ({ series }) => (
    <li>
        {series.show.name}
    </li>
);

my code - after Prettier:

const SeriesListItem = ({ series }) => <li>{series.show.name}</li>;

Comments