Help with prettier

Hi guys. I’ve been using prettier for 1 month and everything is fine. However, I have a code that when I write it, Prettier formats it in a different way and when I go to validate the code, it throws me a “slash and tray” error, any suggestions?

its seems like your code dont have any problem just keep going man