A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(repo): match editorconfig to each formatter (#3324)
Hampus0febad324c9a
diff --git a/.editorconfig b/.editorconfigindex 87db35a6c..9d7fc7993 100644--- a/.editorconfig+++ b/.editorconfig@@ -9,6 +9,33 @@ max_line_length = 120indent_style = tabindent_size = 2+[*.rs]+indent_style = space+indent_size = 4+max_line_length = 100++[*.{erl,hrl,app.src,escript}]+indent_style = space+indent_size = 4+max_line_length = 96++[fluxer_gateway/{rebar.config,elvis.config,.erlfmt}]+indent_style = space+indent_size = 4+max_line_length = 96++[*.{c,h,py}]+indent_style = space+indent_size = 4++[fluxer_app/rust/libfluxwebp/**.{c,h}]+indent_style = space+indent_size = 2++[*.{md,mdx,proto,tpl}]+indent_style = space+indent_size = 2+[*.{yml,yaml,Dockerfile}]indent_style = spaceindent_size = 2diff --git a/fluxer_gateway/.erlfmt b/fluxer_gateway/.erlfmtindex 89f90c717..3cb13169f 100644--- a/fluxer_gateway/.erlfmt+++ b/fluxer_gateway/.erlfmt@@ -1,5 +1,13 @@% erlfmt configuration% Options here are used by editor integrations and the escript.% Rebar3 reads from rebar.config's {erlfmt, [...]} section.-{print_width, 100}.-{files, ["{src,include,test}/*.{hrl,erl,app.src}", "rebar.config"]}.+{print_width, 96}.+{files, [+ "src/**/*.erl",+ "src/*.app.src",+ "include/**/*.hrl",+ "test/**/*.erl",+ "elvis.config",+ "rebar.config",+ "rebar.config.script"+]}.