Summary of the new feature / enhancement
Summary
New-ModuleManifest generates .psd1 output with formatting that triggers PSScriptAnalyzer violations.
Steps to Reproduce
New-ModuleManifest -Path .\test.psd1 -FunctionsToExport 'FunctionA','FunctionB','FunctionC'
Invoke-ScriptAnalyzer -Path .\test.psd1 -IncludeRule PSAvoidTrailingWhitespace,PSUseConsistentIndentation
Actual Output
FunctionsToExport = 'FunctionA', 'FunctionB',
'FunctionC'
Expected Output
FunctionsToExport = 'FunctionA', 'FunctionB',
'FunctionC'
Issues
- Trailing whitespace is emitted on wrapped array lines (PSAvoidTrailingWhitespace).
- Continuation lines are column-aligned instead of consistently indented (PSUseConsistentIndentation).
Impact
Consumers must post-process generated manifests to satisfy standard PSScriptAnalyzer formatting rules.
Proposed technical implementation details (optional)
No response
Summary of the new feature / enhancement
Summary
New-ModuleManifestgenerates.psd1output with formatting that triggers PSScriptAnalyzer violations.Steps to Reproduce
Actual Output
Expected Output
Issues
Impact
Consumers must post-process generated manifests to satisfy standard PSScriptAnalyzer formatting rules.
Proposed technical implementation details (optional)
No response