From 808b8d7170da9e31a871c8b418630a14bda180df Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Sat, 20 Jul 2024 10:37:22 +1000 Subject: [PATCH] add verify settings to gitattributes and editorconfig --- .editorconfig | 12 ++++++++++++ .gitattributes | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/.editorconfig b/.editorconfig index 7b96363f113e..c9f029221914 100644 --- a/.editorconfig +++ b/.editorconfig @@ -664,3 +664,15 @@ ij_java_while_on_new_line = false ij_java_wrap_comments = true ij_java_wrap_first_method_in_call_chain = false ij_java_wrap_long_lines = false + + + +# Verify settings +[*.{received,verified}.{txt,xml,json}] +charset = "utf-8-bom" +end_of_line = lf +indent_size = unset +indent_style = unset +insert_final_newline = false +tab_width = unset +trim_trailing_whitespace = false \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index b5845d1480b2..93180b467481 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,8 @@ # Bash scripts *.sh text eol=lf *.cmd text eol=crlf + +# Verify +*.verified.txt text eol=lf working-tree-encoding=UTF-8 +*.verified.xml text eol=lf working-tree-encoding=UTF-8 +*.verified.json text eol=lf working-tree-encoding=UTF-8 \ No newline at end of file