I want a white space after a comma. But whenever I save the code, prettier removes the comma and white space. Is there any way to prevent prettier from removing white space ?
Expected code: tl.to('li', { opacity: 1, stagger: 1 }, );
Code I get after saving: tl.to('li', { opacity: 1, stagger: 1 });
try adding prettier-ignore comment like below.