From b21202c457bb377671571c55b8495655ac9ac02f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 20 Feb 2014 02:35:38 +0000 Subject: [PATCH] Add .editorconfig file, see http://editorconfig.org/. "EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs." props jorbin, netweb. fixes #26429. git-svn-id: https://develop.svn.wordpress.org/trunk@27198 602fd350-edb4-49c9-b593-d223f7449a82 --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..4596314308 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# WordPress Coding Standards +# http://make.wordpress.org/core/handbook/coding-standards/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab + +[*.json] +indent_style = space +indent_size = 2 + +[*.txt,wp-config-sample.php] +end_of_line = crlf