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
This project provides [pre-commit](https://pre-commit.com/) hooks to lint and format PowerShell code, using the [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer/) static code checker.
5
+
This project provides [pre-commit](https://pre-commit.com/) hooks to lint and
The `psscriptanalyzer-check` hook performs checks on PowerShell code, based on [selected best practice rules](https://github.com/PowerShell/PSScriptAnalyzer/tree/master/docs/Rules). It supports the following options from the PSScriptAnalyzer function [`Invoke-ScriptAnalyzer`](https://learn.microsoft.com/en-us/powershell/module/psscriptanalyzer/invoke-scriptanalyzer):
48
+
The `psscriptanalyzer-check` hook performs checks on PowerShell code, based on
The `psscriptanalyzer-format` formats PowerShell code to a canonical format. It supports the following options from the PSScriptAnalyzer function [`Invoke-Formatter`](https://learn.microsoft.com/en-us/powershell/module/psscriptanalyzer/invoke-formatter) :
86
+
The `psscriptanalyzer-format` formats PowerShell code to a canonical format. It
87
+
supports the following options from the PSScriptAnalyzer function
0 commit comments