Skip to content

chore(release): 0.4.0#9

Merged
HeyItsGilbert merged 1 commit intomainfrom
release/0.4.0
May 4, 2026
Merged

chore(release): 0.4.0#9
HeyItsGilbert merged 1 commit intomainfrom
release/0.4.0

Conversation

@HeyItsGilbert
Copy link
Copy Markdown
Owner

@HeyItsGilbert HeyItsGilbert commented May 4, 2026

[0.4.0] 2026-05-04

Added

  • Measure-GremlinCharacter: New rule to detect invisible or visually
    deceptive Unicode characters (gremlins) such as zero-width spaces,
    bidirectional overrides, and curly quotes. 19 characters flagged with
    per-character severity (Error, Warning, or Information).
    Inspired by vscode-gremlins.
  • Tests for Measure-GremlinCharacter with per-character -ForEach
    cases, a negative clean-code case, a fixture-based detection test,
    and a suppression test using SuppressMessageAttribute.
  • CLAUDE.md with project guidance for Claude Code.

Changed

  • Measure-TODOComment: Updated Token parameter type to Token[]
    to match how PSScriptAnalyzer invokes token-based rules; renamed
    $matches to $regexMatches to avoid collision with the automatic
    $Matches variable; normalized keyword casing to lowercase.
  • tests/PSScriptAnalyzerRules.psm1: Proxy module now loads explicitly
    from the Output\GoodEnoughRules build directory.

Test plan

  • .\build.ps1 -Task Test passes (96/98, 2 skipped are git-tag checks)
  • Review Measure-GremlinCharacter rule and docs
  • Confirm suppression via GoodEnoughRules\Measure-GremlinCharacter attribute name

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Test Results

  3 files   69 suites   3s ⏱️
 98 tests  96 ✅ 2 💤 0 ❌
297 runs  291 ✅ 6 💤 0 ❌

Results for commit 9874ac6.

@HeyItsGilbert HeyItsGilbert enabled auto-merge (rebase) May 4, 2026 22:22
@HeyItsGilbert HeyItsGilbert disabled auto-merge May 4, 2026 22:23
@HeyItsGilbert HeyItsGilbert merged commit 94f6cc1 into main May 4, 2026
6 checks passed
@HeyItsGilbert HeyItsGilbert deleted the release/0.4.0 branch May 4, 2026 22:23
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