Lombiq/Infrastructure-Scripts

Code quality and cleanliness changes according to Lombiq's PowerShell conventions (INFRA-128)

Opened this issue · 0 comments

Starting from @DAud-IcI's feedback under #5, several code styling patterns in older scripts/modules need to be brought up to par with our conventions, e.g.:

  1. HelpMessages should concise and descriptive.
  2. Unnecessary parenthesis around the input of throw and Write-Warning/Error commands.
  3. Multi-line strings should use the "Binary -join operator" format, see: Lombiq/GitHub-Actions#179 (comment)
  4. Parameter splatting instead of backtick and line breaks. Fixed in #10.

Jira issue