Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWorkaround PSSA #1187 by defaulting to NoIndentation #1816
Conversation
|
LGTM |
|
Thanks, I was about to do this today but you were faster |
|
Just to give a bit of background in case some people are concerned:
Concluding, it was unfortunate that this happened but at least with this we can protect the user's from it without any noticeable, negative impact, which shows that configurable settings or flags can really be helpful. Unfortunately there are many different cases and unfortunately some special ones are only found once it is in the wild. I hope that in the future, PSSA publishes preview releases (this is not entirely in my hand) and that user's are understandable, the feedback from users is very valuable though and we try to be as response as possible (in 1.17, a patch to the signing problem and a reported NullReferenceException was released only a few days later) |
|
Thanks for the detail @bergmeister |
PR Summary
cc @bergmeister See PowerShell/PSScriptAnalyzer#1187 for more information.
v1.18.0 of PSSA introduced a regression. This changes the default behavior back to what v1.17 did while that is being addressed.
I will cherry pick this back to legacy once this is merged in.
PR Checklist
Note: Tick the boxes below that apply to this pull request by putting an
xbetween the square brackets.Please mark anything not applicable to this PR
NA.WIP:to the beginning of the title and remove the prefix when the PR is ready