-
Notifications
You must be signed in to change notification settings - Fork 393
[RULE] PSScriptAnalyzerSettingsSchema #1279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@bergmeister What do you recommend I should add, remove, and/or change in my proposed specification for the "PSScriptAnalyzerSettingSchema" rule? Thank you in advance! |
@travis-c-lagrone Do you see this as a part of the |
@JamesWTruher Well, in terms of validating the Possible ArchitecturesThe way I see it, there are three alternative ways of incorporating settings schema validation into PSScriptAnalyzer (listed in ascending order of both complexity and value):
1. A private method for
|
User Story
Specification Details
The static schema for an
Invoke-ScriptAnalyzer -Settings
hashtable is not formally documented in a rigorous format at present. However, the current implementation implicitly adheres to the following as expressed using JSON Schema (with the exception of case-sensitivity):The static schema of an
Invoke-ScriptAnalyzer -Settings
hashtable, as currently implemented and as expressed above (but with the addition of global case-insensitivity), shall serve as the specification for the proposed "PSScriptAnalyzerSettingsSchema" rule. Additional requirements are as follows:Invoke-ScriptAnalyzer
command.Invoke-ScriptAnalyzer
command in an appropriately modular fashion such that changes to the aforementioned schema's specification correspond one-to-one to changes in the source code.PSScriptAnalyzer Version
The latest version of PSScriptAnalyzer as of this writing is 1.18.1.
The text was updated successfully, but these errors were encountered: