Skip to content

Assert the editorconfig global end_of_line default in recurring.eol - #233

Merged
ptr727 merged 1 commit into
developfrom
feature/spec-editorconfig-global-eol-check
Jul 5, 2026
Merged

Assert the editorconfig global end_of_line default in recurring.eol#233
ptr727 merged 1 commit into
developfrom
feature/spec-editorconfig-global-eol-check

Conversation

@ptr727

@ptr727 ptr727 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Makes the recurring .editorconfig global-default drift machine-checkable (AUDIT.md s9). The recurring.eol check now requires a global [*] end_of_line = crlf default plus the LF pins; the older per-extension-only form (which real files still satisfy via .gitattributes) is now a flagged drift.

Both audited repos (Utilities #231, PlexCleaner #232) show this drift; encoding it in the spec means future audits catch it systematically rather than as a per-repo note. The template.s own .editorconfig already carries the global default (from #229).

Queued for the maintainer: whether to also directly fix the downstream repos. editorconfig (a cross-repo edit, vs the downstream-drives-application model).

🤖 Generated with Claude Code

The recurring.eol audit check now requires .editorconfig to carry a global [*] end_of_line = crlf default (plus the LF pins), flagging the older per-extension-only form as drift. Both audited repos (Utilities, PlexCleaner) show that drift; this makes it machine-checkable rather than a per-repo note (AUDIT.md s9).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 5, 2026 03:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the spec wording for the recurring.eol recurring-violations check so audits explicitly require .editorconfig to include a global [*] end_of_line = crlf default (in addition to the LF pins), making the previously observed drift (per-extension-only .editorconfig form) a consistent, spec-defined finding.

Changes:

  • Tighten the recurring.eol spec assertion to require a global [*] end_of_line = crlf default plus LF pins for execution-sensitive files.
  • Clarify that the per-extension-only .editorconfig form (without the global default) is considered drift, even if .gitattributes still enforces actual file EOLs.

@ptr727
ptr727 merged commit 9ded561 into develop Jul 5, 2026
7 checks passed
@ptr727
ptr727 deleted the feature/spec-editorconfig-global-eol-check branch July 5, 2026 03:47
ptr727 added a commit that referenced this pull request Jul 5, 2026
Fourth per-repo audit (docker+upstream-wrapper). ptr727/ESPHome-NonRoot main @ b44b1a6. Verdict: operational; no defects, 12 drift findings. Wrapper genuinely pinned (leaf consumes upstream-version.json). Strongest EOL case: 5 of 9 workflow YAML committed LF against the repo own .editorconfig - validates the #233 spec check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants