Skip to content

fix(core): disable comment health for INI and C# Designer - #41

Merged
coldhighsun merged 1 commit into
mainfrom
fix/show-health-ini-csdesigner
Jul 31, 2026
Merged

fix(core): disable comment health for INI and C# Designer#41
coldhighsun merged 1 commit into
mainfrom
fix/show-health-ini-csdesigner

Conversation

@coldhighsun

Copy link
Copy Markdown
Owner

Summary

  • Set ShowHealth = false on the INI language entry, matching other data/config formats (YAML, JSON, TOML, XML) where comment-density analysis isn't meaningful.
  • Set ShowHealth = false on the C# Designer entry (*.designer.cs), since these files are auto-generated and rarely contain hand-written comments — mirrors the existing MSBuild script entry.

Test plan

  • dotnet build Sloc.slnx succeeds
  • dotnet test tests/Sloc.Core.Tests --filter "FullyQualifiedName~LanguageRegistry" passes (68/68)

INI is a data/config format like YAML/JSON/TOML/XML, and C# Designer
files are auto-generated with no hand-written comments, so
comment-density analysis is not meaningful for either.
@coldhighsun
coldhighsun merged commit a339251 into main Jul 31, 2026
6 checks passed
@coldhighsun
coldhighsun deleted the fix/show-health-ini-csdesigner branch July 31, 2026 10:06
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