You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented the PSScriptAnalyzer settings / config file
Implemented Github pre-commit hook
Updated Confluence page with appropriate documentation for each developer to setup pre-commit hooks and VSCode extension that refernces the PSScriptAnalyzer settings file
Both pre-commit hook and workflow references same PSSA config file. Need to modify ole validate.yml to no longer call PSSA in the PSScriptAnalyzer.Tests.ps1 file and then remove that file.
PSSA config file moved to Hawk/internal/configurations. Both pre-commit hook / workflow is working and ticket tasks are complete. However, the RobustCloudCommand error is now showing back up and needs to be fixed. To allow for pushing to the repo the module build in vsts-prequisites.ps1 is currently commented out to avoid the RobustCloudCommand failure.
Current recommended appraoch is to download the RobustCloudCommand from its GitHub repo and then include it in a Hawk folder Hawk/external, and have the Hawk.psd1 reference that file instead of the external no longer existing module in the PowerShell gallery.
What problem would this feature solve?
Currently, PSScriptAnalyzer in Hawk:
This means:
Proposed Solution
Implement a dual-validation approach that runs PSScriptAnalyzer:
Both using the same standardized settings file to ensure consistency.
Technical Requirements
Settings File Requirements
Test Suite Updates
Pre-commit Hook Requirements
Documentation Requirements
Implementation Approach
Implementation Steps
Acceptance Criteria
Acceptance Criteria
The text was updated successfully, but these errors were encountered: