From ef327aa748294486af9fb5db62b20dcb05ab3ee8 Mon Sep 17 00:00:00 2001 From: Ivan Vasilev Date: Thu, 3 Sep 2026 03:59:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BE=D1=80=D1=81=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=D1=8C=20LF=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=20.gitattributes:=20=D1=87=D0=B8=D0=BD=D0=B8=D1=82=20format:ch?= =?UTF-8?q?eck=20=D0=BD=D0=B0=20Windows-=D1=80=D0=B0=D0=BD=D0=BD=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 16 ++++++++-------- .gitattributes | 9 +++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index cf640d5..3dce414 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,9 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true trim_trailing_whitespace = true \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9752e56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Всегда LF в рабочей копии, независимо от ОС — иначе Windows-раннер CI +# чекаутит файлы в CRLF (core.autocrlf по умолчанию), а Prettier и +# .editorconfig ожидают LF, и format:check падает на каждом файле. +* text=auto eol=lf + +# Бинарники — без какой-либо конвертации построчных окончаний. +*.png binary +*.icns binary +*.ico binary