From a73db2fd6ffb8c25c7744c33face21765b7ac01c Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 5 May 2020 08:24:39 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Add=20editorconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4943dc5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,39 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.yml] +indent_size = 2 + +# Use 2 spaces for Ruby files +[{Podfile,Rakefile,*.{rb,podspec}}] +indent_size = 2 +indent_style = space +max_line_length = 80 + +[*.yml] +indent_size = 2 + +# Use tabs for property lists +[*.plist] +indent_style = tab + +# JSON files contain newlines inconsistently +[*.json] +insert_final_newline = ignore + +# Makefiles always use tabs for indentation +[Makefile] +indent_style = tab + +# Trailing spaces have meaning in Markdown +[*.md] +trim_trailing_whitespace = false +