Wordpress/.editorconfig
Andrew Nacin b21202c457 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
2014-02-20 02:35:38 +00:00

22 lines
411 B
INI

# 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