-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
s/rewrites/rules and update scalafix version in the README #1905
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1905 +/- ##
======================================
Coverage 95.2% 95.2%
======================================
Files 248 248
Lines 4379 4379
Branches 118 118
======================================
Hits 4169 4169
Misses 210 210 Continue to review full report at Codecov.
|
🤔 mm tests don't seem to pass anymore, I'm investigating... |
ok, everything works correctly now. I also took the opportunity to use the new |
- ctx.replaceSymbols also renames - ctx.replaceSymbols also removes imports - Tree.is[Comma] instead of `.syntax == ","` - Tree.collectFirst/exists from contrib module. - tokenList.leading().takeWhile to strip leading whitespace
Refactor scalafix migration rewrite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gabro!
This a follow up of #1902, in which I forgot to:
rewrites
torules
(this made the github shorthand syntax fail)Sorry for the double PR!