2016-02-16 05:59:30 -08:00
|
|
|
# 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/
|
|
|
|
|
2023-05-27 17:41:49 +00:00
|
|
|
# From https://github.com/WordPress/wordpress-develop/blob/trunk/.editorconfig with a couple of additions.
|
|
|
|
|
2016-02-16 05:59:30 -08:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
indent_style = tab
|
|
|
|
|
2023-05-27 17:41:49 +00:00
|
|
|
[{*.yml,*.feature,.jshintrc,*.json}]
|
2016-02-16 05:59:30 -08:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2023-05-27 17:41:49 +00:00
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2016-02-16 05:59:30 -08:00
|
|
|
[{*.txt,wp-config-sample.php}]
|
|
|
|
end_of_line = crlf
|