diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..19bc9cc --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# Copyright DB Netz AG and contributors +# SPDX-License-Identifier: Apache-2.0 + +# Editor configuration, see http://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf # lf = \n, crlf = \r\n +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +# no whitespace trimming in Markdown +[*.md] +max_line_length = 0 +trim_trailing_whitespace = false + +# windows shell scripts shall get the Carriage-Return-Line-Feed (\r\n) line ending +[{*.bat,*.cmd}] +end_of_line = crlf