Skip to content

Conversation

@dummdidumm
Copy link
Member

Add semicolon or not depending on Prettier config
#1260

Doesn't work yet, for some reason TS does not care about us passing the setting in, may need to do a regex replacement.

@dummdidumm dummdidumm marked this pull request as ready for review December 3, 2021 16:39
@dummdidumm
Copy link
Member Author

Ready for review. @jasonlyu123 maybe you have any idea why TS ignores the settings in this case? If not, I would merge this if you think the solution is fine.

@dummdidumm dummdidumm merged commit d25b9dd into sveltejs:master Dec 8, 2021
@dummdidumm dummdidumm deleted the fix-oi-semi branch December 8, 2021 08:10
@janosh
Copy link
Contributor

janosh commented Dec 8, 2021

@dummdidumm Thanks for tackling this so quickly! The flashing semicolons are gone. I think the underlying issue remains though. The imports themselves still flash and (more annoyingly) every save adds to the files edit history. If I want to revert a change, I still have to click cmd + z twice. The first cmd + z always undoes the import sorting, even if all imports were already in sorted order.

@dummdidumm
Copy link
Member Author

I created #1269 to track this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants