From 89d3b6653508b56a7c3ee18a4ca798f4911a820b Mon Sep 17 00:00:00 2001 From: dotnvo Date: Mon, 1 May 2023 18:02:33 -0400 Subject: [PATCH] Codeblock array should use single quotes Super minor, but the TargetVersions array inside of the hashtable should use single quotes for constant strings. Given the docs actually have a section on using single quotes for constant strings, I figured it was probably appropriate to submit a small PR for this :). --- .../PSScriptAnalyzer/Rules/UseCompatibleSyntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md b/reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md index 5a98ea3..ce93d26 100644 --- a/reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md +++ b/reference/docs-conceptual/PSScriptAnalyzer/Rules/UseCompatibleSyntax.md @@ -22,9 +22,9 @@ PowerShell versions because they aren't able to parse the incompatible syntaxes. PSUseCompatibleSyntax = @{ Enable = $true TargetVersions = @( - "6.0", - "5.1", - "4.0" + '6.0', + '5.1', + '4.0' ) } }