UseConsistentIndentation behavior for doubled brackets #1905
God-damnit-all
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 ofForEach-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...
PSUseConsistentIndentation wants to change it to:
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