Skip to content

Commit

Permalink
Enable Default PSSCript Rules (#492)
Browse files Browse the repository at this point in the history
- Changes to ActiveDirectoryDsc
  - Enable PSSCriptAnalyzer default rules (issue #491).
  • Loading branch information
SSvilen authored and johlju committed Aug 26, 2019
1 parent 5245839 commit 583704e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .vscode/analyzersettings.psd1
Expand Up @@ -4,9 +4,9 @@
cloned. It is automatically clone as soon as any unit or
integration tests are run.
#>
CustomRulePath = '.\DSCResource.Tests\DscResource.AnalyzerRules'
CustomRulePath = '.\DSCResource.Tests\DscResource.AnalyzerRules'

IncludeRules = @(
IncludeRules = @(
# DSC Resource Kit style guideline rules.
'PSAvoidDefaultValueForMandatoryParameter',
'PSAvoidDefaultValueSwitchParameter',
Expand Down Expand Up @@ -50,4 +50,6 @@
#>
'Measure-*'
)

IncludeDefaultRules = $true
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -22,6 +22,7 @@
in the `Tests/Unit/Stubs` folder ([issue #245](https://github.com/PowerShell/ActiveDirectoryDsc/issues/245)).
- Update all unit tests removing all local stub functions in favor of
the new stub modules.
- Enable PSSCriptAnalyzer default rules ([issue #491](https://github.com/PowerShell/ActiveDirectoryDsc/issues/491)).
- Changes to ActiveDirectoryDsc.Common
- Updated common helper function `Find-DomainController` with the
optional parameter `WaitForValidCredentials` which will ignore
Expand Down

0 comments on commit 583704e

Please sign in to comment.