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
This commit is contained in:
parent
1cda3b44cf
commit
b21202c457
21
.editorconfig
Normal file
21
.editorconfig
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user