From 50eb8ade84a21e013a4b9156cd6fb56495f07303 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 23 Jan 2017 15:00:07 -0500 Subject: [PATCH] Add editorconfig and gitattributes See https://github.com/whatwg/meta/issues/7 --- .editorconfig | 16 ++++++++++++++++ .gitattributes | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..d61ded09 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_size = 1 +indent_style = space +trim_trailing_whitespace = true +max_line_length = 100 + +[Makefile] +indent_style = tab + +[.travis.yml] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..33497b41 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto eol=lf +*.bs diff=html linguist-language=HTML