mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1638] [MERGED] Enforce repository line endings #5170
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1638
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/normalize-line-endings📝 Commits (2)
23ae2c2chore: enforce repository line endings3f2e292fix: reject CRLF in LF-normalized worktrees📊 Changes
5 files changed (+84 additions, -1 deletions)
View changed files
➕
.editorconfig(+9 -0)➕
.gitattributes(+15 -0)📝
.github/workflows/ci.yml(+1 -0)📝
package.json(+2 -1)➕
scripts/check-line-endings.mjs(+57 -0)📄 Description
Linked issue
No linked issue; maintenance-only repository hygiene.
Why this change
core.autocrlfsetting.What changed
.gitattributeswith LF normalization by default, CRLF exemptions for.bat/.cmd, and binary file patterns..editorconfigso editors save normal source/config/docs files with LF.scripts/check-line-endings.mjsto inspect tracked files throughgit ls-files --eol.pnpm check:line-endingsintopnpm checkand the frontend CI job.Refactor impact
Primary owner:
Repository maintenance / CI tooling.
Impact areas reviewed:
endOfLine: "lf"setting.Boundary notes:
src/engine,src/features,src/shared/api, orsrc-tauribehavior changed.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm check:line-endingspassed: 1253 tracked files checked.pnpm exec prettier --check --ignore-unknown .editorconfig .gitattributes .github/workflows/ci.yml package.json scripts/check-line-endings.mjspassed.pnpm check:docspassed: 40 docs and repo guidance files checked.git diff origin/refactor...HEAD --checkpassed.eol=lffails with exit code 1 and names the offending file.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog file is present in this branch. This is repository hygiene / CI behavior, not user-facing app behavior.
UI evidence
Not applicable; no visible UI changes.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.