Skip to content

Commit 0a2ba4a

Browse files
Add .editorconfig to enforce
1 parent 1266662 commit 0a2ba4a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
indent_size = 4
16+
17+
[*.{json,yml,feature}]
18+
indent_style = space
19+
indent_size = 2
20+
21+
[composer.json]
22+
indent_style = space
23+
indent_size = 4

0 commit comments

Comments
 (0)