39 lines
865 B
INI
39 lines
865 B
INI
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
# Recommended for Dotclear developments and contribution
|
|
# See https://dotclear.org/documentation/2.0/resources/coding-standards
|
|
|
|
# Revisions
|
|
#
|
|
# 1. Franck: creation (2017-12-04)
|
|
# 2. Franck: PSR-2 for PHP, add specific extension settings (2018-01-19)
|
|
# 3. Franck: switch to 2 spaces by default, only *.php and *.md use 4 spaces (2018-01-24)
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|
|
|
|
# PHP - PSR-2
|
|
[*.php]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Markdown
|
|
[*.md]
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = false
|
|
|
|
# Makefile
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
trim_trailing_whitespace = false |