chore(deps): update dependency styler to v1.3.3 #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.1
->1.3.3
Release Notes
adobe/elixir-styler (styler)
v1.3.3
Compare Source
Improvements
with do: body
and variations with no arrows in the head will be rewritten to justbody
# styler:sort
will sort arbitrary ast nodes within ado end
block:Given:
styler:sort
styler:sort
Fixes
# styler:sort
directives are added to a file at the same timev1.3.2
Compare Source
Improvements
# styler:sort
can be used to sort values of key-value pairs. eg, sort the value of a single key in a map (Closes #208, h/t @ypconstante)v1.3.1
Compare Source
Improvements
# styler:sort
now works with maps and thedefstruct
macroFixes
# styler:sort
no longer blows up on keyword lists :XFixes
v1.3.0
Compare Source
Improvements
# styler:sort
Styler's first comment directiveStyler will now keep a user-designated list or wordlist (
~w
sigil) sorted as part of formatting via the use of comments. Elements of the list are sorted by their string representation.The intention is to remove comments to humans, like
# Please keep this list sorted!
, in favor of comments to robots:# styler:sort
. Personally speaking, Styler is much better at alphabetical-order than I ever will be.To use the new directive, put it on the line before a list or wordlist.
This example:
v1.2.1
Compare Source
Fixes
|>
don't pipify when the call is itself in a pipe (aka don't toucha |> b(c |> d() |>e()) |> f()
) (Closes #204, h/t @paulswartz)v1.2.0
Compare Source
Improvements
pipes
: pipe-ifies when first arg to a function is a pipe. reach out if this happens in unstylish places in your code (Closes #133)pipes
: unpiping assignments will make the assignment one-line when possible (Closes #181)deprecations
: 1.18 deprecationsList.zip
=>Enum.zip
first..last = range
=>first..last//_ = range
Fixes
pipes
: optimizations are less likely to move comments (Closes #176)v1.1.2
Compare Source
Improvements
Configuration
📅 Schedule: Branch creation - "before 7am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.