From c940b8a28f807d53ec613c620fefb63010bf60ac Mon Sep 17 00:00:00 2001 From: Donal Fellows Date: Fri, 7 May 2021 08:46:36 +0100 Subject: [PATCH] Create .editorconfig Apparently this lets us set the right tabs and stuff like that on a per-project basis --- .editorconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..a6768f2a3b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +# Copyright (c) 2021 The University of Manchester +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +root = True + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false