Skip to content
Merged
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
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"PSScriptAnalyzer": {
"Version": "1.20.0"
"Version": "1.21.0"
},
"Plaster": {
"Version": "1.1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public CodeFormattingSettings(CodeFormattingSettings codeFormattingSettings)

public bool AddWhitespaceAroundPipe { get; set; }
public bool AutoCorrectAliases { get; set; }
public bool AvoidSemicolonsAsLineTerminators { get; set; }
public bool UseConstantStrings { get; set; }
public CodeFormattingPreset Preset { get; set; }
public bool OpenBraceOnSameLine { get; set; }
Expand Down Expand Up @@ -312,6 +313,12 @@ private Hashtable GetCustomPSSASettingsHashtable(int tabSize, bool insertSpaces)
{ "Enable", UseConstantStrings }
}
},
{
"PSAvoidSemicolonsAsLineTerminators",
new Hashtable {
{ "Enable", AvoidSemicolonsAsLineTerminators }
}
},
};

if (AutoCorrectAliases)
Expand Down