From: Rigel Kent Date: Thu, 29 Mar 2018 09:07:51 +0000 (+0200) Subject: add .editorconfig to maintain consistent coding styles (#429) X-Git-Tag: v1.0.0-beta.3~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=09e10ac0c99c66049a9ba07da59067baadf5112e;p=oweals%2Fpeertube.git add .editorconfig to maintain consistent coding styles (#429) Signed-off-by: Rigel Kent --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..b7d3033f3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org to setup your IDE if need be. + +root = true + +[*] +end_of_line = lf +charset = utf-8 + +[*.yml] +indent_style = space +indent_size = 2 + +[{client,server,shared}/**.{ts,json,js}] +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false