From b6769c92f5135091cb5807f8cf82681d7640d40e Mon Sep 17 00:00:00 2001 From: "Yuting Chen[MSFT]" Date: Tue, 3 May 2016 11:30:17 -0700 Subject: [PATCH 1/4] Create PSGalleryRuleProfile I've combined the rules sets already in the repo and exclude the script style profile. --- Engine/Settings/PSGalleryRuleProfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Engine/Settings/PSGalleryRuleProfile diff --git a/Engine/Settings/PSGalleryRuleProfile b/Engine/Settings/PSGalleryRuleProfile new file mode 100644 index 000000000..8064ba84e --- /dev/null +++ b/Engine/Settings/PSGalleryRuleProfile @@ -0,0 +1,27 @@ +@{ + IncludeRules=@('PSUseApprovedVerbs', + 'PSReservedCmdletChar', + 'PSReservedParams', + 'PSShouldProcess', + 'PSUseShouldProcessForStateChangingFunctions', + 'PSUseSingularNouns', + 'PSMissingModuleManifestField', + 'PSAvoidDefaultValueSwitchParameter', + 'PSAvoidUsingCmdletAliases', + 'PSAvoidUsingWMICmdlet', + 'PSAvoidUsingEmptyCatchBlock', + 'PSUseCmdletCorrectly', + 'PSUseShouldProcessForStateChangingFunctions', + 'PSAvoidUsingPositionalParameters', + 'PSAvoidGlobalVars', + 'PSUseDeclaredVarsMoreThanAssignments', + 'PSAvoidUsingInvokeExpression', + 'PSAvoidUsingPlainTextForPassword', + 'PSAvoidUsingComputerNameHardcoded', + 'PSAvoidUsingConvertToSecureStringWithPlainText', + 'PSUsePSCredentialType', + 'PSAvoidUsingUserNameAndPasswordParams', + 'PSAvoidUsingFilePath', + 'PSDSC*' + ) +} From 3aa10062b7809118a2e4f31b5b646bfa37b64099 Mon Sep 17 00:00:00 2001 From: "Yuting Chen[MSFT]" Date: Tue, 3 May 2016 11:31:11 -0700 Subject: [PATCH 2/4] Rename PSGalleryRuleProfile to PSGalleryRuleProfile.psd1 --- .../Settings/{PSGalleryRuleProfile => PSGalleryRuleProfile.psd1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Engine/Settings/{PSGalleryRuleProfile => PSGalleryRuleProfile.psd1} (100%) diff --git a/Engine/Settings/PSGalleryRuleProfile b/Engine/Settings/PSGalleryRuleProfile.psd1 similarity index 100% rename from Engine/Settings/PSGalleryRuleProfile rename to Engine/Settings/PSGalleryRuleProfile.psd1 From d28bfdc050bcab5bad6c0c0d5704d1f73227d5f4 Mon Sep 17 00:00:00 2001 From: "Yuting Chen[MSFT]" Date: Tue, 3 May 2016 11:57:45 -0700 Subject: [PATCH 3/4] Rename PSGalleryRuleProfile.psd1 to PSGallerySettings.psd1 --- .../{PSGalleryRuleProfile.psd1 => PSGallerySettings.psd1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Engine/Settings/{PSGalleryRuleProfile.psd1 => PSGallerySettings.psd1} (100%) diff --git a/Engine/Settings/PSGalleryRuleProfile.psd1 b/Engine/Settings/PSGallerySettings.psd1 similarity index 100% rename from Engine/Settings/PSGalleryRuleProfile.psd1 rename to Engine/Settings/PSGallerySettings.psd1 From 3bb52fce8eac8b0af363fc9f3c73b910755baae6 Mon Sep 17 00:00:00 2001 From: "Yuting Chen[MSFT]" Date: Wed, 15 Jun 2016 17:52:07 -0700 Subject: [PATCH 4/4] Rename PSGallerySettings.psd1 to PSGallery.psd1 --- Engine/Settings/{PSGallerySettings.psd1 => PSGallery.psd1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Engine/Settings/{PSGallerySettings.psd1 => PSGallery.psd1} (100%) diff --git a/Engine/Settings/PSGallerySettings.psd1 b/Engine/Settings/PSGallery.psd1 similarity index 100% rename from Engine/Settings/PSGallerySettings.psd1 rename to Engine/Settings/PSGallery.psd1