-
Notifications
You must be signed in to change notification settings - Fork 2
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
Augment a given project's :acceptable-aliases-whitelist
with the aliases it already uses
#205
Conversation
:acceptable-aliases-whitelist
with the aliases it already uses
Bumped refactor-nrepl again, which now has :as-alias support for clj 1.11. |
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 for this one 🚀
Some minor comments, addressable at your own discretion
{} {'a ['b]} {'a ['b]} | ||
{'a ['b]} {'a ['c]} {'a (matchers/in-any-order ['b 'c])} | ||
{'a ['b]} {'a ['b]} {'a ['b]} | ||
{'a ['b 'c] 'd ['e 'f]} {'a ['g 'h] 'd ['i 'j]} {'a (matchers/in-any-order ['b 'c 'g 'h]) |
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.
I suppose we could've quoted the enitre maps too insetad of every symbol; but this works too 😄
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.
I guess I don't like that one can turn {'a
into '{a
opportunistically.
An homogeneous pattern is simpler to compare visually/cognitively, else it might not be clear that you're comparing stuff of the same kind
Cheers ☕️☕️ |
Ready again! |
Brief
Fixes #204. The tldr is:
Needs refactor-nrepl latest (see) but degrades gracefully.
QA plan
This can be further verified by inspecting the
formatting-stack.defaults/default-linters
object, which will have a larger:acceptable-aliases-whitelist
map.Author checklist
Reviewer checklist