what's adding the semicolons?

I can't seem to find the reason of all the semicolons being added everywhere in the freshly created t3-app. I've even added semi: false into the prettier.config.cjs file. Any clue of what's adding those semicolons, and how I can disable them? Thanks
4 Replies
Lopen
Lopen16mo ago
Why will u want to do that?
vgnxjhd
vgnxjhd16mo ago
Why wouldn't I want to do that? I do not write multiple statements per line, do you? Apart from the fact that it's unpleasant to the eye (personal preference), I want to understand what configuration is adding those semis. Because it's neither my IDE nor prettier
Dylz
Dylz16mo ago
Set prettier to run on save. And if configured correctly it will remove all semicolons. If prettier is formatting on save but still has semicolons it’s probably some sort of configuration issue
Nate
Nate16mo ago
if you’re in vscode using the prettier extension, you can go to the output tab and on the drop-down select prettier. this will tell you which prettier is running (i.e. if you have prettier installed globally and in your project dir, it could be using the wrong one), and it will tell you which prettier config it’s using also if prettier isn’t set as the ts/tsx formatter in settings.json
Want results from more Discord servers?
Add your server