From 8ad359627f37ba957be33370bbf6a775eb0a78a5 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 15 Dec 2015 19:12:46 +0000 Subject: [PATCH] Merged in [10551] and [10553] from lars@netapp.com: Add an .editorconfig file, so we can have some consistency in the project. (I don't care what settings we use, as long as we all use the same.) Use four spaces as default (Python default, as suggested by Henrik). - Legacy-Id: 10595 Note: SVN reference [10551] has been migrated to Git commit 769d443581a3dadd5d2aee4e179251d7288bb645 Note: SVN reference [10553] has been migrated to Git commit 82ad203627a0d63dae7181df0a0921d75f3c781e --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..63bf7a66d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +# Settings for IETF datatracker + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +# to avoid tripping Henrik's commit hook: +trim_trailing_whitespace = false +insert_final_newline = false