RFC: Change Pipeline Indentation Style default from NoIndentation
to IncreaseIndentationForFirstPipeline
#4296
Labels
NoIndentation
to IncreaseIndentationForFirstPipeline
#4296
Prerequisites
Summary
I've discovered that our default value to configure PSScriptAnalyzer's
PipelineIndentation
setting isNoIndentation
, which differs from PSSA's own default (and arguably more popular) ofIncreaseIndentationForFirstPipeline
. This was last updated in May 2020 via #2698 which alludes to a bug in PSSA that I hope is since fixed.@bergmeister in particular, what do you think?
Proposed Design
Just update the default in
package.json
toIncreaseIndentationForFirstPipeline
. While I think this is a very desirable behavior, it would come at the cost of user-facing change that would affect formatting of scripts. So the question is, have the vast majority of people already overridden it withIncreaseIndentationForFirstPipeline
?Further RFC: Should we do a just an overhaul of all our default code formatting settings to match PSSA's defaults?
The text was updated successfully, but these errors were encountered: