Skip to content

Commit b6eec08

Browse files
committed
Update file(s) from wp-cli/.github
1 parent b9eb82d commit b6eec08

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.editorconfig

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# editorconfig.org
33

44
# WordPress Coding Standards
5-
# http://make.wordpress.org/core/handbook/coding-standards/
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
# From https://github.com/WordPress/wordpress-develop/blob/trunk/.editorconfig with a couple of additions.
68

79
root = true
810

@@ -12,12 +14,13 @@ end_of_line = lf
1214
insert_final_newline = true
1315
trim_trailing_whitespace = true
1416
indent_style = tab
15-
indent_size = 4
1617

17-
[*.{json,yml,feature}]
18+
[{*.yml,*.feature,.jshintrc,*.json}]
1819
indent_style = space
1920
indent_size = 2
2021

21-
[composer.json]
22-
indent_style = space
23-
indent_size = 4
22+
[*.md]
23+
trim_trailing_whitespace = false
24+
25+
[{*.txt,wp-config-sample.php}]
26+
end_of_line = crlf

0 commit comments

Comments
 (0)