-
Notifications
You must be signed in to change notification settings - Fork 395
CodeFormattingOTBS settings preset always fails due to conflicting rules #1556
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
Comments
This looks like a duplicate of #769, would you agree? |
I'd agree that it is a duplicate. But, I'd also pose 2 question to the maintaining team.
|
@RylandDeGregory please feel free to provide a PR to address this issue. |
|
This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes. |
Steps to reproduce
Note that
PSAlignAssignmentStatement
rule throws a Warning.Correct error by aligning assignment statements.
Expected behavior
No errors.
Actual behavior
PSUseConsistentWhitespace
throws an error due to the multiple spaces before the assignment operator=
.This also happens when using the
-Fix
parameter ofInvoke-ScriptAnalyzer
. It will simply switch back and forth between the two errors each time you execute the command with-Fix
.Environment data
MacOS Catalina 10.15.5
The text was updated successfully, but these errors were encountered: