From 3165e521237c50e8053723639e2a74c8353f36e1 Mon Sep 17 00:00:00 2001 From: Jittapan Pluemsumran Date: Mon, 30 Jul 2018 15:27:33 +0700 Subject: [PATCH] Added .editorconfig file to force editor settings for certain file types (#3334) --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..69754d3221 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# rAthena EditorConfig file +# EditorConfig is awesome: https://EditorConfig.org +# This file should be encoded in UTF-8 with CRLF or LF line endings. + +root = true + +# Add a blank newline to the end of every file after saving +# Trim trailing whitespace +[*] +insert_final_newline = true +trim_trailing_whitespace = true + +# YAML does not support hard tabs. +[*.{yml,yaml}] +indent_style = space +indent_size = 4 + +# Use tabs in Makefiles +[Makefile*] +indent_style = tab + +# Scripts should use hard tabs to prevent script header goofs. +[npc/**.txt] +indent_style = tab