-
Notifications
You must be signed in to change notification settings - Fork 400
UseConsistentIndentation behavior for doubled brackets #1905
God-damnit-all
started this conversation in
General
-
While I really like what this rule does for the most part, one of its behaviors does annoy me. I tend to use &{process{
or .{process{
instead of ForEach-Object {
because it's a lot faster, and the call operator &
can give it it's own scope if I want.
However, in analyzing the following code...
$foo | &{process{ bar $_ }}
PSUseConsistentIndentation wants to change it to:
$foo | &{process{ bar $_ }}
Is there any way I can modify this behavior? If I submitted a feature request to create a setting to suppress this behavior (not that I even know what the setting would be called) would it even be accepted?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment