Skip to content

Commit f676021

Browse files
committed
Added .editorconfig for code style consistency.
1 parent d6fc81e commit f676021

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.editorconfig

+23
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+
# https://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+
tab_width = 4
17+
18+
[{.jshintrc,*.json,*.yml}]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[{*.txt,wp-config-sample.php}]
23+
end_of_line = crlf

build

0 commit comments

Comments
 (0)