Sync docs changes from docs repo by sdwheeler · Pull Request #2196 · PowerShell/PSScriptAnalyzer · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 147 additions & 32 deletions Tests/Documentation/RuleDocumentation.tests.ps1
3 changes: 2 additions & 1 deletion docs/Cmdlets/Invoke-Formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ schema: 2.0.0
# Invoke-Formatter

## SYNOPSIS

Formats a script text based on the input settings or default settings.

## SYNTAX
Expand Down Expand Up @@ -76,7 +77,7 @@ function foo
}
```

### EXAMPLE 3 - Format the input script text using the settings defined a `.psd1` file
### EXAMPLE 3 - Format the input script text using the settings defined in a `.psd1` file

```powershell
Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings /path/to/settings.psd1
Expand Down
77 changes: 43 additions & 34 deletions docs/Cmdlets/Invoke-ScriptAnalyzer.md
Loading
Loading