From e46dca59ff3d77e2594e4053e50992348fc3b269 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 6 May 2023 20:33:23 +0300 Subject: [PATCH] chore: Enforce LF (#459) --- .editorconfig | 5 +++-- .gitattributes | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index beebdabe..f97052ce 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,11 +3,12 @@ root = true [*] charset = utf-8 -indent_style = space +end_of_line = lf indent_size = 2 +indent_style = space insert_final_newline = true -trim_trailing_whitespace = true quote_type=single +trim_trailing_whitespace = true [*.md] max_line_length = off diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..205021e4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Enforce Unix newlines +* text=auto eol=lf