From e0bffe9e2d9c61e10163554d35e2107a8f9100be Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 20 Sep 2019 01:10:45 -0700 Subject: [PATCH] Added editorconfig and gitattributes. --- examples/.editorconfig | 2 ++ examples/.gitattributes | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 examples/.editorconfig create mode 100644 examples/.gitattributes diff --git a/examples/.editorconfig b/examples/.editorconfig new file mode 100644 index 0000000..a6971e1 --- /dev/null +++ b/examples/.editorconfig @@ -0,0 +1,2 @@ +[*] +insert_final_newline=true diff --git a/examples/.gitattributes b/examples/.gitattributes new file mode 100644 index 0000000..6ec2ae2 --- /dev/null +++ b/examples/.gitattributes @@ -0,0 +1,5 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# batch files are specific to windows and always crlf +*.bat eol=crlf