Skip to content

Commit b21202c

Browse files
committed
"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
1 parent 1cda3b4 commit b21202c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# http://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
16+
[*.json]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[*.txt,wp-config-sample.php]
21+
end_of_line = crlf

0 commit comments

Comments
 (0)