PSScriptAnalyzerSettings.psd1
|
@{ ExcludeRules = @( 'PSAvoidUsingWriteHost' # Private functions use underscore prefix (e.g. _Get-GistMapData) which triggers this 'PSUseApprovedVerbs' # Join-Path is commonly used with positional parameters throughout the codebase 'PSAvoidUsingPositionalParameters' # Files contain emoji characters (used in output) without BOM encoding 'PSUseBOMForUnicodeEncodedFile' # Get-EndjinGists intentionally uses a plural noun 'PSUseSingularNouns' # Completer catch blocks are intentionally empty (completers must never throw) 'PSAvoidUsingEmptyCatchBlock' # Completer script blocks have required parameters from the PS API that aren't all used 'PSReviewUnusedParameter' # OutputType is not always specified on internal/simple functions 'PSUseOutputTypeCorrectly' ) } |