Skip to content

Commit 2114db7

Browse files
author
Kapil Borle
authored
Merge pull request #742 from PowerShell/kapilmb/update-rule-docs
Make rule doc filenames consistent with rule names
2 parents 9a420d1 + eef5c6a commit 2114db7

14 files changed

+26
-12
lines changed

RuleDocumentation/ProvideDefaultParameterValue.md renamed to RuleDocumentation/AvoidDefaultValueForMandatoryParameter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ProvideDefaultParameterValue
1+
# AvoidDefaultValueForMandatoryParameter
22

33
**Severity Level: Warning**
44

RuleDocumentation/AvoidDefaultTrueValueSwitchParameter.md renamed to RuleDocumentation/AvoidDefaultValueSwitchParameter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AvoidDefaultTrueValueSwitchParameter
1+
# AvoidDefaultValueSwitchParameter
22

33
**Severity Level: Warning**
44

RuleDocumentation/AvoidAlias.md renamed to RuleDocumentation/AvoidUsingCmdletAliases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AvoidAlias
1+
# AvoidUsingCmdletAliases
22

33
**Severity Level: Warning**
44

RuleDocumentation/AvoidEmptyCatchBlock.md renamed to RuleDocumentation/AvoidUsingEmptyCatchBlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AvoidEmptyCatchBlock
1+
# AvoidUsingEmptyCatchBlock
22

33
**Severity Level: Warning**
44

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# MisleadingBacktick
2+
3+
**Severity Level: Warning**
4+
5+
## Description
6+
7+
Checks that lines don't end with a backtick followed by whitespace.

RuleDocumentation/AvoidReservedCharInCmdlet.md renamed to RuleDocumentation/ReservedCmdletChar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AvoidReservedCharInCmdlet
1+
# ReservedCmdletChar
22

33
**Severity Level: Error**
44

RuleDocumentation/AvoidReservedParams.md renamed to RuleDocumentation/ReservedParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AvoidReservedParams
1+
# ReservedParams
22

33
**Severity Level: Error**
44

RuleDocumentation/ReturnCorrectTypeDSCFunctions.md renamed to RuleDocumentation/ReturnCorrectTypesForDSCFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ReturnCorrectTypeDSCFunctions
1+
# ReturnCorrectTypesForDSCFunctions
22

33
**Severity Level: Information**
44

RuleDocumentation/UseShouldProcessCorrectly.md renamed to RuleDocumentation/ShouldProcess.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UseShouldProcessCorrectly
1+
# ShouldProcess
22

33
**Severity Level: Warning**
44

RuleDocumentation/UseStandardDSCFunctionsInResource.md renamed to RuleDocumentation/StandardDSCFunctionsInResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UseStandardDSCFunctionsInResource
1+
# StandardDSCFunctionsInResource
22

33
**Severity Level: Error**
44

RuleDocumentation/UseIdenticalMandatoryParametersDSC.md renamed to RuleDocumentation/UseIdenticalMandatoryParametersForDSC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UseIdenticalMandatoryParametersDSC
1+
# UseIdenticalMandatoryParametersForDSC
22

33
**Severity Level: Error**
44

RuleDocumentation/UseIdenticalParametersDSC.md renamed to RuleDocumentation/UseIdenticalParametersForDSC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UseIdenticalParametersDSC
1+
# UseIdenticalParametersForDSC
22

33
**Severity Level: Error**
44

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# UseUTF8EncodingForHelpFile
2+
3+
**Severity Level: Warning**
4+
5+
## Description
6+
7+
Check if help file uses utf8 encoding

RuleDocumentation/ProvideVerboseMessage.md renamed to RuleDocumentation/UseVerboseMessageInDSCResource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ProvideVerboseMessage
1+
# UseVerboseMessageInDSCResource
22

33
**Severity Level: Information**
44

0 commit comments

Comments
 (0)