You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing rule names will be a breaking change and so I think the other approach, i.e., to change the doc file names to correspond to that of rule names, is more appropriate here. Thanks for pointing out the discrepancy.
The .MD file names in https://github.com/PowerShell/PSScriptAnalyzer/tree/development/RuleDocumentation do not match the rule names, even when you delete the PS prefix.
This error affects the following rules:
AvoidUsingCmdletAliases
AvoidDefaultValueSwitchParameter
AvoidDefaultValueForMandatoryParameter
AvoidUsingEmptyCatchBlock
ReservedCmdletChar
ReservedParams
AvoidUsingUserNameAndPassWordParams
MisleadingBacktick
ShouldProcess
UseUTF8EncodingForHelpFile
DSCDscExamplesPresent
DSCDscTestsPresent
DSCReturnCorrectTypesForDSCFunctions
DSCUseIdenticalMandatoryParametersForDSC
DSCUseIdenticalParametersForDSC
DSCStandardDSCFunctionsInResource
DSCUseVerboseMessageInDSCResource
I'm trying to write a function that opens these files based on the rule name, but it won't work unless the rule names are correct.
So, we either need to change the doc names to match the rules or change the rule names to match the docs.
The text was updated successfully, but these errors were encountered: