-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fantomas update #15847
Fantomas update #15847
Conversation
Mmh, does someone know why Azure DevOps can't find 6.1.2?
Edit: |
I would like to ask you to postpone fantomas upgrade until we merge big nullness PR, otherwise it will be a merge nightmare. |
Yes, sure. |
No, it's not too long. Thanks for this. We'll do that :) |
Nice to read that, thanks. I'll try to keep it in sync. |
As some time has passed now, is there any update on this @vzarytovskii? |
It is. And will be for some time. Any non-functional (stylistic) change will make it much harder for merging. Fantomas can be updated and applied at any point and not a necessary update. So, I'd still like to ask to postpone the update. |
I don't know if I really buy that, to be honest. And if the PR formats the code with the same version as on the main I would expect untouched code to remain untouched afterwards. |
Alright, gonna update it if you insist. @T-Gro I will take care of merging main to nullables pr, but might need some help with metadata emitting part if I will get stuck |
Thanks, I merely want to challenge you a little bit about the waiting part. Give it a shot, if you are ten minutes in and it appears a sh*tshow then just don't do it. But then at least we know, and that settles it. |
4c1bd65
to
d5c082c
Compare
This updates the Fantomas tool from 5.0.3 to 6.1.2
As a result, the codebase is much more in line with the community style guide.
Yes, there will be some pain but it's one of these the-longer-we-wait-the-worse-it-gets things.
One could argue, we already waited too long.
Most of the changes are about single space changes, so I'd say it's not all that bad.
A lot of bugs were fixed since 5.0.3, so we could remove some files from
.fantomasignore
.But to keep this PR as small as possible, this is not yet done.
A big win will be the parallel processing we have since 6.0, thanks to @TheAngryByrd
Locally I'm seeing a speedup > 2x:
dotnet fantomas . --check
going down from ~15s to ~7s.Best of all, we now have this enjoyable colourful output 😉
If you're interested in all the changes:
Here's our upgrage guide
Here are our releases