forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
31 lines (26 loc) · 714 Bytes
/
.editorconfig
File metadata and controls
31 lines (26 loc) · 714 Bytes
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
# editorconfig.org
root = true
[*]
charset = utf-8
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 100
# Markdown syntax specifies that trailing whitespaces can be meaningful,
# so let’s not trim those. e.g. 2 trailing spaces = linebreak (<br />)
# See https://daringfireball.net/projects/markdown/syntax#p
[*.md]
trim_trailing_whitespace = false
# YAML forbids using tabs
# See https://yaml.org/faq.html
[*.{yml,yaml}]
indent_size = 2
indent_style = space
# Views have longer line length for now
[web/templates/**/*.php]
max_line_length = 200
# Modern PHP uses spaces for indentation
[web/src/**/*.php]
indent_size = 4
indent_style = space