framework/extensions/lang-english/.editorconfig

25 lines
696 B
INI
Raw Normal View History

2015-10-19 16:30:16 +08:00
# EditorConfig makes it easy to maintain the correct coding style
# when switching between different text editors and projects.
# http://editorconfig.org/
2015-10-19 16:30:16 +08:00
# Top-most EditorConfig file. Do not search in parent directories.
root = true
2015-10-19 16:30:16 +08:00
# Set two space indentation, line endings to Unix (LF) with a final newline,
# default charset to UTF-8, and trim trailing whitespace in all files.
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2015-10-19 16:30:16 +08:00
# Set four space indentation in JSON and PHP files.
[*.{json,php}]
indent_size = 4
2015-10-19 16:30:16 +08:00
# Do not trim trailing whitespace in Markdown files.
[*.md]
trim_trailing_whitespace = false