From 89be1e15ac9fad9426386707b5440e9da1fbd3cc Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 6 Jun 2020 10:04:39 -0400 Subject: [PATCH] Add .editorconfig file EditorConfig is a universal editor configuration file supported by many IDEs and Editors (although some might require installing a plugin) to share consistent editor configuration with developers using different editors. Ref: https://editorconfig.org/ Change-Id: I59a4a57298e295dcfe7d21591a8c0fb501b0cef6 Signed-off-by: Thanh Ha --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e76a44e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space + +[*.json] +indent_size = 2 + +[*.rst] +indent_size = 4 + +[*.sh] +indent_size = 4 +max_line_length = 80 + +[*.yaml] +indent_size = 2 -- 2.16.6