From 7512a9114c5965cf638b0e73d5ec4e4fc192d208 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 22 Jun 2024 13:36:41 +0100 Subject: [PATCH] enhancement: Added missing POWERSHELL schema property (#3678) * Added missing powershell schema property * reordered --- CHANGELOG.md | 1 + .../schemas/megalinter-configuration.jsonschema.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f745b1f8a0d..4b8e6b4bd5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - [Powershell](https://github.com/PowerShell/PSScriptAnalyzer#readme) Error table truncation improvements - [yamllint](https://github.com/adrienverge/yamllint) fix error/warning count to work with different log output formats - Improve support for single argument in `get_list_args` function + - [Powershell](https://github.com/PowerShell/PSScriptAnalyzer#readme) added missing schema property `POWERSHELL_POWERSHELL_FORMATTER_OUTPUT_ENCODING` - Doc diff --git a/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json b/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json index 6ab30919f1a..6855bad36a9 100644 --- a/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json +++ b/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json @@ -13149,6 +13149,13 @@ "title": "POWERSHELL_POWERSHELL_FORMATTER: Including Regex", "type": "string" }, + "POWERSHELL_POWERSHELL_FORMATTER_OUTPUT_ENCODING": { + "$id": "#/properties/POWERSHELL_POWERSHELL_FORMATTER_OUTPUT_ENCODING", + "default": "utf8", + "description": "POWERSHELL_POWERSHELL_FORMATTER: `-Encoding` to be used when writing content to the file", + "title": "POWERSHELL_POWERSHELL_FORMATTER: Output encoding type", + "type": "string" + }, "POWERSHELL_POWERSHELL_FORMATTER_POST_COMMANDS": { "$id": "#/properties/POWERSHELL_POWERSHELL_FORMATTER_POST_COMMANDS", "examples": [