Skip to content

Commit 4267cae

Browse files
committed
Ordered list
1 parent 0d37d1f commit 4267cae

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

CustomizedRuleDocumentation.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ This documentation serves as a basic guideline on how to define customized rules
1717
.NOTES
1818
#>
1919
```
20-
2120
2. Output type should be DiagnosticRecord:
2221
[OutputType([Microsoft.Windows.Powershell.ScriptAnalyzer.Generic.DiagnosticRecord[]])]
23-
2422
3. Make sure each function takes either a Token or an Ast as a parameter
2523
```
2624
Param
@@ -31,7 +29,6 @@ Param
3129
$testAst
3230
)
3331
```
34-
3532
4. DiagnosticRecord should have four properties: Message, Extent, RuleName and Severity
3633
```
3734
$result = [Microsoft.Windows.Powershell.ScriptAnalyzer.Generic.DiagnosticRecord[]]@{"Message" = "This is a sample rule";

0 commit comments

Comments
 (0)