Add .gitattributes so Windows checkouts get LF endings - #550
Merged
Conversation
With core.autocrlf=true (the Windows default), git hands the working tree CRLF, and eslint-config-google linebreak-style then reports an error on every single line - 2352 of them across the repo, i.e. lint is unusable on Windows. The repository content is already LF throughout, so this file changes checkout behaviour only and produces no content diff. * text=auto eol=lf checks out all text files with LF. Binary assets are pinned so they are never converted: png, wasm, ort, zip, xpi. Verified on Windows 11: a fresh clone with this file lints at 0 errors, where the same clone without it reports 2352.
Nawid3333
added a commit
to Nawid3333/FastStream
that referenced
this pull request
Sep 7, 2026
…point Phase 10 is no longer "not started": Andrews54757#548, Andrews54757#549, Andrews54757#550 and Andrews54757#551 are open upstream, with follow-up comments on Andrews54757#547 and Andrews54757#546. The unlisted AMO submission pipeline ran end to end on 2026-09-07 (local sign plus the publish-amo workflow). The baseline re-capture is also recorded as done - the workspace-level baseline now holds the modernised fork at cd728ab (852 files, spot-verified), with the original V1.3.77 upstream build archived separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With
core.autocrlf=true(the Windows default), a fresh clone gets CRLF in the working tree, andeslint-config-google'slinebreak-stylerule then reports an error on essentially every line — 2352 of them on this repo. That makes linting unusable on Windows, and it's invisible on Linux so it never showed up in your CI.The repository content is already LF throughout, so this file changes checkout behaviour only — it produces no content diff:
* text=auto eol=lfchecks out all text files with LF.png,wasm,ort,zip,xpi.Verified on Windows 11: a fresh clone with this file lints at 0 errors, where the same clone without it reports 2352
linebreak-styleerrors.Pairs with #548 — together they make a Windows checkout buildable and lintable.