From c016bbb209aac43a0ded10a66e18c932e29cc81b Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 17 Nov 2026 21:43:23 +0000 Subject: [PATCH] gitattributes: theme size files and token dumps keep LF on checkout --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 750e20ba7..84a24d225 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,8 @@ crates/dxf/tests/data/drawing_*.dxf -text # The generated components index is compared byte for byte with the generator's LF output (craft-ui test # components_index): a Windows checkout must not convert its line endings. docs/components-index.md text eol=lf + +# The built-in size files are compared byte for byte with the writer's LF output (craft-theme sizes_tests), and the +# token dumps with the dump writer's (craft-theme dumps test): a Windows checkout must not convert their line endings. +crates/theme/sizes/*.json text eol=lf +crates/theme/tests/dumps/** text eol=lf