Skip to content

Commit bc9a9eb

Browse files
author
Kapil Borle
authored
Merge pull request #517 from PowerShell/PSGalleryRuleProfile
Create settings file for PowerShellGallery
2 parents 5cc4a11 + 3bb52fc commit bc9a9eb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Engine/Settings/PSGallery.psd1

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@{
2+
IncludeRules=@('PSUseApprovedVerbs',
3+
'PSReservedCmdletChar',
4+
'PSReservedParams',
5+
'PSShouldProcess',
6+
'PSUseShouldProcessForStateChangingFunctions',
7+
'PSUseSingularNouns',
8+
'PSMissingModuleManifestField',
9+
'PSAvoidDefaultValueSwitchParameter',
10+
'PSAvoidUsingCmdletAliases',
11+
'PSAvoidUsingWMICmdlet',
12+
'PSAvoidUsingEmptyCatchBlock',
13+
'PSUseCmdletCorrectly',
14+
'PSUseShouldProcessForStateChangingFunctions',
15+
'PSAvoidUsingPositionalParameters',
16+
'PSAvoidGlobalVars',
17+
'PSUseDeclaredVarsMoreThanAssignments',
18+
'PSAvoidUsingInvokeExpression',
19+
'PSAvoidUsingPlainTextForPassword',
20+
'PSAvoidUsingComputerNameHardcoded',
21+
'PSAvoidUsingConvertToSecureStringWithPlainText',
22+
'PSUsePSCredentialType',
23+
'PSAvoidUsingUserNameAndPasswordParams',
24+
'PSAvoidUsingFilePath',
25+
'PSDSC*'
26+
)
27+
}

0 commit comments

Comments
 (0)