From 432a371c0b3d9860f51684b727d42ceba7b6f8aa Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Thu, 1 Aug 2024 12:30:24 -0400 Subject: [PATCH] Add basic EditorConfig file for repo (#13444) --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..5ea803f72b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# See https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties +# for all available properties. + +# Top-most EditorConfig file for the firebase-ios-sdk repo. +root = true + +# Defaults for all files +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# ObjC and Swift files +# See https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes#New-Features-in-Xcode-16-Beta +# for the subset of properties supported by Xcode. +[*.{h,m,mm,swift}] +indent_style = space +indent_size = 2 +max_line_length = 100