From 5d05f877686b94f88c46be653bc138844141fbfb Mon Sep 17 00:00:00 2001 From: "M. George Hansen" Date: Sat, 2 Jan 2021 13:34:43 -0800 Subject: [PATCH] chore: ensure lf line-endings are used in repo --- .editorconfig | 1 + .gitattributes | 2 ++ .prettierrc | 3 +++ .travis.yml | 2 ++ LICENSE | 2 +- 5 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig index f9366fa..81eba8c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,3 +6,4 @@ indent_size = 4 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +end_of_line = lf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6c309eb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Ensure that git uses lf line-endings for text files. +* text=auto eol=lf diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..950d7f9 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,3 @@ +{ + "endOfLine": "lf" +} diff --git a/.travis.yml b/.travis.yml index d08fe46..7c5a818 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +git: + autocrlf: input language: node_js os: - linux diff --git a/LICENSE b/LICENSE index 14e2f77..a612ad9 100644 --- a/LICENSE +++ b/LICENSE @@ -35,7 +35,7 @@ Mozilla Public License Version 2.0 means any form of the work other than Source Code Form. 1.7. "Larger Work" - means a work that combines Covered Software with other material, in + means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software. 1.8. "License"