Repository navigation
chore: store text files with LF line endings - #204
Conversation
Refs #203 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the line-ending normalization and .gitattributes changes.
No open issues 🎉
What changed in this PR
Standardizes line endings in the blog repository to support the shared lint workflow’s LF requirement and address #203. Files managed by the pending config-sync PR #198 remain untouched.
Changes:
- Converts nine existing files from CRLF to LF without changing their text.
- Adds
.gitattributesto default to LF, preserve CRLF checkouts for batch scripts, and exclude binary files from conversion.
| File | Description |
|---|---|
renovate.json5 |
Normalizes Renovate configuration to LF. |
LICENSE |
Normalizes license text to LF. |
cog.toml |
Normalizes release configuration to LF. |
cliff.toml |
Normalizes changelog configuration to LF. |
.vscode/settings.json |
Normalizes editor settings to LF. |
.vscode/extensions.json |
Normalizes extension recommendations to LF. |
.lefthook.toml |
Normalizes Git hook configuration to LF. |
.gitignore |
Normalizes ignore rules to LF. |
.gitattributes |
Defines line-ending defaults and binary exceptions. |
.devcontainer/devcontainer.json |
Normalizes development container configuration to LF. |
Review effort: Balanced
Description
Stores every text file with LF line endings, as the fleet-wide LF work (DevSecNinja/repo-steward#204) sets out, so the shared Lint workflow's new line-endings check passes.
Changes
.devcontainer/devcontainer.json.gitignore.lefthook.toml.vscode/extensions.json.vscode/settings.jsonLICENSEcliff.tomlcog.tomlrenovate.json5.gitattributesConverted files are byte-identical apart from
\r\n→\n. JSON, JSON5, TOML, YAML and Markdown parsers read both, so nothing behaves differently..gitattributesis DevSecNinja/.github's config-sync template (DevSecNinja/.github#579 and #584):* text=auto eol=lf, CRLF checkouts only for*.bat/*.cmd,binaryfor common binary types. Config-sync would add the same file once this repository's config-sync pin reaches the release that ships it; it never overwrites an existing one..editorconfig,.gitleaks.tomlanddprint.jsonare CRLF too, but the open config-sync PR #198 replaces them with the central LF copies, so this PR leaves them alone. No file overlaps #198.Rollback: close this PR, or revert its squash commit.
Closes #203
Summary by CodeRabbit