Script Analyzer test should make use of multiple custom rule paths #100
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
The PSSA test
source/Tests/QA/PSSAResource.common.Tests.ps1
currently ignores a repository's Script Analyzer file. I Script Analyzer file can be used to add additional custom rules that should only be run for the repository.Script Analyzer is run with a settings file like this.
But a better option would be to allow custom rule paths to be specified in the build configuration file
build.yml
under the keyDscTest:
together with an option to include additional rules (if the rules are not prefixed withMeasue-*
).The custom rule paths that is set must point to one or more module or module files. Since Script Analyzer must be called like this:
The text was updated successfully, but these errors were encountered: