Line | |
---|
1 | # EditorConfig is awesome: http://EditorConfig.org |
---|
2 | |
---|
3 | # Recommended for Dotclear developments and contribution |
---|
4 | # See https://dotclear.org/documentation/2.0/resources/coding-standards |
---|
5 | |
---|
6 | # Revisions |
---|
7 | # |
---|
8 | # 1. Franck: creation (2017-12-04) |
---|
9 | # 2. Franck: PSR-2 for PHP, add specific extension settings (2018-01-19) |
---|
10 | # 3. Franck: switch to 2 spaces by default, only *.php and *.md use 4 spaces (2018-01-24) |
---|
11 | |
---|
12 | # top-most EditorConfig file |
---|
13 | root = true |
---|
14 | |
---|
15 | # Unix-style newlines with a newline ending every file |
---|
16 | [*] |
---|
17 | end_of_line = lf |
---|
18 | insert_final_newline = true |
---|
19 | charset = utf-8 |
---|
20 | indent_style = space |
---|
21 | indent_size = 2 |
---|
22 | trim_trailing_whitespace = true |
---|
23 | |
---|
24 | # PHP - PSR-2 |
---|
25 | [*.php] |
---|
26 | indent_style = space |
---|
27 | indent_size = 4 |
---|
28 | |
---|
29 | # Markdown |
---|
30 | [*.md] |
---|
31 | indent_style = space |
---|
32 | indent_size = 4 |
---|
33 | trim_trailing_whitespace = false |
---|
Note: See
TracBrowser
for help on using the repository browser.