PowerShell / DscResource.Tests

Common meta tests for PowerShell DSC resources repositories.
MIT License
51 stars 49 forks source link

Add Improvements from PSSA 1.18 #315

Open PlagueHO opened 5 years ago

PlagueHO commented 5 years ago

PSSA 1.18 includes many improvements that might help DSC Resource kit.

The PSUseConsistentWhitespace could be used here and in the template to reduce PR comments.

The PSUseConsistentIndentation could also prove useful.

And finally the changes to DSC handling call also serve to simplify.

This is mainly just a place holder issue.

https://devblogs.microsoft.com/powershell/powershell-scriptanalyzer-version-1-18-0-released/

SSvilen commented 5 years ago

@johlju @PlagueHO

Once the new version of PSSA is out and the problem with ConsistentWhiteSpace is no longer present, I could turn these on and additionally revert the empty hashtable formatting check. (PR #353 )