diff mbox series

[kvm-unit-tests] add .editorconfig definition

Message ID 20200110151727.7920-1-alex.bennee@linaro.org (mailing list archive)
State New, archived
Headers show
Series [kvm-unit-tests] add .editorconfig definition | expand

Commit Message

Alex Bennée Jan. 10, 2020, 3:17 p.m. UTC
This is a editor agnostic configuration file to specify the
indentation style for the project. It is supported by both Emacs and
Vim as well as some other inconsequential editors.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .editorconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .editorconfig

Comments

Paolo Bonzini Jan. 18, 2020, 8:20 p.m. UTC | #1
On 10/01/20 16:17, Alex Bennée wrote:
> This is a editor agnostic configuration file to specify the
> indentation style for the project. It is supported by both Emacs and
> Vim as well as some other inconsequential editors.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .editorconfig | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 .editorconfig
> 
> diff --git a/.editorconfig b/.editorconfig
> new file mode 100644
> index 0000000..46d4ac6
> --- /dev/null
> +++ b/.editorconfig
> @@ -0,0 +1,15 @@
> +# EditorConfig is a file format and collection of text editor plugins
> +# for maintaining consistent coding styles between different editors
> +# and IDEs. Most popular editors support this either natively or via
> +# plugin.
> +#
> +# Check https://editorconfig.org for details.
> +
> +root = true
> +
> +[*]
> +end_of_line = lf
> +insert_final_newline = true
> +charset = utf-8
> +indent_style = tab
> +indent_size = 8
> 

Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..46d4ac6
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@ 
+# EditorConfig is a file format and collection of text editor plugins
+# for maintaining consistent coding styles between different editors
+# and IDEs. Most popular editors support this either natively or via
+# plugin.
+#
+# Check https://editorconfig.org for details.
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = tab
+indent_size = 8