Merge pull request #143 from Icinga/bugfix/do-not-check-space-before-open-brace

Disable OnSameLine & don't check space before open brace
This commit is contained in:
Lord Hepipud 2020-11-05 15:21:10 +01:00 committed by GitHub
commit 54e583f139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@
}; };
PSPlaceOpenBrace = @{ PSPlaceOpenBrace = @{
Enable = $true Enable = $true
OnSameLine = $true OnSameLine = $false
NewLineAfter = $true NewLineAfter = $true
IgnoreOneLineBlock = $true IgnoreOneLineBlock = $true
}; };
@ -52,7 +52,7 @@
}; };
PSUseConsistentWhitespace = @{ PSUseConsistentWhitespace = @{
Enable = $true Enable = $true
CheckOpenBrace = $true CheckOpenBrace = $false
CheckOpenParen = $true CheckOpenParen = $true
CheckOperator = $false CheckOperator = $false
CheckSeparator = $true CheckSeparator = $true

View file

@ -25,6 +25,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
* [#130](https://github.com/Icinga/icinga-powershell-framework/issues/130) Fix crash while running services as background task to collect metrics over time by missing Performance Counter cache initialisation * [#130](https://github.com/Icinga/icinga-powershell-framework/issues/130) Fix crash while running services as background task to collect metrics over time by missing Performance Counter cache initialisation
* [#138](https://github.com/Icinga/icinga-powershell-framework/issues/138) Fixes possible value overflow on `Convert-Bytes` while converting from anything larger than MB to Bytes * [#138](https://github.com/Icinga/icinga-powershell-framework/issues/138) Fixes possible value overflow on `Convert-Bytes` while converting from anything larger than MB to Bytes
* [#140](https://github.com/Icinga/icinga-powershell-framework/issues/140) Fixes version fetching for not loaded modules during upgrades/plugin calls with `Get-IcingaPowerShellModuleVersion` * [#140](https://github.com/Icinga/icinga-powershell-framework/issues/140) Fixes version fetching for not loaded modules during upgrades/plugin calls with `Get-IcingaPowerShellModuleVersion`
* [#143](https://github.com/Icinga/icinga-powershell-framework/issues/143) Fixes the annoying hint from the analyzer to check space before open brace
## 1.2.0 (2020-08-28) ## 1.2.0 (2020-08-28)