From: Thanh Ha Date: Sat, 6 Jun 2020 14:04:39 +0000 (-0400) Subject: Add .editorconfig file X-Git-Tag: v0.5.2~2^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=89be1e15ac9fad9426386707b5440e9da1fbd3cc;p=releng%2Fcommon-packer.git 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 --- 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