Skip to content

Enforce repository line-ending policy - #8

Merged
Frank-Reichenbach merged 2 commits into
masterfrom
line-ending-policy
Aug 29, 2026
Merged

Frank-Reichenbach merged 2 commits into
masterfrom
line-ending-policy

Conversation

@Frank-Reichenbach

@Frank-Reichenbach Frank-Reichenbach commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • add Windows and Linux checks for the repository line-ending policy
  • restrict the CRLF policy to .ps1 files and document that scope for contributors
  • discover every production .ps1 file automatically for syntax and PSScriptAnalyzer validation

Validation

  • Invoke-Pester tests/static/ -CI with Pester 6.1.0
  • Invoke-Pester tests/unit/ -CI with Pester 6.1.0
  • bats tests/static/ tests/validation/ tests/unit/ in WSL

Add a Windows static test that validates tracked checkout line endings against .gitattributes and document the editor-side expectations in CONTRIBUTING.
@Frank-Reichenbach
Frank-Reichenbach merged commit 3f32502 into master Aug 29, 2026
3 checks passed
@Frank-Reichenbach
Frank-Reichenbach deleted the line-ending-policy branch August 29, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant