From ded1d9631fb8d34ff74c82fee98fe828b9d23251 Mon Sep 17 00:00:00 2001 From: Varun Sridharan Date: Wed, 22 May 2019 09:55:18 +0530 Subject: [PATCH] Create .editorconfig --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4ebf222 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# WordPress Coding Standards +# https://make.wordpress.org/core/handbook/coding-standards/ + +root = true + +[*] +charset = utf-8 +end_of_line = crlf +indent_size = 4 +tab_width = 4 +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +[*.txt] +trim_trailing_whitespace = false + +[*.{md, json, yml}] +trim_trailing_whitespace = false +indent_style = space +indent_size = 2