From: Francesco Chemolli Date: Sat, 4 Jul 2020 07:43:12 +0000 (+0000) Subject: Add editorconfig file (#591) X-Git-Tag: 4.15-20210522-snapshot~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9b04b35d75746c0720904741f7a34eea638f43b;p=thirdparty%2Fsquid.git Add editorconfig file (#591) --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..8e9e00ecf4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# https://editorconfig.org/ +# specification: https://editorconfig-specification.readthedocs.io/en/latest/ + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{c,h,hh,cc,cci}] +indent_style = space +indent_size = 4 + +[Makefile] +indent_style = tab + +[*.am] +indent_style = tab + +[*.{ac,m4}] +indent_style = space +indent_size = 2 + +[*.awk] +indent_style = space +indent_size = 4 + +[*.{pl,pl.in,pm}] +indent_style = space +indent_size = 4 + +# [*.data.pre] +# no clear convention here