From c0a4757ed05e0e19e6586a1ebfd1759ade426745 Mon Sep 17 00:00:00 2001 From: Oliver Gerlich Date: Sun, 5 Dec 2021 13:36:57 +0100 Subject: [PATCH] add .editorconfig file, mainly to specify that tabs shall be used See https://editorconfig.org/ for details on the file format. --- .editorconfig | 13 +++++++++++++ README.md | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..00137d7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# this is the top-most EditorConfig file +root = true + +[*] +# Unix-style newlines, with a newline ending the file +end_of_line = lf +insert_final_newline = true + +charset = utf-8 + +[*.zone] +indent_style = tab +indent_size = 8 diff --git a/README.md b/README.md index e5e422e..36268f5 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ If you make changes to any zone file, you must change the `Serial` value (at the top of the file) to a higher value, so that the changes will actually be used. Use the current date followed followed by `01` (or a higher number) as the new serial number. +Also, please use tabs (instead of spaces) for consistent formatting. + ## Applying Changes To actually activate any changes, someone with admin access needs to * make sure the changes are contained in the "dns" repository on the internal Git server