forked from dotclear/dotclear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
39 lines (32 loc) · 866 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
# 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