-
Notifications
You must be signed in to change notification settings - Fork 511
Workaround PSSA #1187 by defaulting to NoIndentation #1816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround PSSA #1187 by defaulting to NoIndentation #1816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
x
between 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