Sync docs changes from docs repo - #2196
Conversation
There was a problem hiding this comment.
Pull request overview
This PR syncs updated PSScriptAnalyzer documentation from the upstream docs repo, primarily refreshing built-in rule reference pages and cmdlet help pages. It also incorporates the docs change needed to address #2192/#2193 by documenting ParseError as an allowed -Severity value for Invoke-ScriptAnalyzer.
Changes:
- Refresh rule docs to a more consistent structure (default state, clearer descriptions, examples, and “Configure rule” sections).
- Update rules index (
docs/Rules/README.md) to a new “Default state” model and add link references for maintainability. - Update cmdlet docs (including adding
New-ScriptAnalyzerSettingsFileandTest-ScriptAnalyzerSettingsFileto the module landing page and documentingParseErrorseverity).
Reviewed changes
Copilot reviewed 85 out of 85 changed files in this pull request and generated 4 comments.
Show a summary per file
Comments suppressed due to low confidence (1)
docs/Rules/UseConsistentParametersKind.md:56
- The
Parameterssection documents onlyEnable, but the rule also supports aParametersKindoption. Without documenting it, users can't discover the setting or its valid values.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
Patrick Meinecke (@SeeminglyScience) We can skip the failed docs test for now. Please merge. |
14d0c4f to
6806e84
Compare
6806e84 to
d04cdc6
Compare
|
Patrick Meinecke (@SeeminglyScience) The docs tests pass now. This latest failure was in an existing test that has passed on previous runs. I think this is a transient problem. |
|
Close/reopen |

Sync docs changes from docs repo
Invoke-ScriptAnalyzerdocs #2193 - Duplicate PR