From 8c9dfffc7da750fec5e314c5305536f7b00efbc6 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 08:35:23 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B3=D1=80=D0=B0=D0=BD=D0=B8=D1=87?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20PSScriptAnalyzer=20=D0=BE=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BA=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8644cdf..a3511cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,20 +40,8 @@ jobs: "windows/*.psm1", "windows/*.psd1" ) - $settings = @{ - Rules = @{ - PSAvoidUsingEmptyCatchBlock = @{ Enable = $false } - PSAvoidUsingWriteHost = @{ Enable = $false } - PSUseApprovedVerbs = @{ Enable = $false } - PSUseBOMForUnicodeEncodedFile = @{ Enable = $false } - PSUseDeclaredVarsMoreThanAssignments = @{ Enable = $false } - PSUseShouldProcessForStateChangingFunctions = @{ Enable = $false } - PSUseSingularNouns = @{ Enable = $false } - PSUseToExportFieldsInManifest = @{ Enable = $false } - } - } $issues = $targets | ForEach-Object { - Invoke-ScriptAnalyzer -Path $_ -Recurse -Severity Error,Warning -Settings $settings + Invoke-ScriptAnalyzer -Path $_ -Recurse -Severity Error } if ($issues) { $issues | Format-Table -AutoSize