-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
43 lines (34 loc) · 907 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# WordPress Coding Standards
# https://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
block_comment_start = /*
block_comment = *
block_comment_end = */
[{*.yml,*.neon}]
indent_style = space
indent_size = 2
[{composer.json,composer.lock,package.json}]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
[{wp-config-sample.php}]
end_of_line = crlf
[{LICENSE.txt,README.txt}]
indent_style = space
end_of_line = lf
[{/assets/build/**,/assets/src/block/*.json,/tests/_data/*.sql,/tests/_support/_generated/**}]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = space
indent_size = unset