gaelcolas / gaelcolas/Sampler

Where is PSScriptAnalyzerSettings.psd1 supposed to be stored?

Open
#489 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
PowerShell
Stars
243
Forks
46
Avg merge
1h 41m
Merged PRs (30d)
1

Description

In the default `module.tests.ps1`, the ScriptAnalyzer rules are fetched using `$scriptAnalyzerRules = Get-ScriptAnalyzerRule`.

But where should I store the `PSScriptAnalyzerSettings.psd1` file, if I'd like to use different settings for different modules?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.